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