good-info.html
1.43 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
<div class="good-info">
<div class="good-detail-img">
{{# isLike}}
<a class="good-islike good-like iconfont" href="javascript:;"></a>
{{/ isLike}}
{{^ isLike}}
<a class="good-islike iconfont" href="javascript:;"></a>
{{/ isLike}}
<a class="good-thumb" href="{{url}}">
<img src="{{thumb}}">
</a>
<div class="tag-container">
{{# isNew}}
<div class="good-tag new-tag clearfix">
<i></i>
<span>新品到着</span>
<em>NEW</em>
</div>
{{/ isNew}}
{{# isSale}}
<div class="good-tag sale-tag clearfix">
<i></i>
<span>打折商品</span>
<em>SALE</em>
</div>
{{/ isSale}}
{{# isFew}}
<div class="good-tag few-tag clearfix">
<i></i>
<span>即将售罄</span>
<em>FEW</em>
</div>
{{/ isFew}}
</div>
</div>
<div class="good-detail-text">
<div class="name">
<a href="{{url}}">{{name}}</a>
</div>
<div class="price">
<span class="sale-price">¥{{salePrice}}</span>
<span class="market-price">¥{{price}}</span>
</div>
</div>
</div>