|
@@ -11,8 +11,14 @@
|
|
<text class="_unit">元</text>
|
|
<text class="_unit">元</text>
|
|
</block>
|
|
</block>
|
|
<block wx:elif="{{item.type.value == 'D'}}">
|
|
<block wx:elif="{{item.type.value == 'D'}}">
|
|
- <text>{{nums.formatDiscount(item)}}</text>
|
|
|
|
- <text class="_unit">折</text>
|
|
|
|
|
|
+ <block wx:if="{{nums.formatDiscount(item) == 0}}">
|
|
|
|
+ <text style="font-size: 48rpx;">兑换券</text>
|
|
|
|
+ <text class="_unit"></text>
|
|
|
|
+ </block>
|
|
|
|
+ <block wx:else>
|
|
|
|
+ <text>{{nums.formatDiscount(item)}}</text>
|
|
|
|
+ <text class="_unit">折</text>
|
|
|
|
+ </block>
|
|
</block>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
<view class="coupon-condition">{{nums.formatLeastCost(item)}}</view>
|
|
<view class="coupon-condition">{{nums.formatLeastCost(item)}}</view>
|