Files
ZangShiQi/public/weapp/pages/order/detail_point.wxml
2026-04-05 10:48:38 +08:00

1 line
5.6 KiB
Plaintext
Executable File

<page-meta page-style="{{themeColor}}" class="data-v-5059fc2c"></page-meta><view class="{{['detail-container','data-v-5059fc2c',(isIphoneX)?'safe-area':'']}}"><view class="status-wrap color-base-bg data-v-5059fc2c" style="{{'background-image:'+('url('+$root.g0+')')+';'}}"><view class="order-status-left data-v-5059fc2c"><block wx:if="{{orderData.order_status==0}}"><image src="{{$root.g1}}" class="data-v-5059fc2c"></image></block><block wx:if="{{orderData.order_status==1}}"><image src="{{$root.g2}}" class="data-v-5059fc2c"></image></block><block wx:if="{{orderData.order_status==-1}}"><image src="{{$root.g3}}" class="data-v-5059fc2c"></image></block><view class="status-name data-v-5059fc2c"><view class="status-name data-v-5059fc2c">{{''+(orderData.order_status==0?'待支付':orderData.order_status==1?'已完成':orderData.order_status==-1?'已关闭':'')+''}}</view></view></view></view><view class="site-wrap data-v-5059fc2c" style="margin-top:-69rpx;"><view class="site-body data-v-5059fc2c"><view class="goods-item data-v-5059fc2c"><view class="goods-wrap data-v-5059fc2c"><view data-event-opts="{{[['tap',[['goDetail',['$0'],['orderData.exchange_goods_id']]]]]}}" class="goods-img data-v-5059fc2c" bindtap="__e"><image src="{{$root.m0}}" mode="aspectFill" data-event-opts="{{[['error',[['imageError']]]]}}" binderror="__e" class="data-v-5059fc2c"></image></view><view data-event-opts="{{[['tap',[['goDetail',['$0'],['orderData.exchange_goods_id']]]]]}}" class="goods-info data-v-5059fc2c" bindtap="__e"><view class="goods-name data-v-5059fc2c">{{orderData.exchange_name}}</view><view class="goods-sub-section data-v-5059fc2c"><view class="data-v-5059fc2c"><text class="goods-price color-base-text data-v-5059fc2c"><text class="data-v-5059fc2c"><text class="data-v-5059fc2c">{{orderData.point+"积分"}}</text><block wx:if="{{orderData.price>0}}"><text class="price-color data-v-5059fc2c">+<text class="unit data-v-5059fc2c">{{$root.m1}}</text>{{''+orderData.price+''}}</text></block></text></text></view><view class="data-v-5059fc2c"><text class="data-v-5059fc2c"><text class="iconfont icon-close data-v-5059fc2c"></text>{{''+orderData.num+''}}</text></view></view></view></view><view class="goods-action data-v-5059fc2c"></view></view></view></view><view class="order-summary data-v-5059fc2c"><view class="order-cell data-v-5059fc2c"><text class="tit data-v-5059fc2c">订单编号:</text><view class="box data-v-5059fc2c"><text class="color-title data-v-5059fc2c">{{orderData.order_no}}</text><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="copy data-v-5059fc2c" bindtap="__e">复制</view></view></view><view class="order-cell data-v-5059fc2c"><text class="tit data-v-5059fc2c">订单交易号:</text><view class="box data-v-5059fc2c"><text class="color-title data-v-5059fc2c">{{orderData.out_trade_no}}</text></view></view><view class="order-cell data-v-5059fc2c"><text class="tit data-v-5059fc2c">创建时间:</text><view class="box data-v-5059fc2c"><text class="color-title data-v-5059fc2c">{{$root.g4}}</text></view></view><block wx:if="{{orderData.close_time>0}}"><view class="order-cell data-v-5059fc2c"><text class="tit data-v-5059fc2c">关闭时间:</text><view class="box data-v-5059fc2c"><text class="color-title data-v-5059fc2c">{{$root.g5}}</text></view></view></block><ns-contact vue-id="0fb8c88a-1" niushop="{{$root.a0}}" class="data-v-5059fc2c" bind:__l="__l" vue-slots="{{['default']}}"><view class="kefu data-v-5059fc2c"><view class="data-v-5059fc2c"><text class="iconfont icon-ziyuan data-v-5059fc2c"></text><text class="data-v-5059fc2c">联系客服</text></view></view></ns-contact></view><view class="order-money data-v-5059fc2c"><block wx:if="{{orderData.point>0}}"><view class="order-cell data-v-5059fc2c"><text class="tit data-v-5059fc2c">使用积分</text><view class="box align-right data-v-5059fc2c"><text class="color-base-text price-font data-v-5059fc2c"><text class="data-v-5059fc2c">{{orderData.point}}</text></text></view></view></block><block wx:if="{{orderData.delivery_price>0}}"><view class="order-cell data-v-5059fc2c"><text class="tit data-v-5059fc2c">运费</text><view class="box align-right data-v-5059fc2c"><text class="color-base-text price-font data-v-5059fc2c"><text class="unit font-size-tag data-v-5059fc2c">{{$root.m2}}</text><text class="data-v-5059fc2c">{{orderData.delivery_price}}</text></text></view></view></block><block wx:if="{{orderData.order_money>0}}"><view class="order-cell data-v-5059fc2c"><view class="box align-right data-v-5059fc2c"><text class="data-v-5059fc2c">实付金额:</text><text class="color-base-text price-font data-v-5059fc2c"><text class="font-size-goods-tag data-v-5059fc2c">{{$root.m3}}</text><text class="font-size-base data-v-5059fc2c">{{orderData.order_money}}</text></text></view></view></block><block wx:if="{{orderData.order_status==0&&orderData.type==1}}"><view class="order-action data-v-5059fc2c"><view data-event-opts="{{[['tap',[['orderClose']]]]}}" class="order-box-btn data-v-5059fc2c" bindtap="__e">关闭</view><view data-event-opts="{{[['tap',[['openChoosePayment']]]]}}" class="order-box-btn color-base-bg color-base-border color-text-white data-v-5059fc2c" bindtap="__e">支付</view></view></block></view><ns-goods-recommend vue-id="0fb8c88a-2" route="order_detail" data-ref="goodrecommend" class="data-v-5059fc2c vue-ref" bind:__l="__l"></ns-goods-recommend><ns-payment vue-id="0fb8c88a-3" payMoney="{{orderData.order_money}}" data-ref="choosePaymentPopup" data-event-opts="{{[['^confirm',[['orderPay',['$0'],['orderData']]]]]}}" bind:confirm="__e" class="data-v-5059fc2c vue-ref" bind:__l="__l"></ns-payment><loading-cover vue-id="0fb8c88a-4" data-ref="loadingCover" class="data-v-5059fc2c vue-ref" bind:__l="__l"></loading-cover></view>