Blame view

doraemon/views/partial/resources/banner-top.hbs 786 Bytes
毕凯 authored
1 2 3
<div class="banner-top">
    <div class="banner-swiper swiper-container">
        <ul class="swiper-wrapper">
4
            {{#each data}}
毕凯 authored
5 6 7
                {{#if @first}}
                <li class="swiper-slide">
                    <a href="{{url}}">
姜枫 authored
8
                        <img src="{{image2 src w=640 h=240 q=60}}">
毕凯 authored
9 10 11 12 13
                    </a>
                </li>
                {{^}}
                <li class="swiper-slide">
                    <a href="{{url}}">
姜枫 authored
14
                        <img class="swiper-lazy" data-src="{{image2 src w=640 h=240 q=60}}">
毕凯 authored
15 16 17 18 19 20 21 22 23 24
                    </a>
                </li>
                {{/if}}
            {{/each}}
        </ul>
    </div>
    <div class="swiper-pagination">
        <div class="pagination-inner">
        </div>
    </div>
ccbikai authored
25
</div>