<page-meta page-style="{{themeColor}}" class="data-v-c9e73da4"></page-meta><view class="{{['data-v-c9e73da4',isIphoneX?'iphone-x':'']}}"><block wx:if="{{storeToken}}"><view class="cf-container color-line-border data-v-c9e73da4"><view class="tab data-v-c9e73da4"><view data-event-opts="{{[['tap',[['changeState',[1]]]]]}}" bindtap="__e" class="data-v-c9e73da4"><text class="{{['data-v-c9e73da4',state==1?'color-base-text active color-base-border-bottom':'']}}">未使用</text></view><view data-event-opts="{{[['tap',[['changeState',[2]]]]]}}" bindtap="__e" class="data-v-c9e73da4"><text class="{{['data-v-c9e73da4',state==2?'color-base-text active color-base-border-bottom':'']}}">已使用</text></view><view data-event-opts="{{[['tap',[['changeState',[3]]]]]}}" bindtap="__e" class="data-v-c9e73da4"><text class="{{['data-v-c9e73da4',state==3?'color-base-text active color-base-border-bottom':'']}}">已过期</text></view></view></view></block><block wx:if="{{storeToken}}"><mescroll-uni vue-id="5b34c98e-1" top="100" data-ref="mescroll" data-event-opts="{{[['^getData',[['getMemberCounponList']]]]}}" bind:getData="__e" class="data-v-c9e73da4 vue-ref" bind:__l="__l" vue-slots="{{['list']}}"><view slot="list" class="data-v-c9e73da4"><view class="coupon-listone data-v-c9e73da4"><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-c9e73da4','item',item.$orig.state!=1&&'item-disabled']}}" style="{{'background-color:'+(item.$orig.state!=1?'#FFF':'var(--main-color-shallow)')+';'}}" bindtap="__e"><view class="item-base data-v-c9e73da4"><image class="coupon-line data-v-c9e73da4" mode="heightFix" src="{{item.g0}}"></image><view class="data-v-c9e73da4"><block wx:if="{{item.$orig.type=='divideticket'}}"><view class="use_price data-v-c9e73da4"><text class="data-v-c9e73da4">￥</text>{{''+item.m0+''}}</view></block><block wx:if="{{item.$orig.type=='reward'}}"><view class="use_price data-v-c9e73da4"><text class="data-v-c9e73da4">￥</text>{{''+item.m1+''}}</view></block><block wx:else><block wx:if="{{item.$orig.type=='discount'}}"><view class="use_price data-v-c9e73da4">{{''+item.m2+''}}<text class="data-v-c9e73da4">折</text></view></block></block><block wx:if="{{item.$orig.at_least>0}}"><view class="use_condition font-size-tag data-v-c9e73da4">{{'满'+item.$orig.at_least+"元可用"}}</view></block><block wx:else><view class="use_condition font-size-tag data-v-c9e73da4">无门槛优惠券</view></block></view></view><view class="item-info data-v-c9e73da4"><view class="use_title data-v-c9e73da4"><view class="title data-v-c9e73da4">{{item.$orig.coupon_name}}</view><block wx:if="{{item.$orig.goods_type==2||item.$orig.goods_type==3}}"><view class="{{['max_price','data-v-c9e73da4',(item.$orig.state==3)?'disabled':'']}}">指定商品</view></block><block wx:if="{{item.$orig.discount_limit!='0.00'}}"><view class="max_price data-v-c9e73da4">{{"(最大优惠"+item.$orig.discount_limit+"元)"}}</view></block><view class="{{['max_price','data-v-c9e73da4',(item.$orig.useState==2)?'disabled':'']}}">{{item.$orig.use_channel_name}}</view></view><block wx:if="{{item.$orig.end_time}}"><view class="use_time data-v-c9e73da4">{{"有效期："+item.g1+''}}</view></block><block wx:else><view class="use_time data-v-c9e73da4">有效期：长期有效</view></block></view><view class="item-btn data-v-c9e73da4"><block wx:if="{{item.$orig.state==1}}"><view class="tag data-v-c9e73da4">去使用</view></block><block wx:if="{{item.$orig.state==2}}"><view class="tag disabled data-v-c9e73da4">已使用</view></block><block wx:if="{{item.$orig.state==3}}"><view class="tag disabled data-v-c9e73da4">已过期</view></block></view></view></block></view><block wx:if="{{$root.g2}}"><view class="margin-top cart-empty data-v-c9e73da4" fixed="{{false}}"><ns-empty vue-id="{{('5b34c98e-2')+','+('5b34c98e-1')}}" isIndex="{{true}}" emptyBtn="{{({url:'/pages/goods/category',text:'去逛逛'})}}" text="暂无优惠券" class="data-v-c9e73da4" bind:__l="__l"></ns-empty></view></block></view></mescroll-uni></block><ns-login vue-id="5b34c98e-3" data-ref="ns-login" class="data-v-c9e73da4 vue-ref" bind:__l="__l"></ns-login><loading-cover vue-id="5b34c98e-4" data-ref="loadingCover" class="data-v-c9e73da4 vue-ref" bind:__l="__l"></loading-cover></view>