fresh-only.hbs 1.31 KB
{{#data}}
    {{> common/floor-header-more}}
    <div class="fresh-only">
        {{# banner_image}}
        <div class="fresh-swiper">
            <a href="{{url}}">
                <img class="lazy" data-original="{{image2 src w=640 h=200 q=60}}">
            </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 class="swiper-lazy" data-src="{{image2 default_images w=235 h=314 q=60}}" 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}}