couponList.wxml 2.4 KB

1
  1. <view class="app-content coupon-list _div data-v-5c4fa1e2"><app-tabs vue-id="692e33d7-1" tabs="{{tabs}}" isFixed="{{true}}" currentTab="{{tabIndex}}" itemWidth="33.3333%" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-5c4fa1e2" bind:__l="__l"></app-tabs><view class="{{['list-wrap _div data-v-5c4fa1e2',(tabIndex==2)?'expired':'']}}"><block wx:if="{{!$root.g0}}"><block class="data-v-5c4fa1e2"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list _div data-v-5c4fa1e2"><view class="list-img _div data-v-5c4fa1e2"><block wx:if="{{tabIndex==2}}"><image src="{{constant.imgUrl+'/retail/coupon/expired2.png'}}" alt="{{true}}" mode="widthFix" class="_img data-v-5c4fa1e2"></image></block><block wx:else><image src="{{constant.imgUrl+'/retail/coupon/bg2.png'}}" alt="{{true}}" mode="widthFix" class="_img data-v-5c4fa1e2"></image></block></view><view class="list-det _div data-v-5c4fa1e2"><view class="list-det-left _div data-v-5c4fa1e2"><view class="price-wrap _div data-v-5c4fa1e2"><label class="_span data-v-5c4fa1e2">¥</label><label class="price _span data-v-5c4fa1e2">{{item.m0}}</label></view><view class="full-reduc app-size-24 _div data-v-5c4fa1e2">{{"满"+item.m1+"可使用"}}</view></view><view class="list-det-right _div data-v-5c4fa1e2"><view class="coupon-message _div data-v-5c4fa1e2"><view class="app-color-2 _div data-v-5c4fa1e2" style="color:#333333;font-weight:500;font-size:35rpx;">{{item.$orig.name}}</view><view class="_div data-v-5c4fa1e2">{{"适用门店:"+item.$orig.ghsName}}</view><view class="_div data-v-5c4fa1e2">{{"过期时间:"+item.g1}}</view></view><block wx:if="{{tabIndex==0}}"><button data-event-opts="{{[['tap',[['useHb',['$0'],[[['list.data','',index]]]]]]]}}" class="button-com red data-v-5c4fa1e2" bindtap="__e">使用</button></block><block wx:else><block wx:if="{{tabIndex==1}}"><view class="icon-wrap _div data-v-5c4fa1e2"><view class="iconfont iconyishiyong _i data-v-5c4fa1e2"></view></view></block><block wx:else><view class="icon-wrap _div data-v-5c4fa1e2"><view class="iconfont iconyiguoqi _i data-v-5c4fa1e2"></view></view></block></block></view></view></view></block></block></block><block wx:else><block class="data-v-5c4fa1e2"><app-wrapper-empty vue-id="692e33d7-2" title="暂无数据" is-empty="{{$root.g2}}" class="data-v-5c4fa1e2" bind:__l="__l"></app-wrapper-empty></block></block></view></view>