guang.hbs 2.24 KB
<div class="guang-list-page guang-page yoho-page" id="guangList">
    {{# guang}}
        <div class="nav-scroll">
            <ul id="guang-nav" class="guang-nav">
                {{# navs}}
                    <li class="guang-nav-item {{#focus}}focus{{/focus}}" data-type={{typeId}}>
                        <span>{{type}}</span>
                    </li>
                {{/ navs}}
                <li class="guang-nav-item news-jump" data-type=-1>
                    <a href='//m.yohobuy.com/guang/news' title='资讯'>资讯</a>
                </li>
            </ul>
        </div>
        <div id="info-list" class="info-list-container">
            {{# infos}}
                <div class="info-list{{^show}} hide{{/show}}">
                    {{#if show}}
                        {{#if ../swiper}}
                            <div class="swiper-container swiper-cont-{{typeId}}">
                                <div class="swiper-wrapper swiper-wrap-{{typeId}}">
                                    {{# ../swiper}}
                                        <div class="swiper-slide">
                                            <a href="{{url}}">
                                                {{#if @first}}
                                                <img src="{{image2 img q=60}}">
                                                {{^}}
                                                <img class="swiper-lazy" data-src="{{image2 img q=60}}">
                                                {{/if}}
                                            </a>
                                        </div>
                                    {{/ ../swiper}}
                                </div>
                            </div>
                        {{/if}}
                    {{/if}}
                    {{# info}}
                        {{> index/info}}
                    {{/ info}}
                </div>
            {{/ infos}}
        </div>

        <div id="load-more-info" class="load-more-info">
            <div class="loading status hide">
                正在加载...
            </div>
            <span class="no-more status">没有更多啦</span>
        </div>
        <input id="gender" type="hidden" value={{gender}}>
    {{/ guang}}
</div>
{{> footer-tab}}