orderDetail.hbs
4.07 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
<div class="order-detail-page yoho-page">
{{# orderDetail}}
{{> fraud}}
<a class="base-status clearfix" {{#if expressUrl}}href="{{expressUrl}}"{{/if}}>
{{#if orderDetailInfo}}
{{#orderDetailInfo}}
<div class="status-c">
<div class="status-title">{{value}}</div>
<div class="status-body">{{{ext.desc}}}</div>
<div class="status-time">{{ext.pay_expire}}</div>
</div>
{{#if ../expressUrl}}
<span class="iconfont"></span>
{{/if}}
{{/orderDetailInfo}}
{{/if}}
</a>
<div id="order-detail" data-id="{{orderCode}}">
{{#unless deliveryOffline}}
{{#if isVirtual}}
<section class="block">
<div class="tickets-mobile">
<span class="pull-left">手机号码:</span>
<span class="pull-right">{{mobile}}</span>
</div>
</section>
{{else}}
<section class="owner-info block">
<span class="iconfont"></span>
<div class="beside-icon">
<p class="name-phone">
{{deliveryInfo.userName}}
<span>{{deliveryInfo.mobile}}</span>
</p>
<p class="address">
{{addressAll}}
</p>
</div>
</section>
{{/if}}
{{/unless}}
<section class="goods block">
{{> jit-more}}
{{# goods}}
{{> order/good}}
{{/ goods}}
</section>
{{#orderAmountInfo}}
<ul class="cost block">
{{#each promotionFormulas}}
<li> {{promotion}}:
<span>{{promotionAmount}}</span>
</li>
{{/each}}
</ul>
<ul class="real-amount">
{{#realAmount}}
<li>
{{promotion}}:
<span>{{promotionAmount}}</span>
</li>
{{/realAmount}}
</ul>
{{/orderAmountInfo}}
{{#if orderExtInfo.yohoGiveCoin}}
<p class="dollar">
<span class="bg-dollar"></span>
共返YOHO币:
<span>{{orderExtInfo.yohoGiveCoin}}</span>个
</p>
{{/if}}
{{#invoice}}
<ul class="invoice-info">
<li>
<span>发票信息</span>
<span class="invoice-fr">{{#if type}}电子发票{{else}}纸质发票{{/if}}</span>
</li>
<li>
<span>发票抬头</span>
<span class="invoice-fr invoice-title">{{title}}</span>
</li>
{{#if pdfUrl}}
<li>
<a href="{{pdfUrl}}"><span class="invoice-fr invoice-see">点击下载PDF发票</span></a>
</li>
{{/if}}
</ul>
{{/invoice}}
{{!--时间倒计时按钮--}}
{{# orderBtn}}
{{#if leftTimeTop}}
<div class="clock">
<ul class="count-down hide">
<li><span class="iconfont count-down-icon"></span></li>
<li><span class="hours">{{leftTimeTop}}</span></li>
</ul>
</div>
{{/if}}
{{/orderBtn}}
{{!--按钮组--}}
{{> order/order-btns}}
</div>
{{!-- 取消订单原因 --}}
{{> order-detail/reason-mask}}
{{!-- 申请售后退换货组件 --}}
{{> order-detail/refund-change-mask}}
{{#if orderBasicInfo}}
<div class="info-table">
{{#orderBasicInfo}}
<div class="table-item">{{key}}:{{value}}</div>
{{/orderBasicInfo}}
<a href="{{serviceUrl}}" target="_blank" class="iconfont"></a>
</div>
{{/if}}
{{/ orderDetail}}
{{!-- 申请退款原因 --}}
{{> order-detail/refund-reason-mask}}
</div>
{{!-- 一些第三方脚本 --}}
{{> order-detail/scripts}}