schedule-posted.html 1.0 KB

12345678910111213141516
  1. <ion-view view-title="我安排的日程">
  2. <ion-nav-buttons side="right">
  3. <button class="button button-clear" ng-click="toadd()">
  4. <i class="icon ion-android-add"></i>
  5. </button>
  6. </ion-nav-buttons>
  7. <ion-content ng-class="{true:'overflow-hidden',false:''}[!Ishidded]">
  8. <ion-refresher pulling-text="下拉刷新" on-refresh="doRefresh()"></ion-refresher>
  9. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  10. <div class="schedule-data" ng-if="!loading">
  11. <schedule source="schedule" ng-repeat="schedule in schedules.results" ng-click="todetails(schedule.id)"></schedule>
  12. </div>
  13. <ion-infinite-scroll spinner="android" ng-if="moreCanBeLoaded()" on-infinite="loadMore()" distance="1%" immediate-check="false"></ion-infinite-scroll>
  14. <h4 class="stable center" ng-show="schedules != undefined && schedules.next == null && schedules.results.length > 10">没有更多了</h4>
  15. </ion-content>
  16. </ion-view>