main-product.hbs 1.07 KB
{{# goodsBoard}}
    <div 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">¥{{salesPrice}}</span>
                            <label class="discount">{{discount}}</label>
                        </p>
                    </div>
                </div>
            {{/ list}}
        </div>
    </div>
{{/ goodsBoard}}
<div class="product-pager clearfix">
    <span class="total">{{{total}}}</span>
    <div class="pager">{{{pager}}}</div>
</div>