<view class="{{['detail-container',(isIphoneX)?'safe-area':'']}}" data-theme="{{themeStyle}}"><view class="status-wrap color-base-bg" style="{{'background-image:'+('url('+$root.g0+')')+';'}}"><view class="order-status-left"><block wx:if="{{orderData.order_status==0}}"><image src="{{$root.g1}}"></image></block><block wx:if="{{orderData.order_status==1}}"><image src="{{$root.g2}}"></image></block><block wx:if="{{orderData.order_status==-1}}"><image src="{{$root.g3}}"></image></block><view class="status-name"><view class="status-name">{{''+(orderData.order_status==0?'待支付':orderData.order_status==1?'已完成':orderData.order_status==-1?'已关闭':'')+''}}</view></view></view></view><view class="site-wrap" style="margin-top:-69rpx;"><view class="site-body"><view class="goods-wrap"><view data-event-opts="{{[['tap',[['goDetail',['$0'],['orderData.exchange_goods_id']]]]]}}" class="goods-img" bindtap="__e"><image src="{{$root.m0}}" mode="aspectFill" data-event-opts="{{[['error',[['imageError']]]]}}" binderror="__e"></image></view><view class="goods-info"><view data-event-opts="{{[['tap',[['goDetail',['$0'],['orderData.exchange_goods_id']]]]]}}" class="goods-name" bindtap="__e">{{orderData.exchange_name}}</view><view class="goods-sub-section"><view><text class="goods-price color-base-text"><text><text>{{orderData.point+"积分"}}</text><block wx:if="{{orderData.price>0}}"><text>+<text class="unit">{{$root.m1}}</text>{{''+orderData.price+''}}</text></block></text></text></view><view><text><text class="iconfont iconclose"></text>{{''+orderData.num+''}}</text></view></view><view class="goods-action"><block wx:if="{{orderData.is_enable_refund}}"><block><block wx:if="{{orderData.refund_status==0}}"><view hover-class="none" data-event-opts="{{[['tap',[['goRefund',['$0'],['orderData.order_goods_id']]]]]}}" bindtap="__e"><view class="order-box-btn">退款</view></view></block><block wx:else><view data-event-opts="{{[['tap',[['goRefundDetail',['$0'],['orderData.order_goods_id']]]]]}}" bindtap="__e"><view class="order-box-btn">查看退款</view></view></block></block></block></view></view></view></view></view><view class="order-summary"><view class="order-cell"><text class="tit">订单编号：</text><view class="box"><text class="color-title">{{orderData.order_no}}</text><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="copy" bindtap="__e">复制</view></view></view><view class="order-cell"><text class="tit">订单交易号：</text><view class="box"><text class="color-title">{{orderData.out_trade_no}}</text></view></view><view class="order-cell"><text class="tit">创建时间：</text><view class="box"><text class="color-title">{{$root.g4}}</text></view></view><block wx:if="{{orderData.close_time>0}}"><view class="order-cell"><text class="tit">关闭时间：</text><view class="box"><text class="color-title">{{$root.g5}}</text></view></view></block><view class="kefu"><block wx:if="{{kefuConfig.weapp==1}}"><button type="default" hover-class="none" open-type="contact"><text class="iconfont iconziyuan"></text><text>联系客服</text></button></block><block wx:else><block wx:if="{{kefuConfig.system==1}}"><view data-event-opts="{{[['tap',[['goConnect',['$event']]]]]}}" bindtap="__e"><text class="iconfont iconziyuan"></text><text>联系客服</text></view></block></block></view></view><view class="order-money"><block wx:if="{{orderData.point>0}}"><view class="order-cell"><text class="tit">使用积分</text><view class="box align-right"><text class="color-base-text"><text>{{orderData.point}}</text></text></view></view></block><block wx:if="{{orderData.price>0}}"><view class="order-cell"><view class="box align-right"><text>实付金额：</text><text class="color-base-text"><text class="font-size-goods-tag">{{$root.m2}}</text><text class="font-size-base">{{orderData.price}}</text></text></view></view></block><block wx:if="{{orderData.order_status==0&&orderData.type==1}}"><view class="order-action"><view data-event-opts="{{[['tap',[['orderClose']]]]}}" class="order-box-btn" bindtap="__e">关闭</view><view data-event-opts="{{[['tap',[['openChoosePayment']]]]}}" class="order-box-btn color-base-bg color-base-border color-text-white" bindtap="__e">支付</view></view></block></view><ns-payment class="vue-ref" vue-id="ad66bebe-1" payMoney="{{orderData.price}}" data-ref="choosePaymentPopup" data-event-opts="{{[['^confirm',[['orderPay',['$0'],['orderData']]]]]}}" bind:confirm="__e" bind:__l="__l"></ns-payment><loading-cover class="vue-ref" vue-id="ad66bebe-2" data-ref="loadingCover" bind:__l="__l"></loading-cover></view>