power-set.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <ion-view view-title="权限设置">
  2. <ion-nav-buttons style="border:none" side="right">
  3. <button class="button button-icon ion-ios-more" ng-if="isshowdelete.showDelete!=true && !loading" ng-click="popover.show($event)"></button>
  4. <button class="button button-clear" ng-if="isshowdelete.showDelete && !loading" ng-click="ok();">完成</button>
  5. </ion-nav-buttons>
  6. <ion-content>
  7. <div class="item item-divider dividercolor">允许发通知的成员</div>
  8. <div ng-show="loading" class="center init-load action-sheet-backdrop">
  9. <ion-spinner icon="android"></ion-spinner>
  10. </div>
  11. <ion-list ng-if="!loading">
  12. <ion-item class="rj-contacts-item">
  13. <div ng-repeat="result in resultdata track by $index">
  14. <div class="rj-contacts-index-bar item-remove-animate" id="index_{{result.sortchar}}">{{result.sortchar}}</div>
  15. <ion-list class="rj-list item-icon-right">
  16. <ion-item class="rj-item item-remove-animate" ng-repeat="person in result.persons track by $index">
  17. <div class="rj-contacts-pic">
  18. <img src="../../../img/panda.png">
  19. </div>
  20. <i ng-if="isshowdelete.showDelete" ng-click="removeItem(person.nid,result.sortchar);" class="icon ion-android-remove-circle" style="color:red;"></i>
  21. <h2>{{person.username}}</h2>
  22. </ion-item>
  23. </ion-list>
  24. </div>
  25. </ion-item>
  26. <ion-item class="item-border">
  27. </ion-item>
  28. </ion-list>
  29. </ion-content>
  30. <div class="rj-contacts-right-bar" rj-position-middle on-drag="contacts_right_bar_swipe($event)">
  31. <div>&uarr;</div>
  32. <div>☆</div>
  33. <div ng-repeat="char in sortchars" ng-click="sortByChar(char,'index_{{char}}')">{{char}}</div>
  34. </div>
  35. <div class="rj-contacts-middle-bar" ng-show="Isshowmiddle">
  36. {{sortchar}}
  37. </div>
  38. <script id="templates/add.html" type="text/ng-template">
  39. <ion-popover-view class="popver_view">
  40. <ion-content>
  41. <ion-list>
  42. <ion-item class="item item-button" type="item-text-wrap" ng-click="toadd();">添加成员</ion-item>
  43. <ion-item class="item item-button" type="item-text-wrap" ng-click="displayremove();">移除成员</ion-item>
  44. </ion-list>
  45. </ion-content>
  46. </ion-popover-view>
  47. </script>
  48. </ion-view>