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.
52 lines
2.6 KiB
52 lines
2.6 KiB
<!--pages/message/detail/index.wxml-->
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">订单详情</view>
|
|
</cu-custom>
|
|
<!-- ------顶部信息------ -->
|
|
<header-info orderInfo="{{orderInfo}}" />
|
|
<!-- ------特殊信息------ -->
|
|
<view wx:if="{{orderInfo && (orderInfo.status == 50 || orderInfo.status == 51)}}">
|
|
<view class="flex flex-justify bg-white margin-top" style="padding:30rpx">
|
|
<image class="image-load" src="/assets/image/ico_address.png"></image>
|
|
<view style="margin-left:24rpx;flex:1">
|
|
<view class="text-sg">货物即将发往{{orderInfo.paperMillName}}</view>
|
|
<view class="text-sm text-gray" style="margin-top:8rpx">{{orderInfo.paperMillAddress}}</view>
|
|
</view>
|
|
</view>
|
|
<!-- 待预约状态下,预约信息放前面 -->
|
|
<view wx:if="{{orderInfo.status==50}}">
|
|
<reserve-info orderInfo="{{orderInfo}}" />
|
|
<view style="height:16rpx"> </view>
|
|
</view>
|
|
<!-- 待送货状态下送货信息放在前面 -->
|
|
<delivery-info orderInfo="{{orderInfo}}" wx:if="{{orderInfo.status==51}}" />
|
|
</view>
|
|
<!-- ------车辆信息------ -->
|
|
<!-- 总共多少辆车,单独放在顶部 -->
|
|
<view style="height:16rpx"> </view>
|
|
<!-- 每一辆车,进度信息和结算信息 -->
|
|
<view wx:for="{{orderInfoStep}}" wx:key="index" style="margin-top:{{index == 0 ? 0 : 16}}rpx">
|
|
<view class="bg-white text-df text-gray" style="padding:24rpx 30rpx">车辆信息{{index+1}}</view>
|
|
<!-- 进度 -->
|
|
<item-car-info orderInfo="{{orderInfo}}" item="{{item}}" />
|
|
<!-- 磅单 -->
|
|
<pound-info orderInfo="{{orderInfo}}" item="{{item}}" />
|
|
<!-- 金额 -->
|
|
<item-money-info orderInfo="{{orderInfo}}" item="{{item}}" />
|
|
</view>
|
|
<!-- ------送货信息------ -->
|
|
<!-- 预约和送货状态下的送货信息已在前面展示过了,所以不需要展示 -->
|
|
<delivery-info orderInfo="{{orderInfo}}" wx:if="{{orderInfo.status>51}}" />
|
|
<!-- ------预约信息------ -->
|
|
<!-- 预约和送货状态下的预约信息已在前面展示过了,所以不需要展示 -->
|
|
<reserve-info orderInfo="{{orderInfo}}" wx:if="{{orderInfo.status>51}}" />
|
|
<!-- ------订单信息------ -->
|
|
<order-info orderInfo="{{orderInfo}}" />
|
|
|
|
<view style="height:{{136}}rpx;" wx:if="{{orderInfo && ((cancel && orderInfo.status == 51) || orderInfo.status == 50)}}"></view>
|
|
<submit-layout wx:if="{{orderInfo && ((cancel && orderInfo.status == 51) || orderInfo.status == 50)}}">
|
|
<van-button type="default" custom-style="height:88rpx;width:240rpx" bind:click="cancelOrder"
|
|
wx:if="{{orderInfo.status == 50 || orderInfo.status == 51}}">取消订单</van-button>
|
|
</submit-layout>
|
|
<van-dialog id="van-dialog" />
|
|
<notification id="qn-notification" />
|