added delete cart item

This commit is contained in:
Mamalizz
2025-03-13 02:37:25 +03:30
parent 6a718562ee
commit d511175457
+3 -3
View File
@@ -3,7 +3,7 @@
import { useImage } from "@vueuse/core";
import { useToast } from "~/composables/global/useToast";
import useDeleteCartItem from "~/composables/api/orders/useDeleteCartAll";
import useDeleteCartItem from "~/composables/api/orders/useDeleteCartItem";
import { QUERY_KEYS } from "~/constants";
import useAddCartItem from "~/composables/api/orders/useAddCartItem";
@@ -151,7 +151,7 @@ watch(
v-if="data.product.discount > 0"
class="text-white bg-blue-500 px-4 py-2 text-xs rounded-full flex items-center gap-1"
>
<Icon name="material-symbols:percent" class="size-4" />
<Icon name="bi:percent" class="size-4" />
{{ data.product.discount }}
% تخفیف
</div>
@@ -183,7 +183,7 @@ watch(
</div>
<div
class="items-center justify-between hidden w-full lg:flex -mt-3"
class="items-center justify-between hidden w-full lg:flex -mt-1"
>
<div class="flex items-center">
<button