goods-box.hbs 1.27 KB
<div class="goods-area clearfix">
    {{#each products}}
        <div class="goods" data-id="{{productId}}" data-url="{{url}}">
            <div class="goods-img">
                <a href="{{url}}" target="_blank">
                    <img class="lazy" data-original="{{image defaultImages 263 344}}" width="263" height="344" alt="">
                </a>
            </div>
            {{#if showBrand}}
            <div class="goods-brand">
                <a href="/product/shop/{{brandDomain}}" target="_self">{{brandName}}</a>
            </div>
            {{/if}}
            <div class="goods-name">
                <a href="{{url}}" target="_blank">{{productName}}</a>
            </div>
            <div class="goods-price">
                <span>¥{{round salesPrice}}</span>
                {{#if marketPrice}}
                    <b>¥{{round marketPrice}}</b>
                {{/if}}
            </div>
            <div class="goods-list hide">
                {{#each goodsList}}
                    <i data-url="{{url}}">{{image imagesUrl 256 343}}</i>
                {{/each}}
            </div>
        </div>
    {{/each}}
    <div class="goods-wrapper">
        <div class="goods">
        </div>
        <div class="goods-img-list clearfix">
        </div>
    </div>
</div>