tab1.page.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <ion-content>
  2. <ion-refresher slot="fixed" (ionRefresh)="handleRefresh($event)">
  3. <ion-refresher-content></ion-refresher-content>
  4. </ion-refresher>
  5. <div>
  6. <ion-card>
  7. <ion-card-header>
  8. <ion-card-title>智能体</ion-card-title>
  9. <ion-card-subtitle>智能体简介</ion-card-subtitle>
  10. </ion-card-header>
  11. <ion-card-content>
  12. <ion-list>
  13. <ion-item *ngFor="let doctor of doctorList" lines="none">
  14. <ion-thumbnail slot="start" (click)="openInquiry(doctor)">
  15. <img [src]="doctor.get('avatar')" [alt]="doctor.get('name')" />
  16. </ion-thumbnail>
  17. <div class="doctor-info" (click)="openInquiry(doctor)">
  18. <h3>{{ doctor.get('name') }}({{ doctor.get('age') }}岁)</h3>
  19. <p>{{ doctor.get('Desc') }},{{ doctor.get('title') }},{{ doctor.get('depart')?.name }}</p>
  20. </div>
  21. <ion-button ios="logo-apple" size="small" color="danger" (click)="deleteAgent(doctor)" slot="end">删除</ion-button>
  22. </ion-item>
  23. </ion-list>
  24. </ion-card-content>
  25. </ion-card>
  26. </div>
  27. <ion-fab vertical="bottom" horizontal="end" slot="fixed">
  28. <ion-fab-button (click)="navigateToPage()">
  29. <ion-icon name="add"></ion-icon>
  30. </ion-fab-button>
  31. </ion-fab>
  32. </ion-content>