added discount code in cart layout
This commit is contained in:
@@ -95,6 +95,22 @@ const nextPage = computed(() => route.meta.nextPage);
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<label
|
||||||
|
v-if="route.name == 'cart-checkout'"
|
||||||
|
class="flex items-center w-full group gap-2 p-3 my-5 text-sm transition-all border text-gray-600 focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-cyan-500 bg-gray-50 border-gray-200 rounded-100"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
placeholder="کد تخفیف"
|
||||||
|
class="w-full border-none focus:border-none focus:outline-none placeholder:text-gray-600 h-[22px]"
|
||||||
|
/>
|
||||||
|
<button
|
||||||
|
class="ring ring-offset-[-4px] active:ring-offset-2 transition-all duration-75 font-bold text-cyan-500 rounded-50"
|
||||||
|
>
|
||||||
|
ثبت
|
||||||
|
</button>
|
||||||
|
</label>
|
||||||
|
|
||||||
<NuxtLink :to="{ name: nextPage.name }">
|
<NuxtLink :to="{ name: nextPage.name }">
|
||||||
<Button
|
<Button
|
||||||
start-icon="bi:arrow-right"
|
start-icon="bi:arrow-right"
|
||||||
|
|||||||
Reference in New Issue
Block a user