order-block.phtml
6.23 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
<div class="me-orders">
<p class="order-table-header table-header clearfix">
<span class="info">商品信息</span>
<span class="price">单价(元)</span>
<span class="count">数量</span>
<span class="pay">实付款(元)</span>
<span class="order-status">订单状态</span>
<span class="operation">操作</span>
</p>
{{#if orders.empty}}
{{#with orders}}
{{> home/empty}}
{{/with}}
{{^}}
{{# orders}}
<div class="order" data-id="{{orderNum}}">
<p class="order-title">
订单编号:{{orderNum}}
<span class="right">下单时间:{{orderTime}}</span>
</p>
<div class="order-wrap">
<ul>
{{# goods}}
<li>
<div class="info clearfix">
<a class="thumb-wrap" href="{{href}}" target="_blank">
<img class="thumb" src="{{thumb}}">
{{> home/order-goods-tags}}
</a>
<div class="text-info">
{{#if refundStatus}}
<span class="had-refund">已退换</span>
{{/if}}
<a class="name" href="{{href}}" target="_blank">{{name}}</a>
<span class="color-size">
{{#if color}}
颜色:{{color}}
{{/if}}
{{#if size}}
尺码:{{size}}
{{/if}}
{{#if arrivalDate}}
<i class="arrival-date">上市期:{{arrivalDate}}</i>
{{/if}}
</span>
</div>
</div>
<div class="price{{#if free}} free-price{{/if}}">
<em>{{price}}</em>
{{#if free}}
<span class="free-icon">免单</span>
{{/if}}
</div>
<div class="count">{{count}}</div>
</li>
{{/ goods}}
</ul>
<div class="pay">
{{pay}}
<span class="pay-tip">(含快递:{{fregit}}元)</span>
</div>
<div class="order-status">
{{#if noPay}}
<span class="no-pay">订单已成功,等待付款</span>
{{/if}}
{{#if paid}}
<span class="paid">订单已付款,等待备货中</span>
{{/if}}
{{#if shipped}}
<span class="shipped">
订单已发货
<em class="check-logistics">查看物流</em>
<div class="logistics hide">
<ul class="logistics-list">
{{#each logistics}}
<li>
{{.}}
</li>
{{/each}}
</ul>
<span class="close-logistics iconfont"></span>
<div class="right-triangle bottom"></div>
<div class="right-triangle top"></div>
</div>
</span>
{{/if}}
{{#if complete}}
<span class="complete">订单已成功,等待备货中</span>
{{/if}}
{{#if cancel}}
<span class="cancel">订单已取消</span>
{{/if}}
{{#if reback}}
<span class="reback">交易完成</span>
{{/if}}
</div>
<div class="operation">
{{# operation}}
{{#if optDis}}
<span class="op-item op-dis">{{name}}</span>
{{^}}
{{#if cancelOrder}}
<span class="op-item cancel-order">取消订单</span>
{{^}}
{{#if confirmReceived}}
<span class="op-item confirm-received">确认收货</span>
{{^}}
<a class="op-item{{#if payNow}} pay-now{{/if}}" href="{{href}}" target="_blank">
{{#if payNow}}
立即付款
{{^}}
{{name}}
{{/if}}
</a>
{{/if}}
{{/if}}
{{/if}}
{{/ operation}}
</div>
</div>
</div>
{{/ orders}}
{{/if}}
</div>
{{> home/order-cancel-tpl}}