| 
					
				 | 
			
			
				@@ -33,10 +33,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <ion-list *ngIf="!isLoading && allMessage.length > 0"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <ion-item *ngFor="let consultation of allMessage" lines="none"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <ion-card class="message-card" (click)="toggleConsultation(consultation.id)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <ion-card class="message-card" (click)="toggleConsultation(consultation.id)" [attr.aria-expanded]="isConsultationExpanded(consultation.id)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <ion-card-header> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <ion-card-title> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             就诊时间: {{ consultation?.updatedAt | date:'short' }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <ion-icon  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              [name]="isConsultationExpanded(consultation.id) ? 'chevron-up-outline' : 'chevron-down-outline'"  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              class="toggle-icon"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </ion-icon> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </ion-card-title> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <p><strong>问诊编号:</strong> {{ consultation.id }}</p> <!-- 显示编号 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </ion-card-header> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -56,7 +60,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div *ngFor="let msg of consultation.data['allContent'] | slice:2"  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  class="conversation-message"  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  [ngClass]="{'user-message': msg.role === 'user', 'assistant-message': msg.role === 'assistant'}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <ion-icon [name]="getIcon(msg.role)" slot="start" class="consultation-icon"></ion-icon> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <!-- 移除对话中的图标 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <p class="message-text"><strong>{{ getRoleLabel(msg.role) }}:</strong> {{ msg.content }}</p> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 |