<?php if (!defined('ROOT')){ echo 'Deny ...'; exit; } extract($data); ?>
<ons-page ng-controller="ListsController">
    <div class="tab-bar tab-bar--top tab-bar--top-border" id="fixedNav" style="<?php echo $cssFixed;?>">
        <label class="tab-bar__item tab-bar--top-border__item" ng-click="modal.show();load();">
            <input type="radio" name="listTabs" checked="checked" value="0">
            <button class="tab-bar__button tab-bar--top-border__button">个人二维码</button>
        </label>

        <label class="tab-bar__item tab-bar--top-border__item" ng-click="modal.show();loadQun();">
            <input type="radio" name="listTabs" value="1">
            <button class="tab-bar__button tab-bar--top-border__button">微信群二维码</button>
        </label>
    </div>

    <ons-list class="timeline" style="<?php echo $cssMgtop;?>">
        <p ng-show="items.length === 0" style="padding-left: 24px;">
            没有相关数据
        </p>
        <ons-list-item class="timeline-li" ng-repeat="item in items">
            <ons-row>
                <ons-col width="60px">
                    <img ng-src="{{item.avatar}}?imageView/1/w/60/h/60" class="timeline-image">
                </ons-col>

                <ons-col>
                    <div class="timline-from">
                        <span class="timeline-name">[{{item.province}}{{item.city}}]{{item.nickname}}</span>
                    </div>
                    <div class="timeline-message">
                        <span class="timeline-id">{{item.industry}}</span> {{item.intro}}
                    </div>
                </ons-col>
                <ons-col width="60px">
                    <div class="timeline-date"><button data="{{item.qrcode}}" data-id="{{item.id}}" class="button button--light" onclick="qrcode($(this));">{{join}}</button></div>
                </ons-col>
            </ons-row>
        </ons-list-item>        
    </ons-list>
    <div style="text-align: center; margin-bottom: 12px;" ng-show="count > 0"><button class="button button--light" ng-click="loadMore();">点击加载更多</button></div>
</ons-page>