<view class="{{['data-v-5e2ce923',isIphoneX?'iphone-x':'']}}" data-theme="{{themeStyle}}"><view class="cf-container color-line-border data-v-5e2ce923"><view class="tab data-v-5e2ce923"><view data-event-opts="{{[['tap',[['changeState',[1]]]]]}}" bindtap="__e" class="data-v-5e2ce923"><text class="{{['data-v-5e2ce923',state==1?'color-base-text active color-base-border-bottom':'']}}">未使用</text></view><view data-event-opts="{{[['tap',[['changeState',[2]]]]]}}" bindtap="__e" class="data-v-5e2ce923"><text class="{{['data-v-5e2ce923',state==2?'color-base-text active color-base-border-bottom':'']}}">已使用</text></view><view data-event-opts="{{[['tap',[['changeState',[3]]]]]}}" bindtap="__e" class="data-v-5e2ce923"><text class="{{['data-v-5e2ce923',state==3?'color-base-text active color-base-border-bottom':'']}}">已过期</text></view></view></view><mescroll-uni vue-id="1f1c30e2-1" top="100" data-ref="mescroll" data-event-opts="{{[['^getData',[['getMemberCounponList']]]]}}" bind:getData="__e" class="data-v-5e2ce923 vue-ref" bind:__l="__l" vue-slots="{{['list']}}"><view slot="list" class="data-v-5e2ce923"><view class="coupon-listone data-v-5e2ce923"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toGoodsList',['$0'],[[['list','',index]]]]]]]}}" class="item data-v-5e2ce923" style="{{'background-color:'+(item.$orig.state==1?'#FFF2F0':'#F2F2F2')+';'}}" bindtap="__e"><view class="item-base data-v-5e2ce923" style="{{'background-image:'+('url('+item.g0+')')+';'}}"><view class="data-v-5e2ce923"><block wx:if="{{item.$orig.type=='reward'}}"><view class="{{['use_price  data-v-5e2ce923',(item.$orig.state!=1)?'disabled':'']}}"><text class="data-v-5e2ce923">￥</text>{{item.m0}}</view></block><block wx:else><block wx:if="{{item.$orig.type=='discount'}}"><view class="{{['use_price data-v-5e2ce923',(item.$orig.state!=1)?'disabled':'']}}">{{item.m1}}<text class="data-v-5e2ce923">折</text></view></block></block><block wx:if="{{item.$orig.at_least>0}}"><view class="{{['use_condition font-size-tag data-v-5e2ce923',(item.$orig.state!=1)?'disabled':'']}}">{{"满"+item.$orig.at_least+"元可用"}}</view></block><block wx:else><view class="{{['use_condition font-size-tag data-v-5e2ce923',(item.$orig.state!=1)?'disabled':'']}}">无门槛优惠券</view></block></view></view><view class="item-info data-v-5e2ce923"><view class="use_title data-v-5e2ce923"><view class="title data-v-5e2ce923">{{item.$orig.coupon_name}}</view><block wx:if="{{item.$orig.discount_limit!='0.00'}}"><view class="max_price data-v-5e2ce923">{{"(最大优惠"+item.$orig.discount_limit+"元)"}}</view></block></view><block wx:if="{{item.$orig.validity_type}}"><view class="use_time data-v-5e2ce923">{{"有效期：领取之日起"+item.$orig.fixed_term+"日内有效"}}</view></block><block wx:else><view class="use_time data-v-5e2ce923">{{"有效期："+item.g1}}</view></block></view><view class="item-btn data-v-5e2ce923"><block wx:if="{{item.$orig.state==1}}"><view data-event-opts="{{[['tap',[['toGoodsList',['$0'],[[['list','',index]]]]]]]}}" class="tag data-v-5e2ce923" bindtap="__e">去使用</view></block><block wx:if="{{item.$orig.state==2}}"><view class="tag disabled data-v-5e2ce923">已使用</view></block><block wx:if="{{item.$orig.state==3}}"><view class="tag disabled data-v-5e2ce923">已过期</view></block></view></view></block></view><block wx:if="{{!list.length&&showEmpty}}"><view class="margin-top cart-empty data-v-5e2ce923" fixed="{{!1}}"><ns-empty vue-id="{{('1f1c30e2-2')+','+('1f1c30e2-1')}}" isIndex="{{false}}" text="暂无优惠券" class="data-v-5e2ce923" bind:__l="__l"></ns-empty></view></block></view></mescroll-uni><loading-cover vue-id="1f1c30e2-3" data-ref="loadingCover" class="data-v-5e2ce923 vue-ref" bind:__l="__l"></loading-cover></view>