main-product.hbs
1.24 KB
{{# goodsBoard}}
<div id="otspool" class="main-product">
{{> common/goods-menu}}
<div class="sort-layer">
<div class="full-line">
{{> common/sort-pager}}
</div>
</div>
<div class="product-list clearfix">
{{# list}}
<div class="list-item">
<a class="thumb" href="{{url}}" target="_blank">
<img class="lazy" data-original="{{image thumb 235 314}}">
</a>
<div class="detail-text">
<a class="name" href="{{url}}" target="_blank">{{productName}}</a>
<p>
<span class="price">¥{{round salesPrice 2}}</span>
{{# discount}}
<label class="discount">{{.}}折</label>
{{/ discount}}
</p>
</div>
</div>
{{/ list}}
</div>
</div>
<div class="product-pager clearfix">
<span class="total">{{sort.start}} - {{sort.end}} / 共{{sort.totalCount}}件商品</span>
<div class="pager">{{{pager}}}</div>
</div>
{{/ goodsBoard}}