personinfo.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <ion-view view-title="个人信息">
  2. <ion-content>
  3. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  4. <div class="item item-divider"></div>
  5. <div class="list" ng-if="!loading">
  6. <ion-item class="item item-icon-right item-group item-comp" ng-click="selectimg()">
  7. <label class="compname">头像</label>
  8. <img ng-src="{{userinfo.photo}}">
  9. <i class="icon ion-chevron-right icon-accessory"></i>
  10. </ion-item>
  11. <ion-item class="item item-icon-right" ng-click="editInfo('姓名','text','username',userinfo.username)">
  12. 姓名
  13. <p class="label-right-text" ng-bind="userinfo.username"></p>
  14. <i class="icon ion-chevron-right icon-accessory"></i>
  15. </ion-item>
  16. <label class="item item-input item-select">
  17. <div class="input-label">
  18. 性别
  19. </div>
  20. <select ng-model="userinfo.sex" ng-options="x.id as x.name for x in selectdatas" ng-change="updateInfo()"></select>
  21. </label>
  22. <div class="item item-divider"></div>
  23. <ion-item class="item">
  24. 公司
  25. <p class="item-note">{{userinfo.compname}}&nbsp;(代号:{{userinfo.compno}})</p>
  26. </ion-item>
  27. <ion-item class="item item-icon-right" ng-href="#/editdeptdegree">
  28. 部门职位
  29. <p class="label-right-text">{{userinfo.depname}}&nbsp;&nbsp;&nbsp;&nbsp;{{userinfo.degree}}</p>
  30. <i class="icon ion-chevron-right icon-accessory"></i>
  31. </ion-item>
  32. <ion-item class="item item-icon-right">
  33. 联系方式
  34. <p class="label-right-text">{{userinfo.cellphone}}</p>
  35. <i class="icon ion-chevron-right icon-accessory"></i>
  36. </ion-item>
  37. <ion-item class="item item-icon-right" ng-click="editInfo('邮箱','email','email',userinfo.email)">
  38. 邮箱
  39. <p class="label-right-text" ng-bind="userinfo.email"></p>
  40. <i class="icon ion-chevron-right icon-accessory"></i>
  41. </ion-item>
  42. </div>
  43. </ion-content>
  44. </ion-view>