order-status.hbs
1.25 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
<div class="order-status order" data-code="{{orderCode}}">
<div class="basic">
<p>订单号:{{orderCode}}</p>
<p>订单状态:{{statusStr}}</p>
<div class="edit-btns">
<ul>
{{# btns}}
<li>
{{#if isPayBtn}}
<a href="{{payUrl}}">
<span class="{{classStr}}">{{name}}</span>
</a>
{{^}}
<span class="{{classStr}}">{{name}}</span>
{{/if}}
</li>
{{/ btns}}
</ul>
</div>
</div>
{{#if showLeftTime}}
<div class="time">
<span>剩余支付时间:</span>
<span class="iconfont"></span>
<p class="left-time" data-left={{payLefttime}}></p>
<span class="tip">(逾期订单将自动取消)</span>
</div>
{{/if}}
{{#if steps}}
<div class="time-line">
<ul>
{{# steps}}
<li class="{{#if @first}}first{{/if}} {{#if @last}}last{{/if}} {{#if isActive}}active{{/if}} {{#if isLastActive}}last-active{{/if}}">{{stepStr}}</li>
{{/ steps}}
</ul>
<p>{{createTime}}</p>
</div>
{{/if}}
</div>