Update comment flow

This commit is contained in:
marzban-dev
2026-05-14 21:18:44 +03:30
parent b57d58aa92
commit 6796213ccf
9 changed files with 168 additions and 30 deletions
@@ -61,7 +61,7 @@ watch(
},
{
immediate: true,
}
},
);
watch(
@@ -72,7 +72,7 @@ watch(
},
{
immediate: true,
}
},
);
</script>
@@ -136,7 +136,7 @@ watch(
<span class="max-sm:hidden"> تخفیف درصد </span>
</div>
</div>
<Rating :rate="3" />
<Rating :rate="product!.rating" />
</div>
</div>
<Slider
@@ -238,7 +238,7 @@ watch(
<div class="flex items-center gap-6 flex-wrap">
<ProductVariant
@click="selectedVariantId = variant.id"
v-for="variant in product!.variants.filter(p => p.color === selectedColor)"
v-for="variant in product!.variants.filter((p) => p.color === selectedColor)"
:key="variant.id"
:variantDetail="variant"
:isSelected="selectedVariantId === variant.id"