
<div>
  <app-edit-tag (onTagChange)="setTagValue($event)"></app-edit-tag>
  <ul>
    @for(tag of editTags; track tag;){
      <li>{{tag}}</li>
    }
  </ul>
  <edit-rating-star 
   [score]="currentScore" 
    [scoreMax]="5" 
   (onScoreChange)="handleScoreChange($event)">
  </edit-rating-star>
<span>当前分值：{{currentScore}}</span>

<ion-list>
  <ion-item>
    <ion-label>请选择您的性别：</ion-label>
    <!-- <ion-select [(ngModel)]="gender"> -->
    <ion-select>
      <ion-select-option value="male">男</ion-select-option>
      <ion-select-option value="female">女</ion-select-option>
    </ion-select>
  </ion-item>
  <ion-item>
    <ion-textarea [value]="symptomDesc" (ionInput)="onInput($event)" label="请描述您的病情：" placeholder="具体描述您的病情，以便医生为您制定治疗方案" [autoGrow]="true"></ion-textarea>
  </ion-item>
  <ion-item>
    <ion-button expand="block" color="primary" (click)="analyseSymptom()">分析病情</ion-button>
  </ion-item>
</ion-list>

</div>


  