From 7823cac123c0e36cac0bfe0c908016f221c2e811 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Tue, 22 Apr 2025 21:48:32 +0330 Subject: [PATCH 1/5] changed detail to details in product variants --- .../components/global/product/Accordion.vue | 27 +++++++++---------- frontend/types/global.d.ts | 2 +- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/frontend/components/global/product/Accordion.vue b/frontend/components/global/product/Accordion.vue index 1ddbf6a..edf8e16 100644 --- a/frontend/components/global/product/Accordion.vue +++ b/frontend/components/global/product/Accordion.vue @@ -1,11 +1,9 @@ \ No newline at end of file + diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts index 1c1bfbe..27ec9c7 100644 --- a/frontend/types/global.d.ts +++ b/frontend/types/global.d.ts @@ -70,7 +70,7 @@ declare global { type ProductDetail = { id: number; - detail: ProductDetailItem[]; + details: ProductDetailItem[]; detail_category: number; }; From d4ab358571399088cf362a52aafeae9612561d5c Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Thu, 24 Apr 2025 14:34:32 +0330 Subject: [PATCH 2/5] Fix chat z index --- .../product/ChatBox/ChatBoxContainer.vue | 27 ++++++++++++++----- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/frontend/components/product/ChatBox/ChatBoxContainer.vue b/frontend/components/product/ChatBox/ChatBoxContainer.vue index 4c43034..c13bc16 100644 --- a/frontend/components/product/ChatBox/ChatBoxContainer.vue +++ b/frontend/components/product/ChatBox/ChatBoxContainer.vue @@ -10,7 +10,7 @@ import { useAuth } from "~/composables/api/auth/useAuth"; // provide-inject -const { isOpen } = inject("isOpen") as any; +const { isOpen, closeChat } = inject("isOpen") as any; // state @@ -128,7 +128,7 @@ whenever(
@@ -185,7 +185,7 @@ whenever( class="w-full h-full flex items-center justify-center absolute inset-0" > @@ -197,7 +197,7 @@ whenever( v-else > @@ -207,9 +207,22 @@ whenever( من میتونم هر سوالی رو درمورد این محصول جواب بدم اگه میخوای شروع کنیم روی دکمه زیر کلیک کن

- - - +
+ + + + +
From 38f6c759e78e9a4bb3f086db1bb2cbe353a10b2e Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Thu, 24 Apr 2025 14:41:35 +0330 Subject: [PATCH 3/5] Updated --- .../global/product-detail/Slider.vue | 187 +++++++++--------- 1 file changed, 96 insertions(+), 91 deletions(-) diff --git a/frontend/components/global/product-detail/Slider.vue b/frontend/components/global/product-detail/Slider.vue index b033fa7..4613d11 100644 --- a/frontend/components/global/product-detail/Slider.vue +++ b/frontend/components/global/product-detail/Slider.vue @@ -45,106 +45,111 @@ const emptySlidesCount = computed(() => { const changeSlide = (id: number) => { emit("update:selectedSlide", id); }; - From b52d8a5c23362b42ad26e5436d3bf6608e45fde8 Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Thu, 24 Apr 2025 14:41:42 +0330 Subject: [PATCH 4/5] Add link to title --- frontend/components/home/Hero.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/components/home/Hero.vue b/frontend/components/home/Hero.vue index 24b10c7..0eedd68 100644 --- a/frontend/components/home/Hero.vue +++ b/frontend/components/home/Hero.vue @@ -242,9 +242,9 @@ onUnmounted(() => { /> -

+ {{ slide.title }} -

+
From d4cf605cb072fc95f30192147a08d81ffa846be9 Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Thu, 24 Apr 2025 14:50:00 +0330 Subject: [PATCH 5/5] Updated --- frontend/components/home/Categories.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/home/Categories.vue b/frontend/components/home/Categories.vue index 24d5c33..72d6419 100644 --- a/frontend/components/home/Categories.vue +++ b/frontend/components/home/Categories.vue @@ -28,7 +28,7 @@ const onSwiper = (swiper: SwiperClass) => {