order-block.phtml
2.38 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
<div class="me-orders">
<p class="order-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>
{{# orders}}
<div class="order">
<p class="order-title">
订单编号:{{orderNum}}
<span class="right">下单时间:{{orderTime}}</span>
</p>
<ul>
{{# goods}}
<li>
<div class="info clearfix">
<a href="{{href}}">
<img class="thumb" src="{{thumb}}">
</a>
<a class="name" href="{{href}}">{{name}}</a>
<span class="color-size">
{{#if color}}
<b title="{{color}}">颜色:{{color}} </b>
{{/if}}
{{#if size}}
尺码:{{size}}
{{/if}}
</span>
</div>
<div class="price">{{price}}</div>
<div class="count">{{count}}</div>
<div class="pay">
{{pay}}
<span class="pay-tip">(含快递{{fregit}}元)</span>
</div>
<div class="order-status">
{{#if complete}}
<span class="complete">订单完成</span>
{{/if}}
{{#if cancel}}
<span class="cancel">订单已取消</span>
{{/if}}
</div>
<div class="operation">
{{# operation}}
<a class="op-item" href="{{href}}">{{name}}</a>
{{/ operation}}
</div>
</li>
{{/ goods}}
</ul>
</div>
{{/ orders}}
</div>