index.wxml 2.0 KB

1
  1. <view class="data-v-21d2aef4"><block wx:if="{{$root.g0}}"><view class="coupon-list data-v-21d2aef4"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['item','acea-row','row-center-wrapper','data-v-21d2aef4',(item.m0)?'gray':'']}}"><view class="{{['money','data-v-21d2aef4',item.$orig.is_fail?'moneyGray':'']}}"><view class="data-v-21d2aef4">{{item.m1}}<text class="num data-v-21d2aef4">{{item.f0}}</text></view><block wx:if="{{item.$orig.use_min_price>0}}"><view class="pic-num data-v-21d2aef4">{{item.m2+item.f1+item.m3}}</view></block><block wx:else><view class="pic-num data-v-21d2aef4">{{item.m4}}</view></block></view><view class="text data-v-21d2aef4"><view class="condition data-v-21d2aef4"><view class="name line2 data-v-21d2aef4"><block wx:if="{{item.$orig.applicable_type===0}}"><view class="{{['line-title','data-v-21d2aef4',item.$orig.is_fail?'bg-color-huic':'bg-color-check']}}">{{item.m5}}</view></block><block wx:else><block wx:if="{{item.$orig.applicable_type===1}}"><view class="{{['line-title','data-v-21d2aef4',item.$orig.is_fail?'bg-color-huic':'bg-color-check']}}">{{item.m6}}</view></block><block wx:else><view class="{{['line-title','data-v-21d2aef4',item.$orig.is_fail?'bg-color-huic':'bg-color-check']}}">{{item.m7}}</view></block></block><text class="data-v-21d2aef4">{{item.$orig.coupon_title}}</text></view></view><view class="data acea-row row-between-wrapper data-v-21d2aef4"><view class="data-v-21d2aef4">{{item.$orig.add_time+"-"+item.$orig.end_time}}</view><block wx:if="{{item.$orig.is_fail}}"><view class="bnt gray data-v-21d2aef4">{{item.$orig.status}}</view></block><block wx:else><view class="bnt data-v-21d2aef4">{{item.$orig.status}}</view></block></view></view></view></block></view></block><block wx:if="{{$root.g1}}"><view class="noCommodity data-v-21d2aef4"><view class="pictrue data-v-21d2aef4"><image src="{{imgHost+'/statics/images/noCoupon.png'}}" class="data-v-21d2aef4"></image></view></view></block></view>