浏览代码

بهبود نمایش قیمت در بخش فروشگاه

hgh 2 年之前
父节点
当前提交
9b5751c392
共有 1 个文件被更改,包括 2 次插入 和 1 次删除
  1. 2 1
      src/components/Widgets/Store/Shop/components/productItem.vue

+ 2 - 1
src/components/Widgets/Store/Shop/components/productItem.vue

@@ -26,7 +26,8 @@
       {{ product.title }}
     </div>
     <div class="product-item__price">
-      <div class="product-item__price-base">
+      <div v-if="product.unit_price != product.sellable_price"
+           class="product-item__price-base">
         {{ parseInt(product.unit_price).toLocaleString('fa') }}
         تومان
       </div>