<?php if (!defined('ROOT')){ echo 'Deny ...'; exit; } extract($data); ?>
<ons-page ng-controller="UserQunController">
    <div class="navigation-bar">
        <div class="navigation-bar__left">
            <span class="toolbar-button--quiet navigation-bar__line-height" onclick="userNavigator.popPage();">
                <i class="ion-ios-arrow-back" style="font-size:32px; vertical-align:-6px;"></i>
                返回
            </span>
        </div>
        <div class="navigation-bar__center">
            我的微信群
        </div>
        <div class="navigation-bar__right"></div>
    </div>
    <ons-list class="timeline">
        <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 class="button button--light" ng-click="delete(item.id);">删除</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>