Blame view

public/hbs/common/best-for-you.hbs 566 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{{#if bestForYou}}
<div class="top-title">
    <span>为您优选</span>
    <label class="change-btn">换一批</label>
</div>
<div class="product-wrap">
    <ul class="clearfix">
        {{# bestForYou}}
            <li>
                <a href="{{href}}" data-id="{{productId}}" target="_blank">
                    <img class="thumb" src="{{image thumb 190 256}}">
                    <p class="name">{{name}}</p>
                    <span class="price">¥{{price}}</span>
                </a>
            </li>
        {{/ bestForYou}}
    </ul>
</div>
{{/if}}