| 
					
				 | 
			
			
				@@ -1,5 +1,5 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { Component, OnInit } from '@angular/core'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { IonHeader, IonToolbar, IonTitle, IonContent, IonList, IonItem, IonLabel, IonAvatar, IonButton, IonChip, IonIcon, IonBadge, IonText, IonCard, IonSegmentButton, IonSegment, IonCol, IonRow, IonGrid } from '@ionic/angular/standalone'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { IonModal, IonHeader, IonToolbar, IonTitle, IonContent, IonList, IonItem, IonLabel, IonAvatar, IonButton, IonChip, IonIcon, IonBadge, IonText, IonCard, IonSegmentButton, IonSegment, IonCol, IonRow, IonGrid, IonButtons, IonFooter } from '@ionic/angular/standalone'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { ExploreContainerComponent } from '../../explore-container/explore-container.component'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { addIcons } from 'ionicons'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { airplane, bluetooth, call, wifi } from 'ionicons/icons'; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -20,13 +20,24 @@ interface Doctor { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   rating: number; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   consultations: string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   recommendations: number; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  tags?: string[]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   prices: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     text: number; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     voice: number; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     video: number; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  isVerified?: boolean; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  isExpert?: boolean; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+interface ConsultOption { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  id: number; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  title: string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  icon: string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  price: number; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  unit: string; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  isAvailable: boolean; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  isSelected?: boolean; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @Component({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   selector: 'inquiry-human', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -36,10 +47,74 @@ interface Doctor { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   imports: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     IonHeader, IonToolbar, IonTitle, IonContent, ExploreContainerComponent,CommonModule, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     IonLabel,IonItem,IonList,IonAvatar,IonLabel,IonButton,IonChip,IonIcon,IonBadge, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    IonText,IonCard,IonSegment,IonSegmentButton, FormsModule,IonCol,IonRow,IonGrid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    IonText,IonCard,IonSegment,IonSegmentButton, FormsModule,IonCol,IonRow,IonGrid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    IonModal,IonButtons,IonFooter 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export class InquiryHumanComponent  implements OnInit { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  options: ConsultOption[] = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      id: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      title: '图文咨询', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      icon: 'chatbubbles', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      price: 120, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      unit: '次', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isAvailable: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isSelected: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      id: 2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      title: '电话咨询', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      icon: 'call', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      price: 200, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      unit: '次起', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isAvailable: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      id: 3, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      title: '视频问诊', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      icon: 'videocam', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      price: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      unit: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isAvailable: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      id: 4, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      title: '私人医生', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      icon: 'person', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      price: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      unit: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isAvailable: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      id: 5, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      title: '预约', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      icon: 'calendar', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      price: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      unit: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isAvailable: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  selectOption(option: ConsultOption) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (!option.isAvailable) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.options.forEach(opt => opt.isSelected = false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    option.isSelected = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  isModalOpen = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  doctor: any;     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  openDetailModal(doctor?: any) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.isModalOpen = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.doctor = doctor; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  closeDetailModal() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.isModalOpen = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.doctor = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   constructor( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private router: Router 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -71,6 +146,9 @@ export class InquiryHumanComponent  implements OnInit { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         voice: 150, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         video: 300 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      tags: ['百强医院', '可开处方', '从业24年', '擅长消化系统疾病', '可开处方'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isVerified: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isExpert: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       avatar: 'https://app.fmode.cn/dev/jxnu/202226701019/doctor6.png', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -89,6 +167,9 @@ export class InquiryHumanComponent  implements OnInit { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         voice: 150, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         video: 300 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      tags: ['百强医院', '可开处方', '从业24年', '擅长消化系统疾病', '可开处方'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isVerified: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isExpert: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     },{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       avatar: 'https://app.fmode.cn/dev/jxnu/202226701019/doctor5.png', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       name: '张伟', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -106,6 +187,9 @@ export class InquiryHumanComponent  implements OnInit { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         voice: 150, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         video: 300 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      tags: ['百强医院', '可开处方', '从业24年', '擅长消化系统疾病', '可开处方'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isVerified: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isExpert: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     },{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       avatar: 'https://app.fmode.cn/dev/jxnu/202226701019/doctor7.png', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       name: '张伟', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -123,6 +207,9 @@ export class InquiryHumanComponent  implements OnInit { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         voice: 150, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         video: 300 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      tags: ['百强医院', '可开处方', '从业24年', '擅长消化系统疾病', '可开处方'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isVerified: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isExpert: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     goToDoctorDetail(doctor: Doctor) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -132,5 +219,7 @@ export class InquiryHumanComponent  implements OnInit { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.selectedSegment = event.detail.value; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     console.log(this.selectedSegment); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  openConsult(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    console.log("openConsult"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |