Commit 800802b7114f4e1582a8c4deb36d382afa4c7c61

Authored by yvan.ni
1 parent 9a7fca58

颜色提示的优化

Showing 1 changed file with 4 additions and 4 deletions
pages/cart/cart/cart.wxml
... ... @@ -170,10 +170,10 @@
170 170 <view class="cx-sizs fs30">可参促销</view>
171 171 <view class="flex ai_c f1 pdh20">
172 172 <view class="xc-coupon-fram" wx:for="{{pitem.act_arr}}" >
173   - <view wx:if="{{item.prom_type==3}}" class="xc-coupon t-c four-level-word">优惠促销</view>
174   - <view wx:if="{{item.prom_type==5}}" class="xc-coupon t-c four-level-word">搭配促销</view>
175   - <view wx:if="{{item.prom_type==7}}" class="xc-coupon t-c four-level-word">组合购</view>
176   - <view wx:if="{{item.prom_type==10}}" class="xc-coupon t-c four-level-word">阶梯促销</view>
  173 + <view wx:if="{{item.prom_type==3}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }} ">优惠促销</view>
  174 + <view wx:if="{{item.prom_type==5}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }} ">搭配促销</view>
  175 + <view wx:if="{{item.prom_type==7}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }}">组合购</view>
  176 + <view wx:if="{{item.prom_type==10}}" class="xc-coupon t-c four-level-word {{!item.sele?'gray':'' }}">阶梯促销</view>
177 177 </view>
178 178 </view>
179 179 <view class="cx-obtain-coupon wsize">
... ...