index.phtml 1.87 KB
{{> layout/header}}
<div class="guang-list-page guang-page yoho-page">
    {{# guang}}
        <div class="swiper-container">
            <div class="swiper-wrapper">
                {{# swiper}}
                    <div class="swiper-slide">
                        <a href="{{url}}">
                            <img class="swiper-lazy" data-src="{{img}}">
                        </a>
                        <div class="swiper-lazy-preloader"></div>
                    </div>
                {{/ swiper}}
            </div>
            <div class="swiper-pagination"></div>
        </div>

        {{# authorInfo}}
            <div id="author-infos" class="editor-header clearfix" data-id={{id}}>
                <div class="avatar">
                    <img src="{{avatar}}">
                </div>
                <div class="text">
                    <p class="name">{{name}}</p>
                    <p class="info">{{info}}</p>
                </div>
            </div>
        {{/ authorInfo}}

        <ul id="guang-nav" class="guang-nav clearfix">
            {{# navs}}
                <li class="guang-nav-item {{#focus}}focus{{/focus}}" data-type={{typeId}}>
                    {{type}}
                </li>
            {{/ navs}}
        </ul>
        
        <div id="info-list" class="info-list-container">
            {{# infos}}
                <div class="info-list{{^show}} hide{{/show}}">
                    {{# info}}
                        {{> guang/info}}
                    {{/ info}}
                </div>
            {{/ infos}}
        </div>

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