preference.hbs 725 Bytes
<div class="title">为您优选新品</div>
<div id="swiper-recommend" class="swiper-container">
    <div class="swiper-wrapper swiper-wrapper-recommend">
        {{# recommendList}}
        <a class="swiper-slide" href="{{url}}">
            <img class="swiper-lazy img-box" data-src="{{image thumb 299 388}}">
            <div class="sale-name">
               {{name}}
            </div>
            <div class="price">
                <span class="sale-price {{^price}}no-price{{/price}}">¥{{salePrice}}</span>
                {{#price}}<span class="old-price">&yen{{.}}</span>{{/price}}
            </div>
            <div class="swiper-lazy-preloader"></div>
        </a>
        {{/ recommendList}}
    </div>
</div>