You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
huazhiyu/unpackage/dist/dev/mp-weixin/pages/OrderDetails/OrderDetails.wxml

1 lines
3.9 KiB

<view class="page data-v-1a744c86"><view class="order-status data-v-1a744c86"><view class="status data-v-1a744c86"><text class="iconfont icon-zhuyi data-v-1a744c86"></text><text class="data-v-1a744c86">{{orderDetails.status==0?'待支付':orderDetails.status==1?'待确认':orderDetails.status==2?'待委托':orderDetails.status==3?'已投诉':orderDetails.status==4?'待发货':orderDetails.status==5?'待收货':orderDetails.status==-1?'已取消':''}}</text></view></view><view class="order-goods data-v-1a744c86"><view class="goods-list data-v-1a744c86"><block wx:for="{{orderInfo}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list data-v-1a744c86"><view class="sellerInfo data-v-1a744c86"><view class="title data-v-1a744c86">{{orderDetails.seller?orderDetails.seller.nickname:'-'}}</view><view class="content data-v-1a744c86" style="margin-left:20rpx;"><text class="data-v-1a744c86">{{orderDetails.seller?orderDetails.seller.mobile:'-'}}</text></view></view><view class="orderNum data-v-1a744c86"><view class="title data-v-1a744c86">订单号:</view><view class="content data-v-1a744c86"><text class="data-v-1a744c86">{{orderDetails.order_sn}}</text></view></view><view class="orderInfo data-v-1a744c86"><view class="thumb data-v-1a744c86"><image src="{{item.goods_image}}" mode="aspectFill" class="data-v-1a744c86"></image></view><view class="item data-v-1a744c86"><view class="title data-v-1a744c86"><text class="one-omit data-v-1a744c86">{{item.goods_name}}</text></view><view class="price data-v-1a744c86"><text class="data-v-1a744c86">{{"¥"+item.goods_price}}</text></view></view></view></view></block></view></view><view class="order-info data-v-1a744c86"><view class="info-list data-v-1a744c86"><view class="list data-v-1a744c86"><view class="title data-v-1a744c86">订单提交时间:</view><view class="content data-v-1a744c86"><text class="data-v-1a744c86">{{$root.m0}}</text></view></view><view class="list data-v-1a744c86"><view class="title data-v-1a744c86">付款确认时间:</view><view class="content data-v-1a744c86"><text class="data-v-1a744c86">{{orderDetails.pay_time_text}}</text></view></view></view></view><view class="order-details data-v-1a744c86"><view class="details-list data-v-1a744c86"><view class="list data-v-1a744c86"><view class="title data-v-1a744c86"><text class="data-v-1a744c86">商品总额</text></view><view class="price data-v-1a744c86"><text class="data-v-1a744c86">{{"¥"+orderDetails.order_amount}}</text></view></view><view class="list data-v-1a744c86"><view class="title data-v-1a744c86"><text class="data-v-1a744c86">实付款</text></view><view class="price data-v-1a744c86"><text class="data-v-1a744c86">{{"¥"+orderDetails.pay_amount}}</text></view></view></view></view><view class="pic data-v-1a744c86"><view class="title data-v-1a744c86">付款凭证</view><block wx:if="{{orderDetails.pay_voucher}}"><image src="{{orderDetails.pay_voucher}}" mode="aspectFit" data-event-opts="{{[['tap',[['lookPic',[[orderDetails.pay_voucher]]]]]]}}" bindtap="__e" class="data-v-1a744c86"></image></block><block wx:else><text class="data-v-1a744c86">暂无付款凭证</text></block></view><block wx:if="{{orderDetails.status==0}}"><view class="btnContainer data-v-1a744c86"><view data-event-opts="{{[['tap',[['uploadPay',['$event']]]]]}}" class="btnItem data-v-1a744c86" bindtap="__e">上传凭证</view><view data-event-opts="{{[['tap',[['goPayHandle',['$event']]]]]}}" class="btnItem data-v-1a744c86" bindtap="__e">去支付</view><view data-event-opts="{{[['tap',[['confirmPay',['$event']]]]]}}" class="btnItem data-v-1a744c86" bindtap="__e">支付确认</view></view></block><u-upload style="display:none;" vue-id="3415c540-1" previewFullImage="{{false}}" width="176" height="176" name="1" data-ref="uploadPay" data-event-opts="{{[['^afterRead',[['afterRead']]]]}}" bind:afterRead="__e" class="data-v-1a744c86 vue-ref" bind:__l="__l"></u-upload><u-toast vue-id="3415c540-2" data-ref="uToast" class="data-v-1a744c86 vue-ref" bind:__l="__l"></u-toast></view>