<view data-event-opts="{{[['tap',[['$emit',['order','$0'],['dataDetail']]]]]}}" class="dt-order-item" bindtap="__e"><view class="state-row"><block wx:if="{{isTimer&&dataDetail.status==orderState.waitForPay}}"><view class="timer"><dt-timer vue-id="732a8116-1" start="{{dataDetail.expire}}" data-event-opts="{{[['^timeover',[['onTimeover']]]]}}" bind:timeover="__e" bind:__l="__l"></dt-timer><text class="tips">后订单自动取消</text></view></block><block wx:else><view data-event-opts="{{[['tap',[['copyOrderSn',['$0'],['dataDetail.sn']]]]]}}" class="order-no" catchtap="__e">{{'订单编号：'+dataDetail.sn+''}}<text class="copy">复制</text></view></block><view class="{{['state',($root.g0)?'dt-color-primary':'',($root.g1)?'dt-color-error':'']}}">{{''+dataDetail.statusTxt+''}}</view></view><view class="mid-row"><block wx:for="{{dataDetail.products}}" wx:for-item="item" wx:for-index="idx" wx:key="idx"><view class="goods-item"><image class="main-pic" src="{{item.thumbnail}}" mode="aspectFit"></image><view class="rt-wrap"><view class="good-mn"><view class="goods-name dt-text-row-one">{{item.name}}</view><view class="goods-num">{{"x "+item.quantity}}</view></view><view class="specifications">{{item.specificationsDesc}}</view><view class="price">{{"￥"+item.price}}</view></view></view></block></view><block wx:if="{{isFootShow}}"><view class="ft-row"><view class="real-pay">{{"实付金额：￥"+dataDetail.amount}}</view><view class="opts"><block wx:if="{{dataDetail.status==orderState.waitForPay}}"><block><button class="btn-base btn-plain" hover-class="button-hover-scale" data-event-opts="{{[['tap',[['tapDepatch',['cancel']]]]]}}" catchtap="__e">取消订单</button><button class="btn-base btn-primary" hover-class="button-hover-scale" data-event-opts="{{[['tap',[['tapDepatch',['pay']]]]]}}" catchtap="__e">立即支付</button></block></block><block wx:else><block wx:if="{{dataDetail.status==orderState.waitForDelive}}"><block><button class="btn-base btn-plain" hover-class="button-hover-scale" data-event-opts="{{[['tap',[['tapDepatch',['refund']]]]]}}" catchtap="__e">取消订单</button></block></block><block wx:else><block wx:if="{{dataDetail.status==orderState.waitForReceive}}"><block><button class="btn-base btn-plain" hover-class="button-hover-scale" data-event-opts="{{[['tap',[['tapDepatch',['refund_choose']]]]]}}" catchtap="__e">申请售后</button><button class="btn-base btn-primary" hover-class="button-hover-scale" data-event-opts="{{[['tap',[['tapDepatch',['receive']]]]]}}" catchtap="__e">确认收货</button></block></block><block wx:else><block wx:if="{{dataDetail.status==orderState.waitForAppraise}}"><block><button class="btn-base btn-plain" hover-class="button-hover-scale" data-event-opts="{{[['tap',[['tapDepatch',['refund_choose']]]]]}}" catchtap="__e">申请售后</button><button class="btn-base btn-primary" hover-class="button-hover-scale" data-event-opts="{{[['tap',[['tapDepatch',['appraise']]]]]}}" catchtap="__e">评价商品</button></block></block><block wx:else><block wx:if="{{$root.g2}}"><block><button class="btn-base btn-plain" hover-class="button-hover-scale" data-event-opts="{{[['tap',[['tapDepatch',['delete']]]]]}}" catchtap="__e">删除订单</button></block></block><block wx:else><block wx:if="{{dataDetail.status==orderState.saled_pending}}"><block><button class="btn-base btn-primary" hover-class="button-hover-scale" data-event-opts="{{[['tap',[['tapDepatch',['cancelRefund']]]]]}}" catchtap="__e">取消售后</button></block></block></block></block></block></block></block></view></view></block></view>