fix: 🐛 修复商品列表有促销活动不显示Bug

This commit is contained in:
学习很差啦
2023-01-19 15:59:10 +08:00
parent 2e37cb8158
commit 43fc159e27
5 changed files with 11 additions and 4 deletions

View File

@@ -24,6 +24,10 @@
$options.filters.goodsFormatPrice(item.purchasePrice )[1]
}}
</div>
<!-- 兜底策略如果金额是0 -->
<div class="price" v-if="!item.price">
¥<span>0 </span>.00
</div>
</view>
<div>
<image class='buy' :src="buy"></image>