main-product.hbs 1.07 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>
    {{> common/foot-pager}}
{{/ goodsBoard}}