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