<!-- 用户登录状态 -->
<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['content']" 
      (ionChange)="userDataChange('content', $event)" 
      label="评价内容" 
      placeholder="请您输入评价内容"></ion-input>
  </ion-item>
  <ion-item>
    <ion-input 
      type="number" 
      [value]="userData['rating']" 
      (ionChange)="userDataChange('rating', $event)" 
      label="星星数量" 
      placeholder="请您输入星星数量（整数1-5）" 
      min="1" 
      max="5"></ion-input>
  </ion-item>

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

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