product-table.phtml
2.61 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
<ul>
{{# goods}}
<li class="fav-good fav-row" data-id="{{skn}}">
<div class="checkbox">
<input type="checkbox">
</div>
<a class="thumb" href="{{url}}">
<img src="{{img}}">
</a>
<div class="text-info">
<a class="name" href="{{url}}">
{{name}}
</a>
{{#if buyAgain}}
<span class="has-bought">已购</span>
{{/if}}
{{# activites}}
<span class="has-activity">商品可参加的活动({{count}})</span>
<div class="activites hide">
<ul>
{{# list}}
<li>
<span class="type">{{type}}</span>
<span class="activity-name">【{{name}}】</span>
{{desc}}
</li>
{{/ list}}
</ul>
<div class="arrow"></div>
</div>
{{/ activites}}
</div>
<div class="price">
<em>{{price}}</em>
{{#if priceDown}}
<span class="price-down">
比收藏时降了
<em>
{{priceDown}}
<i class="iconfont"></i>
</em>
</span>
{{/if}}
</div>
<div class="options">
{{#if soldOut}}
<span class="sold-out">已售罄</span>
{{^}}
{{#if buyNow}}
<a class="buy-now" href="{{buyNow}}" target="_blank">立即购买</a>
{{/if}}
{{#if buyAgain}}
<a class="buy-again" href="{{buyAgain}}" target="_blank">再次购买</a>
{{/if}}
<span class="price-down-clock{{#if hadNoticed}} noticed{{/if}}">
{{#if hadNoticed}}
[ 取消通知 ]
{{^}}
[ 降价通知 ]
{{/if}}
</span>
{{/if}}
{{#if delUrl}}
<a class="del-favorite" href="{{delUrl}}">[ 删除 ]</a>
{{/if}}
</div>
</li>
{{/ goods}}
</ul>