<view class="content"><block tt:if="{{coupon.length==0}}"><view class="empty-data"><u-empty vue-id="8dda190e-1" mode="order" icon="/static/image/order_none.png" text="暂无抖音团购订单" bind:__l="__l"></u-empty></view></block><block tt:else><view class="coupon-list"><block tt:for="{{coupon}}" tt:for-item="item" tt:for-index="indx" tt:key="indx"><view class="coupon-item"><view class="header">{{item.certificate_id}}</view><view class="body"><view class="info"><view class="name">{{item.product_name}}</view><view class="desc">{{"x "+item.count+"张"}}</view><view class="desc">{{"有效期至"+item.expire_at}}</view></view><view class="right"><block tt:if="{{item.status==1}}"><button class="btn" type="primary" data-event-opts="{{[['tap',[['toDetail',['$0'],[[['coupon','',indx,'certificate_id']]]]]]]}}" bindtap="__e">去使用</button></block></view></view><block tt:if="{{item.status==1}}"><view class="state-img"><image src="/static/image/order-dot.png" mode="widthFix"></image></view></block><block tt:if="{{item.status==4}}"><view class="state-img"><image src="/static/image/ex.png" mode="widthFix"></image></view></block></view></block><navigator class="tips" hover-class="none" url="/pages/user/license">小程序资质亮照</navigator></view></block></view>