fresh_only.phtml 1.1 KB
{{> home/floor_header_more}}
<div class="fresh-only">
    {{# big_image}}
    <div class="fresh-swiper">
        <a href="{{url}}">
            <img class="lazy" data-original="{{img}}">
        </a>
    </div>
    {{/ big_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="{{img}}" alt="">
                </a>
                <div class="swiper-lazy-preloader"></div>
            </div>
            <div class="fresh-info">
                <p class="fresh-name"><a href="{{url}}">{{title}}</a></p>
                <p class="price">
                    <span class="cur-price"{{salePrice}}</span>
                    {{# price}}
                    <span class="old-price"{{.}}<span>
                    {{/price}}
                </p>
                <span class="fresh-icon">新人价</span>
            </div>            
        </li>
        {{/ list}}
    </ul>
    </div>    
</div>