main-product.hbs 1.15 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">¥{{salesPrice}}</span>
                            <label class="discount">{{discount}}</label>
                        </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}}