<view><block tt:if="{{orderData}}"><view class="coupon-list"><block tt:for="{{orderData}}" tt:for-item="item" tt:for-index="index" tt:key="index"><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'],[[['orderData','',index,'certificate_id']]]]]]]}}" bindtap="__e">去使用</button></block><block tt:if="{{item.status==2&&item.order}}"><button class="btn" type="default" data-event-opts="{{[['tap',[['toView',['$0'],[[['orderData','',index,'order.order_sn']]]]]]]}}" 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==2}}"><view class="state-img"><image src="/static/image/fwz.png" mode="widthFix"></image></view></block><block tt:if="{{item.status==3}}"><view class="state-img"><image src="/static/image/end.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><block tt:else><view><u-skeleton vue-id="a2b31fcc-1" rows="3" title="{{true}}" loading="{{true}}" bind:__l="__l"></u-skeleton></view></block><block tt:if="{{msgDialog}}"><view class="dialog-msg"><view class="mark"></view><view class="msg-body"><view class="title">第三方服务声明<image src="/static/image/round_close.png" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"></image></view><view class="desc">本商品信息、交易以及售后服务由第三方提供，如由问题请联系在线客服或电话客服</view></view></view></block><view data-event-opts="{{[['tap',[['toService',['$event']]]]]}}" class="kf-service" bindtap="__e"><image src="/static/image/kefu.png"></image></view></view>