<view><block tt:if="{{loading}}"><block><view class="skeleton"><view class="skeleton-line max animate" style="height:200rpx;"></view><view class="skeleton-line animate"></view><view class="skeleton-line min animate"></view><view class="skeleton-line min animate"></view><view class="skeleton-line max animate" style="height:200rpx;"></view><view class="skeleton-line max animate" style="height:200rpx;"></view></view></block></block><block tt:else><block><view class="order-status"><block tt:if="{{orderData.status==1}}"><view class="status-name">已核销</view></block><block tt:if="{{orderData.status==2}}"><view class="status-name success">预约中</view></block><block tt:if="{{orderData.status==3}}"><view class="status-name">已撤销</view></block><block tt:if="{{orderData.status==4}}"><view class="status-name">已完成</view></block><block tt:if="{{orderData.status==1}}"><view class="status-desc">团购券已完成核销</view></block><block tt:if="{{orderData.status==2}}"><view class="status-desc success">预约中，如有问题可以联系客服</view></block><block tt:if="{{orderData.status==3}}"><view class="status-desc">已撤销，可在团购订单中申请退款</view></block><block tt:if="{{orderData.status==4}}"><view class="status-desc">服务已完成,欢迎您再次使用</view></block></view><view class="order-goods"><view class="goods-img"><image src="{{orderData.goods.product_img}}"></image></view><view class="goods-info"><view class="name">{{orderData.goods.product_name}}</view><view class="desc"><block tt:if="{{orderData.end_at}}"><view class="time">{{"有效期至："+orderData.end_at+''}}</view></block><view class="num">{{"x "+(orderData.number?orderData.number:1)}}</view></view><view class="total">{{"合计：¥ "+orderData.goods.product_price}}</view></view></view><block tt:if="{{poiData}}"><view class="goods-store"><view class="title">预约门店</view><view class="store-info"><view class="store-left"><view class="name">{{poiData.poi_name}}</view><view class="address">{{poiData.poi_address}}</view></view><view class="store-right"><view class="right-item"><image src="/static/image/map.png"></image><view class="desc">导航</view></view></view></view></view></block><view class="order-info"><view class="title">订单信息</view><view class="info-item"><view class="name">订单编号</view><view class="right">{{orderData.order_id+''}}<text data-event-opts="{{[['tap',[['copyOrder',['$0'],['orderData.order_id']]]]]}}" bindtap="__e">复制</text></view></view><view class="info-item"><view class="name">下单时间</view><view class="right">{{orderData.create_at}}</view></view></view><block tt:if="{{orderData.service_type==1}}"><view class="order-info"><view class="title">预约信息</view><view class="info-item"><view class="name">到店时间</view><view class="right">{{orderData.time}}</view></view></view></block><block tt:if="{{orderData.service_type==2}}"><view class="order-info"><view class="title">会员资料</view><view class="info-item"><view class="name"></view><view class="right">{{orderData.username}}<text>{{orderData.mobile}}</text></view></view><view class="address-info">{{''+orderData.region+orderData.address+''}}</view></view></block><view class="line-footer"></view><view class="footer"><block tt:if="{{orderData.status==1}}"><view class="footer-op"><view class="footer-right"><view class="btn">已核销</view></view></view></block><block tt:if="{{orderData.status==2}}"><view class="footer-op"><view data-event-opts="{{[['tap',[['cancelOrder',['$event']]]]]}}" class="footer-left" bindtap="__e"><text>取消预约</text></view><view class="footer-right"><view class="btn">服务进行中</view></view></view></block><block tt:if="{{orderData.status==3}}"><view class="footer-op"><view data-event-opts="{{[['tap',[['toGoods',['$event']]]]]}}" class="footer-right" bindtap="__e"><view class="btn">已撤销</view></view></view></block><block tt:if="{{orderData.status==4}}"><view class="footer-op"><view class="footer-right"><view class="btn">已完成</view></view></view></block><view class="footer-safe"></view></view></block></block></view>