|
|
|
@ -2,8 +2,9 @@ |
|
|
|
<wxs src="../../../../utils/filter.wxs" module="tool" /> |
|
|
|
<title title="订单详情"></title> |
|
|
|
<view class="top-bg"></view> |
|
|
|
<canvas wx:for="{{imgLen}}" wx:key="index" class="code-img" style="position:absolute;z-index:-1;" canvas-id="damocode{{index}}"></canvas> |
|
|
|
<view class="state-text" wx:if="{{info}}">{{info.state_text}}</view> |
|
|
|
<view class="box" wx:if="{{info}}" style="color:#333"> |
|
|
|
<view class="box" wx:if="{{info&&!isPickup}}" style="color:#333"> |
|
|
|
<view class="scene-box-left" wx:if="{{info.state=='REFUND'}}" style="width:100%">您的退款已成功,退款金额预计在1-7个工作日内退还到您支付的账户</view> |
|
|
|
<view class="scene-box-left" wx:elif="{{info.state=='WAIT_REFUND'}}" style="width:100%">您已成功发起退款申请,请耐心等待</view> |
|
|
|
<view class="scene-box-left" wx:elif="{{info.state=='UNPAID'}}" style="width:100%">请在00:{{minute}}:{{second}}内支付,逾期订单将自动取消</view> |
|
|
|
@ -13,6 +14,25 @@ |
|
|
|
<view style="font-size:26rpx;color:#333;line-height:50rpx"><text style="color:#0B898E;margin-right:10rpx" class="iconfont icon-location"></text>{{info.order_product_list[0].consignee_info.address}}</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="code-box box" wx:if="{{info && isPickup && codeImgs.length>0}}"> |
|
|
|
<!-- <view bindtap="prevCodeImg" class="iconfont icon-you-copy"></view> --> |
|
|
|
<view wx:for="{{codeImgs}}" wx:if="{{index==codeIndex}}" style="position: relative;" wx:key="index"> |
|
|
|
<image lazy-load src="{{item.img}}" mode="widthFix" style="width:300rpx;height: 300rpx;"></image> |
|
|
|
<!-- 代表核销后是否继续展示二维码(0否1是) --> |
|
|
|
<view class="text-shadow" wx:if="{{item.is_force_display_code != 1 && item.flag != 0}}"> |
|
|
|
<view class="text-shadow-state"> |
|
|
|
{{item.state}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- <view bindtap="nextCodeImg" class="iconfont icon-you"></view> --> |
|
|
|
<view class="code-text"> |
|
|
|
核销码:{{codeImgs[codeIndex].code}} |
|
|
|
<!-- <view class="copy-box" data-num="{{codeImgs[codeIndex].code}}" bindtap="copy">复制</view> --> |
|
|
|
</view> |
|
|
|
<!-- <view class="code-state">{{codeImgs[codeIndex].state}} {{codeIndex+1}}/{{codeImgs.length}}</view> --> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="box" wx:if="{{info && info.order_product_list && info.order_product_list.length>0}}" |
|
|
|
wx:for="{{info.order_product_list}}"> |
|
|
|
<view> |
|
|
|
@ -30,47 +50,96 @@ |
|
|
|
</view> |
|
|
|
<view class="product-state">{{item.state_text}}</view> |
|
|
|
</view> |
|
|
|
<view class="detail-item"> |
|
|
|
<text>收货方式:</text> |
|
|
|
<text wx:if="{{item.is_batch_shipment==1}}">分批收货 (共{{item.batch_count}}次)</text> |
|
|
|
<text wx:else>一次性收货</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item"> |
|
|
|
<text>运费:</text> |
|
|
|
<view> |
|
|
|
<text style="padding-right: 56rpx;" wx:if="{{item.post_fee&&item.is_batch_shipment==1}}">¥{{item.post_fee/item.batch_count/100}} x{{info.order_product_list[0].batch_count}}</text> |
|
|
|
<text>{{item.post_fee?("¥"+item.post_fee/100):"包邮"}}</text> |
|
|
|
|
|
|
|
<view > |
|
|
|
<view wx:if="{{isPickup}}" class="detail-item"><text>收货方式:</text><text>自提</text></view> |
|
|
|
|
|
|
|
<view wx:else class="detail-item"> |
|
|
|
<text>收货方式:</text> |
|
|
|
<text wx:if="{{item.is_batch_shipment==1}}">分批收货 (共{{item.batch_count}}次)</text> |
|
|
|
<text wx:else>一次性收货</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="detail-item"> |
|
|
|
<text>小计:</text> |
|
|
|
<text>¥{{item.paid_money/100}}</text> |
|
|
|
</view> |
|
|
|
<!-- <view class="detail-item"> |
|
|
|
<text>运费:</text> |
|
|
|
<view> |
|
|
|
<text style="padding-right: 56rpx;" wx:if="{{item.post_fee&&item.is_batch_shipment==1}}">¥{{item.post_fee/item.batch_count/100}} x{{info.order_product_list[0].batch_count}}</text> |
|
|
|
<text>{{item.post_fee?("¥"+item.post_fee/100):"包邮"}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="detail-item"> |
|
|
|
<text>小计:</text> |
|
|
|
<text>¥{{item.paid_money/100}}</text> |
|
|
|
</view> --> |
|
|
|
|
|
|
|
<!-- <view wx:if="{{item.post_detail_list.length>0}}"> --> |
|
|
|
<view style="border-top: 1px solid #ccc;margin-top: 12rpx;padding-top: 12rpx;" |
|
|
|
wx:if="{{item.is_batch_shipment==1 || (item.is_batch_shipment==0&&item.post_detail_list.length>=1)}}"> |
|
|
|
<view class="box-title" style="position: relative;"> |
|
|
|
物流信息 |
|
|
|
<text bind:tap="expandPost" data-index="{{index}}" class="expand-tip" wx:if="{{item.is_batch_shipment==1}}"> |
|
|
|
{{item.showMore?"收起":"展开"}} |
|
|
|
</text> |
|
|
|
<!-- <view wx:if="{{item.post_detail_list.length>0}}"> --> |
|
|
|
|
|
|
|
<view class="detail-item"> |
|
|
|
<text>商品总价:</text> |
|
|
|
<text>¥{{info.total_money/100}}</text> |
|
|
|
</view> |
|
|
|
<!-- 多批次发货 --> |
|
|
|
<view wx:if="{{item.is_batch_shipment==1}}"> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>当前已发:{{item.shipped_batch_count}}</text> |
|
|
|
<view class="detail-item" wx:if="{{!isPickup}}"> |
|
|
|
<text>运费:</text> |
|
|
|
<view> |
|
|
|
<text style="padding-right: 56rpx;" wx:if="{{info.total_post_fee&&info.order_product_list[0].is_batch_shipment==1}}">¥{{info.total_post_fee/info.order_product_list[0].batch_count/100}} x{{info.order_product_list[0].batch_count}}</text> |
|
|
|
<text>{{info.total_post_fee?("¥"+info.total_post_fee/100):"包邮"}}</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>当前待发:{{item.batch_count - item.shipped_batch_count}}</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item" wx:if="{{info.preference_money}}" > |
|
|
|
<text>优惠券:</text> |
|
|
|
<text>-¥{{info.preference_money/100}}</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item"> |
|
|
|
<text>实付款</text> |
|
|
|
<view class="price">¥{{info.paid_money/100}}</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view style="border-top: 1px solid #ccc;margin-top: 12rpx;padding-top: 12rpx;" |
|
|
|
wx:if="{{item.is_batch_shipment==1 || (item.is_batch_shipment==0&&item.post_detail_list.length>=1)}}"> |
|
|
|
<view class="box-title" style="position: relative;"> |
|
|
|
物流信息 |
|
|
|
<text bind:tap="expandPost" data-index="{{index}}" class="expand-tip" wx:if="{{item.is_batch_shipment==1}}"> |
|
|
|
{{item.showMore?"收起":"展开"}} |
|
|
|
</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>物流备注:{{item.batch_remark}}</text> |
|
|
|
<!-- 多批次发货 --> |
|
|
|
<view wx:if="{{item.is_batch_shipment==1}}"> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>当前已发:{{item.shipped_batch_count}}</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>当前待发:{{item.batch_count - item.shipped_batch_count}}</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>物流备注:{{item.batch_remark}}</text> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="post-child" style="padding-top: 12rpx;" wx:if="{{item.showMore}}"> |
|
|
|
<view class="post-child-item" wx:for="{{item.post_detail_list}}" wx:for-item="shipment" wx:for-index="shipIndex"> |
|
|
|
<view class="detail-item">快递{{shipIndex+1}}</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>快递公司:{{shipment.express_name}}</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>快递单号:</text> |
|
|
|
<view style="flex:1;width: 1rpx;"> |
|
|
|
{{shipment.courier_number}} <text data-num="{{shipment.courier_number}}" bindtap="copy" style="flex:1;color:#0B898E;margin-left:20rpx">复制</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>发货时间:{{shipment.post_time}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- <view class="post-child-btn" bind:tap="expandPost" data-index="{{index}}">{{item.showMore?"收起":"展开"}}</view> --> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="post-child" style="padding-top: 12rpx;" wx:if="{{item.showMore}}"> |
|
|
|
<!-- 一次性发货 --> |
|
|
|
<view wx:elif="{{item.post_detail_list.length>=1}}"> |
|
|
|
<view class="post-child-item" wx:for="{{item.post_detail_list}}" wx:for-item="shipment" wx:for-index="shipIndex"> |
|
|
|
<view class="detail-item">快递{{shipIndex+1}}</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>快递公司:{{shipment.express_name}}</text> |
|
|
|
</view> |
|
|
|
@ -81,45 +150,24 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>发货时间:{{shipment.post_time}}</text> |
|
|
|
<text>发货时间:{{shipment.post_time}} </text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- <view class="post-child-btn" bind:tap="expandPost" data-index="{{index}}">{{item.showMore?"收起":"展开"}}</view> --> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 一次性发货 --> |
|
|
|
<view wx:elif="{{item.post_detail_list.length>=1}}"> |
|
|
|
<view class="post-child-item" wx:for="{{item.post_detail_list}}" wx:for-item="shipment" wx:for-index="shipIndex"> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>快递公司:{{shipment.express_name}}</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>快递单号:</text> |
|
|
|
<view style="flex:1;width: 1rpx;"> |
|
|
|
{{shipment.courier_number}} <text data-num="{{shipment.courier_number}}" bindtap="copy" style="flex:1;color:#0B898E;margin-left:20rpx">复制</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="detail-item post-line-info"> |
|
|
|
<text>发货时间:{{shipment.post_time}} </text> |
|
|
|
</view> |
|
|
|
<view style="border-top: 1px solid #ccc;margin-top: 12rpx;padding-top: 12rpx;" wx:if="{{!isPickup}}"> |
|
|
|
<view class="box-title" style="position: relative;"> |
|
|
|
使用说明 |
|
|
|
<text bind:tap="expandMsg" data-index="{{index}}" class="expand-tip"> |
|
|
|
{{item.showMsg?"收起":"展开"}} |
|
|
|
</text> |
|
|
|
</view> |
|
|
|
|
|
|
|
<rich-text class="detail-item {{item.showMsg?'':'textOver2'}}" style="display:-webkit-box;padding-bottom: 0;height: auto;" nodes="{{tool.formateRichText(item.sku_model.bookinfo)}}"></rich-text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="border-top: 1px solid #ccc;margin-top: 12rpx;padding-top: 12rpx;"> |
|
|
|
<view class="box-title" style="position: relative;"> |
|
|
|
使用说明 |
|
|
|
<text bind:tap="expandMsg" data-index="{{index}}" class="expand-tip"> |
|
|
|
{{item.showMsg?"收起":"展开"}} |
|
|
|
</text> |
|
|
|
</view> |
|
|
|
<rich-text class="detail-item {{item.showMsg?'':'textOver2'}}" style="display:-webkit-box;padding-bottom: 0;height: auto;" nodes="{{tool.formateRichText(item.sku_model.bookinfo)}}"></rich-text> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="border-top: 1px solid #ccc;margin-top: 12rpx;padding-top: 12rpx;" wx:if="{{isCard&&cardPostList.length>0}}"> |
|
|
|
<view class="box-title" style="position: relative;"> |
|
|
|
@ -174,29 +222,46 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="box" wx:if="{{info}}"> |
|
|
|
<view class="box-title">订单信息</view> |
|
|
|
<view class="detail-item"> |
|
|
|
<text>商品总价:</text> |
|
|
|
<text>¥{{info.total_money/100}}</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item"> |
|
|
|
<text>运费:</text> |
|
|
|
<view> |
|
|
|
<text style="padding-right: 56rpx;" wx:if="{{info.total_post_fee&&info.order_product_list[0].is_batch_shipment==1}}">¥{{info.total_post_fee/info.order_product_list[0].batch_count/100}} x{{info.order_product_list[0].batch_count}}</text> |
|
|
|
<text>{{info.total_post_fee?("¥"+info.total_post_fee/100):"包邮"}}</text> |
|
|
|
<view class="box" wx:if="{{info && isPickup}}"> |
|
|
|
<view class="box-title">自提信息</view> |
|
|
|
|
|
|
|
<view class="mask-shop-info"> |
|
|
|
<view class="shop-info-item"> |
|
|
|
<image class="start-icon" src="https://static.ticket.sz-trip.com/uploads/20251029/c84b0c0c8d99504a059b7e41035da67c.png"></image> |
|
|
|
<view>预留手机号:{{info.order_product_list[0].phone}}</view> |
|
|
|
</view> |
|
|
|
<view class="shop-info-item" style="justify-content: space-between;"> |
|
|
|
<image class="start-icon" src="https://static.ticket.sz-trip.com/uploads/20251029/a49d29cb9ad295752f298d7240fea88b.png"></image> |
|
|
|
<view style="flex: 1;width: 100rpx;"> |
|
|
|
<view>{{info.order_product_list[0].pickupShop.title}}</view> |
|
|
|
<view class="subtitle">{{info.order_product_list[0].pickupShop.address}}</view> |
|
|
|
<!-- <view class="subtitle" wx:if="{{info.order_product_list[0].supplier_info.distance>0}}">据您约{{info.order_product_list[0].supplier_info.distance}}km</view> --> |
|
|
|
</view> |
|
|
|
<view style="display: flex;flex-direction: column;align-items: center;padding-left: 40rpx;" |
|
|
|
catch:tap="callPhone" data-item="{{info.order_product_list[0]}}"> |
|
|
|
<image class="icon-phone" src="https://static.ticket.sz-trip.com/uploads/20250926/6d69afa7a2f955f60fd7cd5475e2b119.png"></image> |
|
|
|
<view style="font-size: 24rpx;color: #666666;margin-top: 14rpx;font-weight: 500;">电话</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="display: flex;flex-direction: column;align-items: center;padding-left: 40rpx;" |
|
|
|
catch:tap="gotolocation" data-item="{{info.order_product_list[0]}}"> |
|
|
|
<image class="icon-phone" src="https://static.ticket.sz-trip.com/uploads/20250926/6ce5e0467e0745e5f1140b6757ada213.png"></image> |
|
|
|
<view style="font-size: 24rpx;color: #666666;margin-top: 14rpx;font-weight: 500;">导航</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
<view class="detail-item" wx:if="{{info.preference_money}}" > |
|
|
|
<text>优惠券:</text> |
|
|
|
<text>-¥{{info.preference_money/100}}</text> |
|
|
|
</view> |
|
|
|
<view class="detail-item"> |
|
|
|
<text>实付款</text> |
|
|
|
<view class="price">¥{{info.paid_money/100}}</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="border-top:1rpx solid #ccc;margin: 12rpx 0;"></view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="box" wx:if="{{info}}"> |
|
|
|
<view class="box-title">订单信息</view> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <view style="border-top:1rpx solid #ccc;margin: 12rpx 0;"></view> --> |
|
|
|
|
|
|
|
<view class="detail-item"> |
|
|
|
<text>订单编号:</text> |
|
|
|
|