daily-read.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <ion-view view-title="我可以查看的工作汇报">
  2. <ion-content>
  3. <ion-refresher pulling-text="下拉刷新" on-refresh="doRefresh()"></ion-refresher>
  4. <!--<div class="button-bar report-button">
  5. <button class="button" ng-class="{true:'daily-color',false:'daily-hover'}[index==0?true:false]" ng-click="select(0)">日报</button>
  6. <button class="button" ng-class="{true:'daily-color',false:'daily-hover'}[index==1?true:false]" ng-click="select(1)">周报</button>
  7. <button class="button" ng-class="{true:'daily-color',false:'daily-hover'}[index==2?true:false]" ng-click="select(2)">月报</button>
  8. </div>
  9. <ion-slide-box show-pager="false" ng-init="init()" class="text-margin">
  10. <ion-slide>-->
  11. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  12. <ion-list ng-if="!loading">
  13. <div ng-repeat="(key,item) in summary.results track by $index">
  14. <div class="item item-stable center"><!--ng-if="isMonth(item[0])"-->
  15. <a class="link" ng-click="toMonthCount(item[0])">{{key}}&nbsp;统计</a>
  16. </div>
  17. <a class="item item-icon-right"
  18. ng-repeat="it in item track by $index"
  19. ng-click="toDayCount(it.daily_date)">
  20. {{it.daily_date | date:'MM-dd'}}
  21. <span class="item-note">{{it.count}}篇</span>
  22. <i class="icon ion-chevron-right icon-accessory"></i>
  23. </a>
  24. </div>
  25. </ion-list>
  26. <ion-infinite-scroll spinner="android" ng-if="moreCanBeLoaded()" on-infinite="loadMore()" distance="1%" immediate-check="false"></ion-infinite-scroll>
  27. <!--</ion-slide>
  28. <ion-slide>
  29. <ion-list>
  30. <a class="item item-icon-right" href="#/daily-read/1">{xx月xx周}
  31. <span class="item-note">{number}</span>
  32. <i class="icon ion-chevron-right icon-accessory"></i>
  33. </a>
  34. </ion-list>
  35. </ion-slide>
  36. <ion-slide>
  37. <ion-list>
  38. <a class="item item-icon-right">{xx月}
  39. <span class="item-note">{number}</span>
  40. <i class="icon ion-chevron-right icon-accessory"></i>
  41. </a>
  42. </ion-list>
  43. </ion-slide>
  44. </ion-slide-box>-->
  45. </ion-content>
  46. </ion-view>