brandLogos.hbs 1.12 KB
<ul>
    {{#brandLogos}}
        {{#if isBrand}}
        <li data-page="{{pageNum}}">
            <a href="{{href}}" target="_blank">
                <img class="lazy" data-original="{{img}}" alt="">
            </a>
        </li>
        {{/if}}
        {{#if isSwitch}}
        <li class="logo-brand-switch" data-page="{{pageNum}}">
            <a class="prev iconfont" href="javascript:;">&#xe609;</a>
            <a class="next iconfont" href="javascript:;">&#xe608;</a>
        </li>
        <li data-page="{{pageNum}}">
            <a href="{{href}}" target="_blank">
                <img class="lazy" data-original="{{img}}" alt="">
            </a>
        </li>
        {{/if}}
        {{#if isMore}}
        <li class="brand-more" data-page="{{morePageNum}}">
            <a href="{{../moreBrand}}" target="_blank">MORE ></a>
        </li>
            {{#if hasNext}}
            <li data-page="{{pageNum}}">
                <a href="{{href}}" target="_blank">
                    <img class="lazy" data-original="{{img}}" alt="">
                </a>
            </li>
            {{/if}}
        {{/if}}
    {{/brandLogos}}
</ul>