power-set.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  9. <ion-list ng-if="!loading">
  10. <ion-item class="rj-contacts-item">
  11. <div ng-repeat="result in resultdata track by $index">
  12. <div class="rj-contacts-index-bar item-remove-animate" id="index_{{result.sortchar}}">{{result.sortchar}}</div>
  13. <ion-list class="rj-list item-icon-right">
  14. <ion-item class="rj-item item-remove-animate" ng-repeat="person in result.persons track by $index">
  15. <div class="rj-contacts-pic">
  16. <img src="../../../img/panda.png">
  17. </div>
  18. <i ng-if="isshowdelete.showDelete" ng-click="removeItem(person.nid,result.sortchar);" class="icon ion-android-remove-circle" style="color:red;"></i>
  19. <h2>{{person.username}}</h2>
  20. </ion-item>
  21. </ion-list>
  22. </div>
  23. </ion-item>
  24. <ion-item class="item-border">
  25. </ion-item>
  26. </ion-list>
  27. </ion-content>
  28. <div class="rj-contacts-right-bar" rj-position-middle on-drag="contacts_right_bar_swipe($event)">
  29. <div>&uarr;</div>
  30. <div>☆</div>
  31. <div ng-repeat="char in sortchars" ng-click="sortByChar(char,'index_{{char}}')">{{char}}</div>
  32. </div>
  33. <div class="rj-contacts-middle-bar" ng-show="Isshowmiddle">
  34. {{sortchar}}
  35. </div>
  36. <script id="templates/add.html" type="text/ng-template">
  37. <ion-popover-view class="popver_view">
  38. <ion-content>
  39. <ion-list>
  40. <ion-item class="item item-button" type="item-text-wrap" ng-click="toadd();">添加成员</ion-item>
  41. <ion-item class="item item-button" type="item-text-wrap" ng-click="displayremove();">移除成员</ion-item>
  42. </ion-list>
  43. </ion-content>
  44. </ion-popover-view>
  45. </script>
  46. </ion-view>