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.
248 lines
14 KiB
248 lines
14 KiB
<!--pages/user/order/sceneOrderInfo/index.wxml-->
|
|
<wxs src="../../../../utils/filter.wxs" module="tool" />
|
|
<title title="订单详情"></title>
|
|
<view class="top-bg"></view>
|
|
<view class="state-text" wx:if="{{info}}">{{info.state_text}}</view>
|
|
<view class="box" wx:if="{{info}}" 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>
|
|
<view class="scene-box-left" wx:elif="{{info.stateNums.WAIT_POST>0 && !info.stateNums.WAIT_DELIVERY}}" style="width:100%">等待商家发货</view>
|
|
<view class="scene-box-left" wx:elif="{{info.stateNums.WAIT_DELIVERY>0}}" style="width:100%">商家已发货</view>
|
|
<view class="box-title" style="margin-top:15rpx"><text style="margin-right:20rpx">{{info.order_product_list[0].consignee_info.name}}</text><text>{{info.order_product_list[0].consignee_info.tel}}</text></view>
|
|
<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="box" wx:if="{{info && info.order_product_list && info.order_product_list.length>0}}"
|
|
wx:for="{{info.order_product_list}}">
|
|
<view>
|
|
<view class="product-info" bindtap="goDetail" data-set='{{item}}'>
|
|
<view class="product-info-top">
|
|
<image lazy-load src="{{item.sku_headimg}}" mode="aspectFill"></image>
|
|
<view class="title-box textOver2">
|
|
<view class="title textOver2">{{item.product_title}}</view>
|
|
<view class="subtitle textOver2">{{item.sku_name}}</view>
|
|
</view>
|
|
<view class="price-box-tip">
|
|
<view style="margin-bottom:10rpx">¥ {{item.product_price/100}}</view>
|
|
<view>x{{item.product_num}}</view>
|
|
</view>
|
|
</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>
|
|
<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>
|
|
<!-- 多批次发货 -->
|
|
<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 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>
|
|
|
|
</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;">
|
|
物流信息
|
|
<text bind:tap="expandPost" data-index="{{index}}" class="expand-tip" >{{item.showMore?"收起":"展开"}}</text>
|
|
</view>
|
|
<view style="height:{{item.showMore?'auto':'340rpx'}};overflow: hidden;">
|
|
<view class="detail-item post-line-info">
|
|
<text>当前已发:{{deliveryNum}}</text>
|
|
</view>
|
|
<view class="detail-item post-line-info" style="margin-bottom: 20rpx;">
|
|
<text>当前待发:{{cardPostList.length - deliveryNum}}</text>
|
|
</view>
|
|
|
|
|
|
<view class="my-shipment-place" style="display: flex;" wx:for="{{cardPostList}}" wx:for-item="shipment" wx:for-index="shipIndex">
|
|
<view class="line-card">
|
|
<view wx:if="{{shipIndex==0}}" class="first-line"></view>
|
|
<view wx:if="{{shipIndex==(cardPostList.length-1)}}" class="last-line"></view>
|
|
<view class="line-dot ">
|
|
<image wx:if="{{shipment.post_detail_list&&shipment.post_detail_list[0]}}" mode="aspectFill" src="https://static.ticket.sz-trip.com/uploads/20250928/397edd1ef1daba7026d2900f1a59ff7d.png"></image>
|
|
</view>
|
|
<view class="{{shipment.post_detail_list&&shipment.post_detail_list[0]?'completed':''}}">{{shipment.order_card_product.month}}月</view>
|
|
</view>
|
|
|
|
<view class="post-child-item" style="margin-bottom: 0;">
|
|
<view class="detail-item post-line-info">
|
|
<text class="textOver" style="font-weight: bold;font-size: 27rpx;width: 400rpx;">{{shipment.sku_name}}</text>
|
|
<text style="color: #0B898E;">{{shipment.state_text}}</text>
|
|
</view>
|
|
<view wx:if="{{shipment.post_detail_list&&shipment.post_detail_list[0]}}">
|
|
<view class="detail-item post-line-info">
|
|
<text>快递公司:{{shipment.post_detail_list[0].express_name}}</text>
|
|
</view>
|
|
<view class="detail-item post-line-info">
|
|
<text>快递单号:</text>
|
|
<view style="flex:1;width: 1rpx;">
|
|
{{shipment.post_detail_list[0].courier_number}} <text data-num="{{shipment.post_detail_list[0].courier_number}}" bindtap="copy" style="flex:1;color:#0B898E;margin-left:20rpx">复制</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="detail-item post-line-info">
|
|
<text>发货时间:{{shipment.order_card_product.delivery_start_date}} 至 {{shipment.order_card_product.delivery_end_date}} </text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</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>
|
|
</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 class="detail-item">
|
|
<text>订单编号:</text>
|
|
<view>{{info.order_id}} <text data-num="{{info.order_id}}" bindtap="copy" style="flex:1;color:#0B898E;margin-left:20rpx">复制</text></view>
|
|
</view>
|
|
<view class="detail-item">
|
|
<text>下单时间:</text>
|
|
<text>{{info.create_time}}</text>
|
|
</view>
|
|
<view class="detail-item" wx:if="{{info.pay_at}}">
|
|
<text>支付时间:</text>
|
|
<text>{{info.pay_at}}</text>
|
|
</view>
|
|
<view class="detail-item" wx:if="{{info.pay_method}}">
|
|
<text>支付方式:</text>
|
|
<text>{{info.pay_method_text}}</text>
|
|
</view>
|
|
|
|
<view class="btns" style="border-top:1rpx solid #ccc;margin-top: 12rpx;" wx:if="{{info.state!='CLOSED'}}">
|
|
<!-- <view class="scene-rest-time" wx:if="{{info.state=='UNPAID'}}">剩余时间:00:{{minute}}:{{second}}</view> -->
|
|
<!-- <navigator wx:if="{{info.state!='UNPAID'}}" url="/pages/info/postProductInfo/index?id={{info.order_product_list[0].product_id}}" class="btn">再次购买</navigator> -->
|
|
<navigator url="../refundInfo/index?id={{info.order_id}}" class="btn" wx:if="{{isRefund}}">退款详情</navigator>
|
|
<view class="btn" wx:if="{{info.is_all_confirm}}" bind:tap="toConfirmPost">确认收货</view>
|
|
<view class="btn" wx:if="{{isCard}}" bind:tap="toConfirmPost">确认收货</view>
|
|
|
|
<view class="btn" wx:if="{{info.state=='PAID'}}" bindtap="refund">申请退款</view>
|
|
<view class="btn" wx:if="{{info.state=='UNPAID'}}" bindtap="close">取消订单</view>
|
|
<navigator url="/pages/order/comment/index?id={{info.order_id}}&proId={{info.order_product_list[0].product_id}}" class="btn active1" wx:if="{{info.state=='WAIT_COMMENT'}}">去评价</navigator>
|
|
<navigator url="/pages/order/pay/index?id={{id}}" class="btn active" wx:if="{{info.state=='UNPAID'}}">立即支付</navigator>
|
|
<!-- <navigator url="../expressInfo/index?id={{info.order_id}}" class="btn" wx:if="{{info.post_detail_list.length>0}}">查询快递</navigator> -->
|
|
</view>
|
|
</view>
|
|
|
|
<sptj ids="{{ ids }}"></sptj>
|
|
|
|
<navigator url="/pages/user/service/index" class="bottom-btn">
|
|
<image lazy-load src="https://static.ticket.sz-trip.com/xcxImages/index/service.png" mode="widthFix"></image>联系客服
|
|
</navigator>
|
|
<view style="height: 40rpx;"></view>
|
|
<view class="mask" wx:if="{{feeInfoFlag}}">
|
|
<view class="mask-bg" bindtap="showFeeInfo"></view>
|
|
<view class="mask-content">
|
|
<view class="mask-title">费用明细</view>
|
|
<view class="iconfont icon-close" bindtap="showFeeInfo"></view>
|
|
<view class="mask-item"><text>商品总价</text><text>¥{{info.total_money/100}}</text></view>
|
|
<view class="mask-item"><text>优惠券抵扣</text><text>-¥{{info.preference_money/100}}</text></view>
|
|
<view class="mask-item"><text>订单实付</text><text>¥{{info.paid_money/100}}</text></view>
|
|
</view>
|
|
</view>
|