Sfoglia il codice sorgente

优惠券布局调整

kk.shi 3 anni fa
parent
commit
d48666ad4a
2 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  1. 4 2
      pages/luckDraw/profile.wxml
  2. 1 1
      pages/luckDraw/profile.wxss

+ 4 - 2
pages/luckDraw/profile.wxml

@@ -33,7 +33,8 @@
             <view class="luck-draw-zkz1">{{item.goodsName}}</view>
            <view class="luck-draw-mj">
             <view class="luck-draw-zkz21"></view>
-            <view class="luck-draw-zkz2">{{item.couponTitle}}</view>
+            <view class="luck-draw-zkz2" wx:if="{{item.formatLeastCost == '0'}}">无门槛</view>
+            <view class="luck-draw-zkz2" wx:if="{{item.formatLeastCost != '0'}}">满{{item.formatLeastCost}}使用</view>
             <view class="luck-draw-zkz22"></view>
            </view>
             <view class="luck-draw-zkz3">{{item.couponBeginTimestamp}}-{{item.couponEndTimestamp}}</view>
@@ -67,7 +68,8 @@
             <view class="luck-draw-zkz1">{{item.goodsName}}</view>
            <view class="luck-draw-mj">
             <view class="luck-draw-zkz21"></view>
-            <view class="luck-draw-zkz2">{{item.couponTitle}}</view>
+            <view class="luck-draw-zkz2" wx:if="{{item.formatLeastCost == '0'}}">无门槛</view>
+            <view class="luck-draw-zkz2" wx:if="{{item.formatLeastCost != '0'}}">满{{item.formatLeastCost}}使用</view>
             <view class="luck-draw-zkz22"></view>
            </view>
             <view class="luck-draw-zkz3">{{item.couponBeginTimestamp ?item.couponBeginTimestamp:0}}-{{item.couponEndTimestamp ?item.couponEndTimestamp:0}}</view>

+ 1 - 1
pages/luckDraw/profile.wxss

@@ -182,7 +182,7 @@
 }
 
 .luck-draw-zkz4 {
-  font-size: 110rpx;
+  font-size: 100rpx;
   font-family: Impact;
   font-weight: 400;
   color: #443E5B;