order_detail.wxml
5.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!--pages/order_detail/order_detail.wxml-->
<view class='border_detailtop' wx:if='{{postdata.status==-1}}'>
<image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
<view class='detail_left'>
<view class='topicon'>
<image src='https://wxapp.xianghejia.cn/imgs/cicon14@2x.png'></image>
</view>
<view>已取消</view>
</view>
<view class='detali_rigth ' bindtap='ifdetelorder' wx:if='{{postdata.status != -1}}' >删除订单</view>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==1}}'>
<image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
<view class='detail_left'>
<view class='topicon'>
<image src='https://wxapp.xianghejia.cn/imgs/cicon14@2x.png'></image>
</view>
<view>已下单</view>
</view>
<view class='detali_rigth detali_rigth1' bindtap='cancelorder' id='{{postdata.id}}'>取消订单</view>
<navigator class='detali_rigth' url='/pages/appointment/appintment?id={{postdata.id}}' hover-class="other-navigator-hover">修改订单</navigator>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==2}}'>
<image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
<view class='detail_left'>
<view class='topicon'>
<image src='https://wxapp.xianghejia.cn/imgs/cicon15@2x.png'></image>
</view>
<view>已取货</view>
</view>
<navigator class='detali_rigth' url='/pages/wuliu/wuliu?id={{postdata.id}}' hover-class="other-navigator-hover">查看物流</navigator>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==3}}'>
<image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
<view class='detail_left'>
<view class='topicon'>
<image src='https://wxapp.xianghejia.cn/imgs/cicon15@2x.png'></image>
</view>
<view>已到达</view>
</view>
<navigator class='detali_rigth' url='/pages/wuliu/wuliu?id={{postdata.id}}' hover-class="other-navigator-hover">查看物流</navigator>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==4}}'>
<image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
<view class='detail_left'>
<view class='topicon'>
<image src='https://wxapp.xianghejia.cn/imgs/cicon15@2x.png'></image>
</view>
<view>已到绿色分检场</view>
</view>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==5}}'>
<image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
<view class='detail_left'>
<view class='topicon'>
<image src='https://wxapp.xianghejia.cn/imgs/cicon16@2x.png'></image>
</view>
<view>已分类</view>
</view>
<view></view>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==6}}'>
<image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
<view class='detail_left'>
<view class='topicon'>
<image src='https://wxapp.xianghejia.cn/imgs/cicon17@2x.png'></image>
</view>
<view>已再生利用</view>
</view>
<view></view>
</view>
<view class='border_detailtop' wx:if='{{postdata.status==7}}'>
<image src='https://wxapp.xianghejia.cn/imgs/cbg@2x.png' class='bg'></image>
<view class='detail_left'>
<view class='topicon'>
<image src='https://wxapp.xianghejia.cn/imgs/cicon17@2x.png'></image>
</view>
<view>已完成</view>
</view>
<view></view>
</view>
<view class='detalibox'>
<view class='detail_item'>
<view class='detail_left_txt'>寄件人</view>
<view class='detail_rigth'>{{postdata.sender_name}} {{postdata.sender_phone}}</view>
</view>
<view class='detail_item'>
<view class='detail_left_txt'>地 址</view>
<view class='detail_rigth'>{{postdata.sender_city}}{{postdata.sender_county}}{{postdata.sender_address}}</view>
</view>
</view>
<view class='detalibox'>
<view class='detail_item'>
<view class='detail_left_txt'>预约重量</view>
<view class='detail_rigth'>{{postdata.weight_scope==null?'暂无':postdata.weight_scope}}</view>
</view>
<view class='detail_item'>
<view class='detail_left_txt'>预约时间</view>
<view class='detail_rigth'>{{postdata.time}}</view>
</view>
</view>
<view class='detalibox'>
<view class='detail_item'>
<view class='detail_left_txt'>订单编号</view>
<view class='detail_rigth'>{{postdata.order_number}}</view>
</view>
<view class='detail_item' wx:if="{{postdata.get_time !='1970-01-01 08:00:00'}}">
<view class='detail_left_txt'>取货时间</view>
<view class='detail_rigth'>{{postdata.get_time}}</view>
</view>
<view class='detail_item' wx:if="{{postdata.reach_time !='1970-01-01 08:00:00'}}">
<view class='detail_left_txt'>到达时间</view>
<view class='detail_rigth'>{{postdata.reach_time}}</view>
</view>
<view class='detail_item' wx:if="{{postdata.classify_time !='1970-01-01 08:00:00'}}">
<view class='detail_left_txt'>分类时间</view>
<view class='detail_rigth'>{{postdata.classify_time}}</view>
</view>
<view class='detail_item' wx:if="{{postdata.rebirth_time !='1970-01-01 08:00:00'}}">
<view class='detail_left_txt'>利用时间</view>
<view class='detail_rigth'>{{postdata.rebirth_time}}</view>
</view>
<view class='detail_item' >
<view class='detail_left_txt'>委托快递</view>
<view class='detail_rigth'>{{postdata.logistics_name}}</view>
</view>
</view>
<view class='detalibox'>
<view class='detail_item'>
<view class='detail_left_txt'>备 注</view>
<view class='detail_rigth'>{{postdata.remark}}</view>
</view>
</view>
<view class='bottom_img' wx:if='{{postdata.status==4}}'>
<image src='https://wxapp.xianghejia.cn/imgs/cele02@2x.png'></image>
</view>
<import src="../template/template.wxml"></import>
<view>
<template is="goindex" data></template>
</view>