good-slide.hbs
1 KB
<div class="goods-slide-item">
<ul class="goods clearfix img-list">
{{#each item}}
<li class="good img-item" data-id="id" data-skn="skn">
<a href="{{href}}" target="_blank" class="good-img">
<img class="lazy" data-original="{{img}}"/>
</a>
<a class="name" href="{{href}}" target="_blank">{{title}}</a>
<p class="price">
<span class="sale-price {{#if marketPrice}}sale-price-new{{/if}}">{{price}}</span>
{{#if marketPrice}}<span class="market-price">{{marketPrice}}</span>{{/if}}
</p>
</li>
{{/each}}
</ul>
<div class="img-brand-switch">
{{#hasPrev}}
<a class="prev iconfont" href="javascript:;"></a>
{{/hasPrev}}
{{#hasNext}}
<a class="next iconfont" href="javascript:;"></a>
{{/hasNext}}
</div>
</div>