Blame view

doraemon/views/partial/banner.hbs 1.37 KB
biao authored
1
<div class="slide-container {{#if pagination}}slide-thumb-container{{/if}}">
hongweigao authored
2
    <span id="bannerFloorId" class="hide">{{floorId}}</span>
毕凯 authored
3 4 5 6
    <div class="slide-wrapper">
        <ul>
            {{# list}}
            <li style="{{#if bgColor}}background:{{bgColor}}{{/if}}">
7
                <a href="{{url}}" target= "_blank" title="{{title}}">
毕凯 authored
8
                    {{#if @first}}
OF1706 authored
9
                    <img src="{{image2 src w=1150 h=450}}"  alt="{{title}}-YOHO!BUY有货">
毕凯 authored
10
                    {{^}}
OF1706 authored
11
                    <img class="lazy" data-original="{{image2 src w=1150 h=450}}" alt="{{title}}-YOHO!BUY有货">
毕凯 authored
12 13 14 15 16 17 18 19 20 21 22 23
                    {{/if}}
                </a>
                {{# tips}}
                <div class="slide-tips">
                    <div class="g-mark"></div>
                    <p>{{.}}</p>
                </div>
                {{/ tips}}
            </li>
            {{/ list}}
        </ul>
    </div>
biao authored
24 25 26 27 28

    {{#if pagination}}
    <div class="thumb-pagination">
        <ul class="clearfix">
            {{# pagination}}
毕凯 authored
29
            <li>
30 31
                <a href="{{url}}" target="_blank" title="{{title}}"></a>
                <img src="{{image2 src w=138 h=54}}"  alt="{{alt}}">
biao authored
32 33 34 35 36 37 38
            </li>
            {{/ pagination}}
        </ul>
    </div>
    {{/if}}
</div>
<div class="slide-container-placeholder {{#if pagination}}slide-thumb-container-placeholder{{/if}}"></div>