【优化】优化优惠券抵扣后商品金额为0的情况下,0数字未显示的问题。

This commit is contained in:
jianweie code
2023-03-28 00:33:53 +08:00
parent 60fe5680a1
commit 011a54cabc

View File

@@ -113,7 +113,7 @@
</view>
<view class="goods-price-view">
<view class="coreshop-flex coreshop-flex-direction-row">
<text class="coreshop-text-price coreshop-text-red coreshop-font-lg">{{ item.products.price || ''}}</text>
<text class="coreshop-text-price coreshop-text-red coreshop-font-lg">{{ item.products.price || '0'}}</text>
<view class="coreshop-flex coreshop-flex-direction-row coreshop-font-10 coreshop-align-center" v-if="pointSwitch==1 && pointExchangeModel==2 && pointShowExchangePrice==1 && item.products.pointsDeduction > 0 && orderType== $globalConstVars.paymentType.common">
<view>
{{ pointShowName}}兑换价: