Blame view

doraemon/views/partial/resources/banner.hbs 792 Bytes
zzzzzzz authored
1 2 3
{{#if singleOne}}
{{#data}}
    <div class="banner-list">
lijing authored
4
        <a href="{{url}}" id="{{../template_id}}" name="{{../template_intro}}">
5
            <img src="{{image2 src w=640 h=200 q=60 mode=3}}" alt="">
zzzzzzz authored
6 7 8 9
        </a>
    </div>
{{/data}}
{{else}}
zzzzzzz authored
10
<div class="banner-center banner-center-swiper">
zzzzzzz authored
11
    <ul class="banner-list swiper-wrapper clearfix">
zzzzzzz authored
12
        {{#data}}
zzzzzzz authored
13
        <li class="swiper-slide">
lijing authored
14
            <a href="{{url}}" id="{{../template_id}}" name="{{../template_intro}}">
15
                <img src="{{image2 src w=640 h=200 q=60 mode=3}}" alt="">
zzzzzzz authored
16 17
            </a>
        </li>
zzzzzzz authored
18
        {{/data}}
zzzzzzz authored
19
    </ul>
zzzzzzz authored
20 21 22 23
    <div class="swiper-pagination" {{#unless singleOne}}style="display:block"{{/unless}}>
        <div class="pagination-inner">
        </div>
    </div>
王水玲 authored
24
</div>
zzzzzzz authored
25
{{/if}}