Commit 1a5dd372a9a2a28a517872bd98208a4a2d2b2ae6

Authored by yvan.ni
1 parent dc6f07db

多活动确认订单页面的优化

packageE/pages/cart/cart2/cart2.wxml
@@ -125,10 +125,10 @@ @@ -125,10 +125,10 @@
125 <view class="cx-sizs fs30">促销</view> 125 <view class="cx-sizs fs30">促销</view>
126 <view class="flex ai_c f1 pdh20"> 126 <view class="flex ai_c f1 pdh20">
127 <view class="xc-coupon-fram" wx:for="{{item.show_can_cx[items.goods_id].act_arr}}" > 127 <view class="xc-coupon-fram" wx:for="{{item.show_can_cx[items.goods_id].act_arr}}" >
128 - <view wx:if="{{item.prom_type==3}}" class="xc-coupon t-c four-level-word">优惠促销</view>  
129 - <view wx:if="{{item.prom_type==5}}" class="xc-coupon t-c four-level-word">搭配促销</view>  
130 - <view wx:if="{{item.prom_type==7}}" class="xc-coupon t-c four-level-word">组合购</view>  
131 - <view wx:if="{{item.prom_type==10}}" class="xc-coupon t-c four-level-word">阶梯促销</view> 128 + <view wx:if="{{item.prom_type==3}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }} ">优惠促销</view>
  129 + <view wx:if="{{item.prom_type==5}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }} ">搭配促销</view>
  130 + <view wx:if="{{item.prom_type==7}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }} ">组合购</view>
  131 + <view wx:if="{{item.prom_type==10}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }} ">阶梯促销</view>
132 </view> 132 </view>
133 </view> 133 </view>
134 <view class="cx-obtain-coupon wsize"> 134 <view class="cx-obtain-coupon wsize">
@@ -153,10 +153,10 @@ @@ -153,10 +153,10 @@
153 <view class="cx-sizs fs30">促销</view> 153 <view class="cx-sizs fs30">促销</view>
154 <view class="flex ai_c f1 pdh20"> 154 <view class="flex ai_c f1 pdh20">
155 <view class="xc-coupon-fram" wx:for="{{pitem.act_arr}}" > 155 <view class="xc-coupon-fram" wx:for="{{pitem.act_arr}}" >
156 - <view wx:if="{{item.prom_type==3}}" class="xc-coupon t-c four-level-word">优惠促销</view>  
157 - <view wx:if="{{item.prom_type==5}}" class="xc-coupon t-c four-level-word">搭配促销</view>  
158 - <view wx:if="{{item.prom_type==7}}" class="xc-coupon t-c four-level-word">组合购</view>  
159 - <view wx:if="{{item.prom_type==10}}" class="xc-coupon t-c four-level-word">阶梯促销</view> 156 + <view wx:if="{{item.prom_type==3}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }} ">优惠促销</view>
  157 + <view wx:if="{{item.prom_type==5}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }} ">搭配促销</view>
  158 + <view wx:if="{{item.prom_type==7}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }} ">组合购</view>
  159 + <view wx:if="{{item.prom_type==10}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }} ">阶梯促销</view>
160 </view> 160 </view>
161 </view> 161 </view>
162 <view class="cx-obtain-coupon wsize"> 162 <view class="cx-obtain-coupon wsize">
packageE/pages/cart/cart2/cart2.wxss
@@ -1180,6 +1180,9 @@ margin-left: 20rpx; @@ -1180,6 +1180,9 @@ margin-left: 20rpx;
1180 padding: 6rpx 16rpx; 1180 padding: 6rpx 16rpx;
1181 1181
1182 } 1182 }
  1183 +.xc-coupon-fram .xc-coupon.gray{
  1184 + background-color: #bbb;
  1185 +}
1183 1186
1184 .xc-coupon-fram .xc-circular { 1187 .xc-coupon-fram .xc-circular {
1185 width: 16rpx; 1188 width: 16rpx;