modal-user-edit.component.html 1001 B

1234567891011121314151617181920212223242526
  1. <!-- 用户登录状态 -->
  2. <ion-card>
  3. <ion-card-header>
  4. <ion-card-title>
  5. 用户名:{{currentUser?.get("username")}}
  6. </ion-card-title>
  7. <ion-card-subtitle>请输入您的详细资料</ion-card-subtitle>
  8. </ion-card-header>
  9. <ion-card-content>
  10. <ion-item>
  11. <ion-input [value]="userData['realname']" (ionChange)="userDataChange('realname',$event)" label="姓名" placeholder="请您输入真实姓名"></ion-input>
  12. </ion-item>
  13. <ion-item>
  14. <ion-input type="number" [value]="userData['age']" (ionChange)="userDataChange('age',$event)" label="年龄" placeholder="请您输入年龄"></ion-input>
  15. </ion-item>
  16. <ion-item>
  17. <ion-input [value]="userData['gender']" (ionChange)="userDataChange('gender',$event)" label="性别" placeholder="请您输入男/女"></ion-input>
  18. </ion-item>
  19. <ion-button expand="block" (click)="save()">保存</ion-button>
  20. <ion-button expand="block" (click)="cancel()">取消</ion-button>
  21. </ion-card-content>
  22. </ion-card>