postedtask.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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>
  8. <div class="row item item-row" ng-if="!loading" style="position: fixed;z-index: 9999">
  9. <div class="col col-50" ng-click="leftdisplay();">
  10. {{title[0].name}}&nbsp;&nbsp;<i ng-class="{true:'ion-android-arrow-dropdown',false:'ion-android-arrow-dropup updown-color'}[headerion.leftion]"></i>
  11. </div>
  12. <label class="v-line">|</label>
  13. <div class="col col-50" ng-click="rightdisplay();">
  14. {{title[1].name}}&nbsp;&nbsp;<i ng-class="{true:'ion-android-arrow-dropdown',false:'ion-android-arrow-dropup updown-color'}[headerion.rightion]"></i>
  15. </div>
  16. </div>
  17. <div ng-if="loading" class="center init-load action-sheet-backdrop">
  18. <ion-spinner icon="android"></ion-spinner>
  19. </div>
  20. <ion-item style="height: 53px;"></ion-item>
  21. <div class="task-data" ng-if="!loading">
  22. <task source="data" ng-repeat="data in Task" ng-click="todetails(data)"></task>
  23. <div class="none-content center" ng-if="Task.length==0">没有内容</div>
  24. <h4 class="stable center" ng-show="Task.length>=10&&totalcount==Task.length">没有更多了</h4>
  25. </div>
  26. <div ng-if="!loading" class="select-div" ng-class="{true:'hidden-item',false:''}[Ishidded]">
  27. <ul class="list" ng-class="{true:'hidden-item',false:''}[headerion.leftion]">
  28. <li class="item-sort">
  29. <ion-radio name='left' ng-model="item.check" ng-value="true" ng-repeat="item in leftdata" ng-click="change('f',item);">
  30. {{item.name}}
  31. </ion-radio>
  32. </li>
  33. </ul>
  34. <ul class="list" ng-class="{true:'hidden-item',false:''}[headerion.rightion]">
  35. <li class="item-sort">
  36. <ion-radio name='right' ng-model="rightdata[0].check" ng-value="true" ng-click="change('r',rightdata[0]);">
  37. {{rightdata[0].name}}
  38. </ion-radio>
  39. </li>
  40. <li class="item-sort">
  41. <ion-item class="item item-icon-right" ng-class="{true:'updown-color',false:''}[rightdata[1].check]" type="item-text-wrap" ng-click="change('r',rightdata[1]);">
  42. {{rightdata[1].name}}
  43. <i ng-class="{true:'radio-icon icon ion-checkmark right-ion',false:'icon ion-chevron-right icon-accessory'}[rightdata[1].check]"></i>
  44. </ion-item>
  45. </li>
  46. </ul>
  47. </div>
  48. <div class="select-back" ng-class="{true:'hidden-item',false:''}[Ishidded]" ng-click="backhide();"></div>
  49. <ion-infinite-scroll spinner="android" ng-if="totalcount!=Task.length" on-infinite="loadMore()" distance="1%" immediate-check="false">
  50. </ion-infinite-scroll>
  51. </ion-content>
  52. </ion-view>