info.html
5.1 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
<div class="ibox-content order-info">
<div class="row">
<div class="col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">
收货信息
</div>
<div class="panel-body">
<div class="row show-grid">
<div class="col-xs-12">用户昵称: {$row.user.nickname}</div>
<div class="col-xs-12">收货人: {$row.address.name}</div>
<div class="col-xs-12">联系电话: {$row.address.phone}</div>
<div class="col-xs-12">收货地址: {$row.address.area}{$row.address.detail}</div>
</div>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">
订单信息
</div>
<div class="panel-body">
<div class="row show-grid">
<div class="col-xs-6" >订单编号: {$row.order_no}</div>
<div class="col-xs-6" style="color: #8BC34A;">订单状态:
{$row['type']['name']}
</div>
<div class="col-xs-6">商品总价: ¥{$row.total_price}</div>
<div class="col-xs-6">支付邮费: ¥{$row.express_price}</div>
<div class="col-xs-6">优惠金额: ¥{$row.reduce_price}</div>
<div class="col-xs-6">实际支付: ¥{$row.order_price}</div>
{if condition="$row['refund_price'] > 0"}
<div class="col-xs-6" style="color: #f1a417">退款金额: ¥{$row.refund_price}</div>
{/if}
{if condition="$row['score'] > 0"}
<div class="col-xs-6" style="color: #f1a417">使用积分: {$row.score}</div>
{/if}
<div class="col-xs-6">创建时间: {$row.createtime|date="Y/m/d H:i",###}</div>
{notempty name="row.pay_time"}
<div class="col-xs-6">支付时间: {$row.pay_time|date="Y/m/d H:i",###}</div>
{/notempty}
</div>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">
商品信息
</div>
<div class="panel-body">
<div class="row show-grid">
{foreach name='row.goods' item="v"}
<div class="col-xs-12">
<!--商品信息-->
<div class="col-xs-6">
<img class="img-md" src="{$v.goods_image}">
<div class="col-xs-6">
<h4>{$v.goods_name}</h4>
{foreach name="v.goods_style_text" item="val"}
{/foreach}
<p>{$v.goods_attr}</p>
<p>¥{$v.goods_price} * {$v.goods_num}</p>
</div>
</div>
<!--商品定制项-->
<div class="col-xs-6">
{foreach name="v.goods_style_text" item="val"}
<div class="col-xs-6">
<span style="float:left">{$val.style_name}:</span>
<span style="float:left">
{eq name="val.style_type" value="3"}
<img class="img-sm" src="{$val.style_value}"/>
{else/}
{$val.style_value}
{/eq}
</span>
</div>
{/foreach}
</div>
</div>
{/foreach}
</div>
</div>
</div>
</div>
{if condition="$row['delivery_status'] eq '1'"}
<div class="col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">
物流信息
</div>
<div class="panel-body">
<div class="row show-grid">
<div class="col-xs-6" >快递公司: {$row.express_company}</div>
<div class="col-xs-6">快递单号: {$row.express_no} | <button class="kdniao" type="button" data-company="{$row.express_code}" data-code="{$row.express_no}">物流查询</button></div>
</div>
</div>
</div>
</div>
{/if}
</div>
</div>