<ion-header>
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-button (click)="goBack()" fill="clear">
        <ion-icon aria-hidden="true" name="chevron-back" style="color: black; font-size: 24px; argin:left"></ion-icon>
      </ion-button>
    </ion-buttons>
    <ion-title>评价</ion-title>
    <ion-buttons slot="end">
      <ion-button (click)="submitEvaluation()" class="submit-button" color="light" id="present-alert">发表</ion-button>
      <ion-alert
  trigger="present-alert"
  header="发表状态"
  message="发表成功"
  [buttons]="alertButtons"
></ion-alert>
    </ion-buttons>
  </ion-toolbar>
</ion-header>

<ion-content>
  <div class="rating-container">
    <span class="rating-label">评分:</span>
    <edit-rating-star 
      [score]="currentScore" 
      [scoreMax]="5" 
      (onScoreChange)="handleScoreChange($event)">
    </edit-rating-star>
    <span class="actual-score">{{ getScoreDescription(currentScore) }}</span>
  </div>
  <div class="textbox">
  <ion-textarea  placeholder="你可以从AI的使用体验、速度、准确性、实用性、创新性以及全面性等方面进行评价，晒图分享你的使用体验~"[autoGrow]="true"></ion-textarea>
</div>

<div class="imgbox">
</div>


</ion-content>