|  | @@ -1,7 +1,17 @@
 | 
	
		
			
				|  |  |  <ion-header [translucent]="true">
 | 
	
		
			
				|  |  |    <ion-toolbar class="searchbar">
 | 
	
		
			
				|  |  | -      <ion-searchbar [value]="searchContent" (ionInput)="handleInput($event)" placeholder="输入您的疾病" [debounce]="100" ></ion-searchbar>
 | 
	
		
			
				|  |  | -      <ion-button color="light" size="large" (click)="search()">搜索</ion-button>
 | 
	
		
			
				|  |  | +    <div class="searchbar-container">
 | 
	
		
			
				|  |  | +      <ion-searchbar 
 | 
	
		
			
				|  |  | +        [value]="searchContent" 
 | 
	
		
			
				|  |  | +        (ionInput)="handleInput($event)" 
 | 
	
		
			
				|  |  | +        placeholder="输入您的疾病" 
 | 
	
		
			
				|  |  | +        [debounce]="100">
 | 
	
		
			
				|  |  | +      </ion-searchbar>
 | 
	
		
			
				|  |  | +      <ion-button 
 | 
	
		
			
				|  |  | +        color="primary" 
 | 
	
		
			
				|  |  | +        size="default" 
 | 
	
		
			
				|  |  | +        (click)="search()">搜索</ion-button>
 | 
	
		
			
				|  |  | +    </div>
 | 
	
		
			
				|  |  |    </ion-toolbar>
 | 
	
		
			
				|  |  |  </ion-header>
 | 
	
		
			
				|  |  |  <!-- 内存不足 使用以下代码 -->
 | 
	
	
		
			
				|  | @@ -9,35 +19,33 @@
 | 
	
		
			
				|  |  |  <!-- node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng serve -->
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <ion-content [fullscreen]="true">
 | 
	
		
			
				|  |  | -  <div class="inquery" style="margin-top: 10px">
 | 
	
		
			
				|  |  | +  <div class="inquery">
 | 
	
		
			
				|  |  |      <div class="inquery-ai">
 | 
	
		
			
				|  |  |        <ion-button color="light" size="large" (click)="goToPage1()">
 | 
	
		
			
				|  |  |          <ion-list>
 | 
	
		
			
				|  |  |            <ion-item>
 | 
	
		
			
				|  |  | +            <img src="../../assets/image/ai.png" alt="AI问诊">
 | 
	
		
			
				|  |  |              <p>AI问诊</p>
 | 
	
		
			
				|  |  | -            <img src="../../assets/image/ai.png" alt="这是ai问诊的图片">
 | 
	
		
			
				|  |  |            </ion-item>
 | 
	
		
			
				|  |  |          </ion-list>
 | 
	
		
			
				|  |  |        </ion-button>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      <div class="inquery-human">
 | 
	
		
			
				|  |  |        <ion-button color="light" size="large" (click)="goToPage2()">
 | 
	
		
			
				|  |  |          <ion-list>
 | 
	
		
			
				|  |  |            <ion-item>
 | 
	
		
			
				|  |  | +            <img src="../../assets/image/askdoct.jpg" alt="找医生">
 | 
	
		
			
				|  |  |              <p>找医生</p>
 | 
	
		
			
				|  |  | -            <img src="../../assets/image/askdoct.jpg" alt="这是找医生的图片">
 | 
	
		
			
				|  |  | -        </ion-item>
 | 
	
		
			
				|  |  | -      </ion-list>
 | 
	
		
			
				|  |  | +          </ion-item>
 | 
	
		
			
				|  |  | +        </ion-list>
 | 
	
		
			
				|  |  |        </ion-button>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  <ion-button expand="block" color="light" size="large" (click)="goToPicture()">
 | 
	
		
			
				|  |  | +  <!-- <ion-button expand="block" color="light" size="large" (click)="goToPicture()">
 | 
	
		
			
				|  |  |      生成图片
 | 
	
		
			
				|  |  | -  </ion-button>
 | 
	
		
			
				|  |  | +  </ion-button> -->
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    <!-- 功能区 -->
 | 
	
		
			
				|  |  |  <div class="function-area">
 | 
	
	
		
			
				|  | @@ -62,7 +70,6 @@
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </div>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  <div>
 | 
	
		
			
				|  |  |    <ion-card>
 | 
	
		
			
				|  |  |      <ion-card-header>
 | 
	
	
		
			
				|  | @@ -71,72 +78,15 @@
 | 
	
		
			
				|  |  |      </ion-card-header>
 | 
	
		
			
				|  |  |      <ion-card-content>
 | 
	
		
			
				|  |  |        <ion-list>
 | 
	
		
			
				|  |  | -        <ion-item>
 | 
	
		
			
				|  |  | -          <ion-thumbnail slot="start">
 | 
	
		
			
				|  |  | -            <img alt="Silhouette of mountains" src="../../assets/image/doctor4.png" />
 | 
	
		
			
				|  |  | -          </ion-thumbnail>
 | 
	
		
			
				|  |  | -          <ion-list>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              姓名:张伟 年龄:45 岁 
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              职位:主任医师 科室:神经内科
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              医院:XX 市中心医院
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -          </ion-list>
 | 
	
		
			
				|  |  | -        </ion-item>
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | -        <ion-item>
 | 
	
		
			
				|  |  | -          <ion-thumbnail slot="start">
 | 
	
		
			
				|  |  | -            <img alt="Silhouette of mountains" src="../../assets/image/doctor2.png" />
 | 
	
		
			
				|  |  | -          </ion-thumbnail>
 | 
	
		
			
				|  |  | -          <ion-list>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              姓名:张伟 年龄:45 岁 
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              职位:主任医师 科室:神经内科
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              医院:XX 市中心医院
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -          </ion-list>
 | 
	
		
			
				|  |  | -        </ion-item>
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | -        <ion-item>
 | 
	
		
			
				|  |  | -          <ion-thumbnail slot="start">
 | 
	
		
			
				|  |  | -            <img alt="Silhouette of mountains" src="../../assets/image/doctor3.png" />
 | 
	
		
			
				|  |  | -          </ion-thumbnail>
 | 
	
		
			
				|  |  | -          <ion-list>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              姓名:张伟 年龄:45 岁 
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              职位:主任医师 科室:神经内科
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              医院:XX 市中心医院
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -          </ion-list>
 | 
	
		
			
				|  |  | -        </ion-item>
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | -        <ion-item lines="none">
 | 
	
		
			
				|  |  | +        <ion-item *ngFor="let doctor of doctors" lines="none">
 | 
	
		
			
				|  |  |            <ion-thumbnail slot="start">
 | 
	
		
			
				|  |  | -            <img alt="Silhouette of mountains" src="../../assets/image/doctor1.png" />
 | 
	
		
			
				|  |  | +            <img [src]="doctor.image" [alt]="doctor.name" />
 | 
	
		
			
				|  |  |            </ion-thumbnail>
 | 
	
		
			
				|  |  | -          <ion-list>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              姓名:张伟 年龄:45 岁 
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              职位:主任医师 科室:神经内科
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -            <ion-label>
 | 
	
		
			
				|  |  | -              医院:XX 市中心医院
 | 
	
		
			
				|  |  | -            </ion-label>
 | 
	
		
			
				|  |  | -          </ion-list>
 | 
	
		
			
				|  |  | +          <div class="doctor-info">
 | 
	
		
			
				|  |  | +            <h3>{{ doctor.name }}({{ doctor.age }}岁)</h3>
 | 
	
		
			
				|  |  | +            <p>{{ doctor.position }},{{ doctor.department }}</p>
 | 
	
		
			
				|  |  | +            <p>{{ doctor.hospital }}</p>
 | 
	
		
			
				|  |  | +          </div>
 | 
	
		
			
				|  |  |          </ion-item>
 | 
	
		
			
				|  |  |        </ion-list>
 | 
	
		
			
				|  |  |      </ion-card-content>
 |