banner.hbs 802 Bytes
<div class="banner-center banner-center-swiper">
    {{#if singleOne}}
        {{#data}}
            <div class="banner-list">
                <a href="{{url}}">
                    <img class="lazy" data-original="{{image src 640 200}}" alt="">
                </a>
            </div>
        {{/data}}
    {{else}}
        <ul class="banner-list swiper-wrapper clearfix">
            {{#data}}
            <li class="swiper-slide">
                <a href="{{url}}">
                    <img class="lazy" data-original="{{image src 640 200}}" alt="">
                </a>
            </li>
            {{/data}}
        </ul>
    {{/if}}
    <div class="swiper-pagination" {{#unless singleOne}}style="display:block"{{/unless}}>
        <div class="pagination-inner">
        </div>
    </div>
</div>