Blame view

doraemon/views/partial/product/individual-slide.hbs 1.03 KB
OF1706 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<div class="individual-slide">
    <ul class="goods clearfix img-list">
        {{#each item}}
            <li class="good img-item" data-id="id" data-skn="skn">
                <a href="{{href}}" target="_blank">
                    <img class="lazy" data-original="{{img}}"/>
                </a>
                <a class="name" href="{{href}}" target="_blank">{{title}}</a>
                <p class="price">
                    <span class="sale-price {{#if marketPrice}}sale-price-new{{/if}}">{{price}}</span>
                    {{#if marketPrice}}
                        <span class="market-price">{{marketPrice}}</span>
                    {{/if}}
                </p>
            </li>
        {{/each}}
    </ul>
    <div class="img-brand-switch">
        {{#hasPrev}}
            <a class="prev iconfont" href="javascript:;"></a>
        {{/hasPrev}}
        {{#hasNext}}
            <a class="next iconfont" href="javascript:;"></a>
        {{/hasNext}}
    </div>
</div>