|
@@ -33,10 +33,10 @@
|
|
|
<view class="coupon-left flex-row">
|
|
|
<!-- 代金券 -->
|
|
|
<view class="coupon-left-symbol" wx:if="{{item.coupon.couponType == 'C'}}">¥</view>
|
|
|
- <view class="coupon-left-num" wx:if="{{item.coupon.couponType == 'C'}}">{{item.coupon.formatReduceCost ?item.coupon.formatReduceCost:0}}</view>
|
|
|
+ <view class="{{item.coupon.formatReduceCost.length > 3 ?'coupon-left-numSmall':'coupon-left-num'}}" wx:if="{{item.coupon.couponType == 'C'}}">{{item.coupon.formatReduceCost ?item.coupon.formatReduceCost:0}}</view>
|
|
|
<!-- 折扣券 -->
|
|
|
- <view class="coupon-left-num" wx:if="{{item.coupon.couponType == 'D'}}">{{item.coupon.formatDiscount ?item.coupon.formatDiscount:0}}</view>
|
|
|
- <view class="coupon-left-symbol" wx:if="{{tem.coupon.couponType == 'D'}}">折</view>
|
|
|
+ <view class="{{item.coupon.formatDiscount.length > 3 ?'coupon-left-numSmall':'coupon-left-num'}}" wx:if="{{item.coupon.couponType == 'D'}}">{{item.coupon.formatDiscount ?item.coupon.formatDiscount:0}}</view>
|
|
|
+ <view class="coupon-left-symbol" wx:if="{{item.coupon.couponType == 'D'}}" style="font-size: 16px;">折</view>
|
|
|
</view>
|
|
|
<view class="coupon-center flex-column">
|
|
|
<view class="coupon-center-upper">{{item.coupon.couponTitle}}</view>
|