<view><view><scroll-view class="bg-white nav text-center" style="height:100vh;" scroll-x="{{true}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{[index==TabCur?'cu-item text-blue cur':'cu-item']}}" data-id="{{index}}" data-event-opts="{{[['tap',[['tabSelect',['$event']]]]]}}" bindtap="__e">{{''+item.name+''}}<block wx:if="{{index==0}}"><text>{{"("+notUsedList.length+")"}}</text></block><block wx:if="{{index==1}}"><text>{{"("+usedList.length+")"}}</text></block><block wx:if="{{index==2}}"><text>{{"("+invalidList.length+")"}}</text></block></view></block><block wx:if="{{TabCur==0}}"><view class="coupon-List"><view class="margin-top-sm"><view class="cu-list menu-avatar padding-tb-sm bg-white"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['gotoinfo',['$0'],[[['notUsedList','',index]]]]]]]}}" class="cu-item" bindtap="__e"><view class="cu-avatar round lg" style="{{('background-image:url('+imghost+item.$orig.icon+');background-color: #fff;')}}"></view><view class="content"><view class="text-grey"><text class="text-cut">{{item.$orig.name}}</text></view><view class="text-gray text-sm flex"><text class="text-cut">{{item.$orig.title}}</text></view><view class="text-gray text-sm flex"><block wx:if="{{item.$orig.expire_type==2}}"><text>{{"有效期："+item.m0+"-"+item.m1}}</text></block><block wx:else><text>{{item.m2+" 过期"}}</text></block></view></view><view class="action"></view></view></block></view></view></view></block><block wx:else><block wx:if="{{TabCur==1}}"><view><view class="margin-top-sm"><view class="cu-list menu-avatar padding-tb-sm bg-white"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="cu-item"><view class="cu-avatar round lg" style="{{('background-image:url('+imghost+item.$orig.icon+');')}}"></view><view class="content"><view class="text-grey"><text class="text-cut">{{item.$orig.name}}</text></view><view class="text-gray text-sm flex"><text class="text-cut">{{item.$orig.title}}</text></view><view class="text-gray text-sm flex"><text class="text-cut">{{"有效期："+item.m3+"-"+item.m4}}</text></view></view><view class="action"></view></view></block></view></view></view></block><block wx:else><view><view class="margin-top-sm"><view class="cu-list menu-avatar padding-tb-sm bg-white"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="cu-item"><view class="cu-avatar round lg" style="{{('background-image:url('+imghost+item.$orig.icon+');')}}"></view><view class="content"><view class="text-grey"><text class="text-cut">{{item.$orig.name}}</text></view><view class="text-gray text-sm flex"><text class="text-cut">{{item.$orig.title}}</text></view><view class="text-gray text-sm flex"><text class="text-cut">{{"有效期："+item.m5+"-"+item.m6}}</text></view></view><view class="action"></view></view></block></view></view></view></block></block></scroll-view></view></view>