orders.hbs
2.68 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
{{#each orders}}
<div class="order-page">
<div class="order" data-id="{{orderCode}}" data-href="{{detailUrl}}">
<header class="header">
订单编号:{{orderCode}}
<span class="order-status">{{orderStatusDesc}}</span>
</header>
<section class="order-goods">
{{# goods}}
<div class="order-good" data-id="{{id}}">
<div class="thumb-wrap">
{{#if link}}
<a href="{{link}}"><img class="thumb lazy" src="{{thumb}}"></a>
{{else}}
<img class="thumb lazy" src="{{thumb}}">
{{/if}}
<p class="tag{{#if gift}} gift-tag{{/if}}{{#if advanceBuy}} advance-buy-tag{{/if}}"></p>
</div>
<div class="deps">
<p class="name row">{{name}}</p>
<p class="row">
{{#if color}}
<span class="color">
{{#if tickets}}日期{{else}}颜色{{/if}}:{{color}}
</span>
{{/if}}
{{#if size}}
<span class="size">
{{#if tickets}}区域{{else}}尺码{{/if}}:{{size}}
</span>
{{/if}}
</p>
<p class="row price-wrap">
<span class="price">
¥{{price}}
</span>
<span class="count">
×{{count}}
</span>
{{#if appearDate}}
<span class="appear-date">上市期:{{appearDate}}</span>
{{/if}}
</p>
</div>
</div>
{{/ goods}}
</section>
<footer class="footer">
共{{count}}件商品 实付<span class="sum-cost">¥{{lastOrderAmount}}</span>
{{#shippingCost}}(含运费¥{{.}}){{/shippingCost}}
</footer>
<div class="send-order clearfix">
<button class="send-order-btn" data-action="select">发送订单</button>
</div>
</div>
<input class="js-create-time" type="hidden" name="human-time" value="{{time}}">
</div>
{{else}}
<div class="no-orders">
<i class="no-orders-pic"></i>
<p>您暂时没有订单</p>
<a href="//m.yohobuy.com/product/new">随便逛逛</a>
</div>
{{/each}}