Authored by yyq

sale out 跳转

... ... @@ -32,28 +32,21 @@
<p class="few-tag">即将售罄</p>
{{/ isFew}}
{{# isSaleOut}}
<div class="sale-out">
{{#if isSaleOut}}
<a class="sale-out" href="{{url}}">
<span class="sale-out-tip">已抢光</span>
</div>
{{/ isSaleOut}}
</a>
{{/if}}
{{#if showColBtn}}
<span class="col-btn iconfont{{#if coled}} coled{{/if}}">&#xe616;</span>
{{/if}}
</div>
<div class="good-detail-text">
{{#if isSaleOut}}
<a href="javascript:;">{{{productName}}}</a>
<p class="brand">
<a href="javascript:;">{{brandName}}</a>
</p>
{{^}}
<a href="{{url}}" target="_blank">{{{productName}}}</a>
<p class="brand">
<a href="{{brandUrl}}">{{brandName}}</a>
</p>
{{/if}}
<a href="{{url}}" target="_blank">{{{productName}}}</a>
<p class="brand">
<a href="{{brandUrl}}">{{brandName}}</a>
</p>
<p class="price {{#if vip}}vip-center{{/if}}">
{{# marketPrice}}
<span class="market-price">¥{{round . 2}}</span>
... ...