!113 【优化】当原价高于售价时,才显示划线价格

Merge pull request !113 from 杨宇庆/N/A
This commit is contained in:
芋道源码
2024-10-27 08:34:33 +00:00
committed by Gitee

View File

@@ -85,7 +85,7 @@
<view class="price-text ss-m-r-16">
{{ fen2yuan(state.selectedSku.price || state.goodsInfo.price) }}
</view>
<view class="origin-price-text" v-if="state.goodsInfo.marketPrice > 0">
<view class="origin-price-text" v-if="state.goodsInfo.marketPrice > state.goodsInfo.price">
{{ fen2yuan(state.selectedSku.marketPrice || state.goodsInfo.marketPrice) }}
</view>
</view>