Explorar o código

代金券大小动态调整

kk.shi %!s(int64=3) %!d(string=hai) anos
pai
achega
f2be4b4d07
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/luckDraw/profile.wxml

+ 1 - 1
pages/luckDraw/profile.wxml

@@ -30,7 +30,7 @@
             <view class="{{item.formatDiscoun.length > 3?'luck-draw-zkz5c':'luck-draw-zkz5'}}" wx:if="{{item.couponType == 'D'}}">折</view>
 
             <view class="luck-draw-djz4" wx:if="{{item.couponType == 'C'}}">¥</view>
-            <view class="luck-draw-djz5" wx:if="{{item.couponType == 'C'}}">{{item.formatReduceCost ?item.formatReduceCost:0}}</view>
+            <view class="{{item.formatReduceCost.length > 3 ?'luck-draw-djz5c':'luck-draw-djz5'}}" wx:if="{{item.couponType == 'C'}}">{{item.formatReduceCost ?item.formatReduceCost:0}}</view>
           </view>
           <view class="luck-draw-discount2">
             <view class="luck-draw-zkz1">{{item.goodsName}}</view>