fresh-only.hbs 1.27 KB
{{#data}}
    {{> ../common/floor-header-more}}
    <div class="fresh-only">
        {{# banner_image}}
        <div class="fresh-swiper">
            <a href="{{url}}">
                <img class="lazy" data-original="{{image src 640 200}}">
            </a>
        </div>
        {{/ banner_image}}
        <div class="fresh-list-swiper">
            <ul class="clearfix swiper-wrapper">
            {{# list}}
            <li class="swiper-slide">
                <div class="img-box">
                    <a href="{{url}}">
                        <img src="{{image default_images 235 314}}" alt="">
                    </a>
                    <div class="swiper-lazy-preloader"></div>
                </div>
                <div class="fresh-info">
                    <p class="fresh-name"><a href="{{url}}">{{product_name}}</a></p>
                    <p class="price">
                        <span class="cur-price">¥{{sales_price}}</span>
                        {{# market_price}}
                        <span class="old-price">¥{{.}}</span>
                        {{/market_price}}
                    </p>
                    <span class="fresh-icon">新人价</span>
                </div>
            </li>
            {{/ list}}
        </ul>
        </div>
    </div>
{{/data}}