<!-- 用户登录状态 -->
<ion-card>
  <ion-card-header>
    <ion-card-title>
      用户名：{{currentUser?.get("username")}}
    </ion-card-title>
    <ion-card-subtitle>请输入您的详细资料</ion-card-subtitle>
   </ion-card-header>
 <ion-card-content>

   <ion-item>
     <ion-input [value]="userData['realname']" (ionChange)="userDataChange('realname',$event)" label="姓名" placeholder="请您输入真实姓名"></ion-input>
   </ion-item>
   <ion-item>
     <ion-input type="number" [value]="userData['age']" (ionChange)="userDataChange('age',$event)" label="年龄" placeholder="请您输入年龄"></ion-input>
    </ion-item>
  <ion-item>
     <ion-input [value]="userData['gender']" (ionChange)="userDataChange('gender',$event)" label="性别" placeholder="请您输入男/女"></ion-input>
    </ion-item>
    <ion-item>
      <ion-input [value]="userData['avatar']" (ionChange)="userDataChange('avatar',$event)" label="头像" placeholder="请您输入头像地址"></ion-input>
     </ion-item>

   <ion-button expand="block" (click)="save()">保存</ion-button>
   <ion-button expand="block" (click)="cancel()">取消</ion-button>
 

</ion-card-content>
</ion-card>