banner_swipe_and_single.phtml 620 Bytes
{{#if list}}
<div class="banner-top">
    <div class="banner-swiper swiper-container">
        <ul class="swiper-wrapper">
            {{# list}}
            <li class="swiper-slide">
                <a href="{{url}}">
                    <img class="swiper-lazy" data-src="{{img}}">
                </a>
                <div class="swiper-lazy-preloader"></div>
            </li>
            {{/ list}}
        </ul>
    </div>
    <div class="swiper-pagination">
        <div class="pagination-inner">
        </div>
    </div>
</div>
{{^}}
    <a href={{url}}>
        <img class="img" src={{img}}>
    </a>
{{/if}}