<ion-view>
    <ion-nav-title>{{titleArr[type]}}({{data.length}})</ion-nav-title>
    <ion-content>
        <ion-list class="daily">
            <div ng-repeat="item in data" ng-if="type==1||type==2">
                <div class="item item-avatar item-text-wrap">
                    <img ng-src="../../../img/panda.png">
                    <div>
                        <span>{{item.username}}</span>
                        <p>{{item.degree}}</p>
                        <p><i class="ion-ios-location"></i>&nbsp;{{item.address}}</p>
                        <p class="comment-content" ng-bind-html="item.reason"></p>
                        <p class="time">{{type==1?'签到':'签退'}}&nbsp;{{item.check_dd | date:"y-MM-dd HH:mm"}}</p>
                    </div>
                </div>
            </div>
            <div ng-repeat="item in data" ng-if="type==3||type==4||type==0">
                <div class="item item-icon-right">
                    <span>{{item.date}} | {{item.daystr}}</span>
                    <!-- <i class="icon ion-chevron-right icon-accessory"></i> -->
                </div>
            </div>
        </ion-list>
    </ion-content>
</ion-view>