
<ion-content>
  <ion-refresher slot="fixed" (ionRefresh)="handleRefresh($event)">
    <ion-refresher-content></ion-refresher-content>
  </ion-refresher>
<div>
  <ion-card>
    <ion-card-header>
      <ion-card-title>智能体</ion-card-title>
      <ion-card-subtitle>智能体简介</ion-card-subtitle>
    </ion-card-header>
    <ion-card-content>
      <ion-list>
        <ion-item   *ngFor="let doctor of doctorList" lines="none">
          <ion-thumbnail slot="start" (click)="openInquiry(doctor)">
            <img [src]="doctor.get('avatar')" [alt]="doctor.get('name')" />
          </ion-thumbnail>
          <div class="doctor-info" (click)="openInquiry(doctor)">
            <h3>{{ doctor.get('name') }}({{ doctor.get('age') }}岁)</h3>
            <p>{{ doctor.get('Desc') }},{{ doctor.get('title') }},{{ doctor.get('depart')?.name }}</p>
           
          </div>
          <ion-button ios="logo-apple" size="small" color="danger" (click)="deleteAgent(doctor)" slot="end">删除</ion-button>
        </ion-item>
      </ion-list>
    </ion-card-content>
  </ion-card>
</div>
<ion-fab vertical="bottom" horizontal="end" slot="fixed">
  <ion-fab-button (click)="navigateToPage()">
    <ion-icon name="add"></ion-icon>
  </ion-fab-button>
</ion-fab>
</ion-content>