postedtask.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  18. <ion-item style="height: 53px;"></ion-item>
  19. <div class="task-data" ng-if="!loading">
  20. <task source="data" ng-repeat="data in Task" ng-click="todetails(data)"></task>
  21. <div class="none-content center" ng-if="Task.length==0">没有内容</div>
  22. <h4 class="stable center" ng-show="Task.length>=10&&totalcount==Task.length">没有更多了</h4>
  23. </div>
  24. <div ng-if="!loading" class="select-div" ng-class="{true:'hidden-item',false:''}[Ishidded]">
  25. <ul class="list" ng-class="{true:'hidden-item',false:''}[headerion.leftion]">
  26. <li class="item-sort">
  27. <ion-radio name='left' ng-model="item.check" ng-value="true" ng-repeat="item in leftdata" ng-click="change('f',item);">
  28. {{item.name}}
  29. </ion-radio>
  30. </li>
  31. </ul>
  32. <ul class="list" ng-class="{true:'hidden-item',false:''}[headerion.rightion]">
  33. <li class="item-sort">
  34. <ion-radio name='right' ng-model="rightdata[0].check" ng-value="true" ng-click="change('r',rightdata[0]);">
  35. {{rightdata[0].name}}
  36. </ion-radio>
  37. </li>
  38. <li class="item-sort">
  39. <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]);">
  40. {{rightdata[1].name}}
  41. <i ng-class="{true:'radio-icon icon ion-checkmark right-ion',false:'icon ion-chevron-right icon-accessory'}[rightdata[1].check]"></i>
  42. </ion-item>
  43. </li>
  44. </ul>
  45. </div>
  46. <div class="select-back" ng-class="{true:'hidden-item',false:''}[Ishidded]" ng-click="backhide();"></div>
  47. <ion-infinite-scroll spinner="android" ng-if="totalcount!=Task.length" on-infinite="loadMore()" distance="1%" immediate-check="false">
  48. </ion-infinite-scroll>
  49. </ion-content>
  50. </ion-view>