settingset.html 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. <ion-view view-title={{data.title[type]}} cache-view="false" hide-back-button="true">
  2. <ion-nav-buttons side="left">
  3. <button class="button ion-chevron-left button-clear button-dark" ng-if="!commons.goBackIsDisable" ng-click="goBack()">&nbsp;返回</button>
  4. </ion-nav-buttons>
  5. <ion-nav-buttons side="right">
  6. <button class="button button-icon ion-ios-more" ng-if="!data.showDelete" ng-click="popover.show($event)"></button>
  7. <button class="button button-clear" ng-if="data.showDelete" ng-click="ok()">完成</button>
  8. </ion-nav-buttons>
  9. <ion-content>
  10. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  11. <ion-list show-delete="data.showDelete">
  12. <ion-item class="item-avatar item-remove-animate" ng-repeat="item in data.usrdata">
  13. <img ng-src="../../../img/panda.png">
  14. <span>{{item.username}}</span>
  15. <p>{{item.degree}}</p>
  16. <ion-delete-button class="ion-minus-circled" ng-click="removeItem(item)">
  17. </ion-delete-button>
  18. </ion-item>
  19. </ion-list>
  20. </ion-content>
  21. <script id="templates/add.html" type="text/ng-template">
  22. <ion-popover-view class="popver_view">
  23. <ion-content>
  24. <ion-list>
  25. <ion-item class="item item-button" type="item-text-wrap" ng-click="toadd()">添加成员</ion-item>
  26. <ion-item class="item item-button" type="item-text-wrap" ng-click="displayremove()">移除成员</ion-item>
  27. </ion-list>
  28. </ion-content>
  29. </ion-popover-view>
  30. </script>
  31. </ion-view>