|
@@ -50,9 +50,11 @@
|
|
|
|
|
|
<view class="goodsInfo-count">
|
|
|
<view class="goods-price">
|
|
|
- <text class="before">共{{ goodsInfo.goodsList.length }}件,共减</text>
|
|
|
- <text class="stuff red">¥</text>
|
|
|
- <text class="priceZ">{{ goodsInfo.discountIntegerPart }}.{{ goodsInfo.discountDecimalPart }}</text>
|
|
|
+ <text class="before">共{{ goodsInfo.goodsList.length }}件 <block wx:if="{{ goodsInfo.allDiscountPrice >0 }}">,共减</block></text>
|
|
|
+ <block wx:if="{{ goodsInfo.allDiscountPrice >0 }}">
|
|
|
+ <text class="stuff red">¥</text>
|
|
|
+ <text class="priceZ">{{ goodsInfo.discountIntegerPart }}.{{ goodsInfo.discountDecimalPart }}</text>
|
|
|
+ </block>
|
|
|
<!-- <text class="priceF">.{{ goodsInfo.decimalPart }}</text> -->
|
|
|
<text class="afterTxt">应付:</text>
|
|
|
<text class="stuff">¥</text>
|
|
@@ -88,7 +90,7 @@
|
|
|
<text class="priceF">.{{ goodsInfo.decimalPart }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="discountPrice">共减<text>¥{{ goodsInfo.allDiscountPrice }}</text></view>
|
|
|
+ <view class="discountPrice" wx:if="{{ goodsInfo.allDiscountPrice > 0 }}">共减<text>¥{{ goodsInfo.allDiscountPrice }}</text></view>
|
|
|
</view>
|
|
|
<button type="primary" bind:tap="onSubmit">{{ goodsInfo.orderNo ? '继续支付' : '立即支付' }}</button>
|
|
|
</view>
|