good.hbs
1.78 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="order-good" data-id="{{id}}">
<div class="thumb-wrap">
{{#if link}}
<div class="pic-c">
<a href="{{link}}">
<img class="thumb" src="{{image thumb 90 120}}">
</a>
{{#if tickets}}
<p>虚拟商品</p>
{{/if}}
</div>
{{else}}
<div class="pic-c">
<img class="thumb" src="{{image thumb 90 120}}">
{{#if tickets}}
<p>虚拟商品</p>
{{/if}}
</div>
{{/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 colorAttr}}{{colorAttr}}{{else}}颜色:{{color}}{{/if}}
</span>
{{/if}}
{{#if size}}
<span class="size">
{{#if sizeAttr}}{{sizeAttr}}{{else}}{{skuTitle}}:{{size}}{{/if}}
</span>
{{/if}}
</p>
{{#if appearDate}}
<span class="appear-date">上市期:{{appearDate}}</span>
{{/if}}
<p class="row price-wrap">
{{!-- {{#if isVipPrice}}
<span class="fill-text">VIP</span>
{{/if}}
{{#if isStudebt}}
<span class="fill-text">学</span>
{{/if}} --}}
<span class="price">
¥{{payPrice}}
</span>
{{#if salePrice}}
<span class="sale-price">
¥{{salePrice}}
</span>
{{/if}}
<span class="count">
×{{count}}
</span>
</p>
</div>
</div>