From 17c24b98b2d00485dbf407a87bd60a287c1e9897 Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Fri, 21 Feb 2025 19:58:17 +0330 Subject: [PATCH] Updated --- .../components/global/product-detail/ProductsSlider.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/components/global/product-detail/ProductsSlider.vue b/frontend/components/global/product-detail/ProductsSlider.vue index 6599e64..dea310e 100644 --- a/frontend/components/global/product-detail/ProductsSlider.vue +++ b/frontend/components/global/product-detail/ProductsSlider.vue @@ -91,9 +91,9 @@ const onSwiper = (swiper: SwiperClass) => { :id="product.id" brand="برند محصول" :title="product.name" - :picture="product.image1" - :colors="['white', 'black']" - :price="product.price" + :picture="product.variants[0].images[0].image" + :colors="product.variants.map(v => v.color)" + :price="product.variants[0].price" :rate="product.rating" :dark-layer="true" />