Commit 1a5dd372a9a2a28a517872bd98208a4a2d2b2ae6
1 parent
dc6f07db
多活动确认订单页面的优化
Showing
2 changed files
with
11 additions
and
8 deletions
packageE/pages/cart/cart2/cart2.wxml
... | ... | @@ -125,10 +125,10 @@ |
125 | 125 | <view class="cx-sizs fs30">促销</view> |
126 | 126 | <view class="flex ai_c f1 pdh20"> |
127 | 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 | 132 | </view> |
133 | 133 | </view> |
134 | 134 | <view class="cx-obtain-coupon wsize"> |
... | ... | @@ -153,10 +153,10 @@ |
153 | 153 | <view class="cx-sizs fs30">促销</view> |
154 | 154 | <view class="flex ai_c f1 pdh20"> |
155 | 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 | 160 | </view> |
161 | 161 | </view> |
162 | 162 | <view class="cx-obtain-coupon wsize"> | ... | ... |
packageE/pages/cart/cart2/cart2.wxss