Authored by 梁志锋

update

1 -<div class="good-info" data-id="{{id}}">  
2 - <div class="tag-container clearfix">  
3 - {{# tags}}  
4 - {{# isNew}}  
5 - <p class="good-tag new-tag">NEW</p>  
6 - {{/ isNew}}  
7 - {{# isReNew}}  
8 - <p class="good-tag renew-tag">再到着</p>  
9 - {{/ isReNew}}  
10 - {{# isSale}}  
11 - <p class="good-tag sale-tag">SALE</p>  
12 - {{/ isSale}}  
13 - {{# isYohood}}  
14 - <div class="good-tag yohood-tag"></div>  
15 - {{/ isYohood}}  
16 - {{# isLimit}}  
17 - <p class="good-tag limit-tag">限量商品</p>  
18 - {{/ isLimit}}  
19 - {{/ tags}}  
20 - </div>  
21 - <div class="good-detail-img">  
22 - <a class="good-islike {{# isLike}}good-like{{/ isLike}} iconfont" href="{{likeUrl}}">&#xe605;</a>  
23 - <a class="good-thumb" href="{{url}}">  
24 - <img class="lazy" data-original="{{thumb}}">  
25 - </a>  
26 - {{# isFew}}  
27 - <p class="few-tag">即将售罄</p>  
28 - {{/ isFew}}  
29 - </div>  
30 - <div class="good-detail-text">  
31 - <div class="name">  
32 - <a href="{{url}}">{{name}}</a>  
33 - </div>  
34 - <div class="price">  
35 - <span class="sale-price {{^price}}no-price{{/price}}">¥{{salePrice}}</span>  
36 - {{#price}}  
37 - <span class="market-price">¥{{.}}</span>  
38 - {{/price}}  
39 - </div>  
40 - </div>  
41 -</div>  
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 </p> 5 </p>
6 <div class="goods-list clearfix"> 6 <div class="goods-list clearfix">
7 {{# goods}} 7 {{# goods}}
8 - {{> common/good_info}} 8 + {{> good}}
9 {{/ goods}} 9 {{/ goods}}
10 </div> 10 </div>
11 </div> 11 </div>