<ion-content>
    <h1>类型</h1>
    <ion-input [value]="leixing" (ionInput)="leixingInput($event)"></ion-input>
<!-- 文本域：生成提示词 -->
 <h1>心理状况的描述</h1>
<ion-textarea [value]="userPrompt" (ionInput)="promptInput($event)" placeholder="文本提示词" autoGrow="true"></ion-textarea>

<!-- 按钮：执行消息生成函数 -->
<ion-button (click)="sendMessage()" expand="block">初步判断</ion-button>

@if(!isComplete){
    <div>{{responseMsg}}</div>
  }
  <!-- 消息传输完成后，实时预览Markdown格式 -->
@if(isComplete){
    <fm-markdown-preview class="content-style" [content]="responseMsg"></fm-markdown-preview>
  }

</ion-content>