From e25465c223a2e63422acfb58414597ca8fc4df09 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期四, 13 十一月 2025 18:01:55 +0800
Subject: [PATCH] 排队异常、小屏适配问题

---
 public/ConsultationRoom.html |   39 +++++++++++++++++++++++----------------
 1 files changed, 23 insertions(+), 16 deletions(-)

diff --git a/public/ConsultationRoom.html b/public/ConsultationRoom.html
index 55fc719..433072d 100644
--- a/public/ConsultationRoom.html
+++ b/public/ConsultationRoom.html
@@ -184,28 +184,31 @@
       width: 80px;
       font-weight: bold;
       color: #5b8cff;
-      font-size: 0.95rem;
+      font-size: 1.5rem;
+      font-weight: 600;
       overflow: hidden;
       text-overflow: ellipsis;
     }
 
     .patient-name {
       width: 100px;
-      font-size: 0.95rem;
+      font-size: 1.2rem;
+      font-weight: 600;
       overflow: hidden;
       text-overflow: ellipsis;
     }
 
     .patient-check-type {
       flex: 1;
-      font-size: 0.95rem;
+      font-size: 1.2rem;
+      font-weight: 600;
       overflow: hidden;
       text-overflow: ellipsis;
     }
 
     .patient-status {
       width: 70px;
-      font-size: 0.8rem;
+      font-size: 1.2rem;
       font-weight: bold;
       text-align: center;
       padding: 3px 8px;
@@ -350,7 +353,7 @@
       }
 
       .clinic-info {
-        font-size: 0.8rem;
+        font-size: 1.2rem;
       }
 
       .panel {
@@ -358,7 +361,8 @@
       }
 
       .panel-header {
-        font-size: 0.9rem;
+        font-size: 1.6rem;
+        font-weight: 700;
         padding: 6px 10px;
       }
 
@@ -369,12 +373,12 @@
       .patient-number,
       .patient-name {
         width: 60px;
-        font-size: 0.9rem;
+        font-size: 1.2rem;
       }
 
       .patient-status {
         width: 60px;
-        font-size: 0.7rem;
+        font-size: 1.2rem;
       }
 
       .patient-bed {
@@ -400,17 +404,17 @@
 
 <body>
   <div id="app">
-    <div class="search-bar" style="display: none;">
+    <div class="search-bar" >
       <input class="search-input" type="text" placeholder="璇疯緭鍏ユ埧闂村彿鏌ヨ" id="searchRoomInput">
       <button class="search-btn" id="searchRoomBtn">鏌ヨ</button>
     </div>
 
-    <div class="header" style="display: none;">
-      <div class="clinic-title">蹇冪數鍥捐瘖闂村彨鍙风郴缁�</div>
-      <div class="clinic-info">
+    <div class="header" >
+      <div class="clinic-title" id="titleroomName">蹇冪數鍥捐瘖闂村彨鍙风郴缁�</div>
+      <!-- <div class="clinic-info">
         <div class="room-name" id="roomName">璇婇棿鍔犺浇涓�...</div>
         <div class="screen-type" id="screenType">妯″紡锛氬姞杞戒腑...</div>
-      </div>
+      </div> -->
     </div>
 
     <div class="main-content">
@@ -459,8 +463,8 @@
       roomId: 1,
       timer: null,
       speechSynthesis: window.speechSynthesis || null,
-      apiBaseUrl: 'http://10.0.2.193/admin-api' 
-      // apiBaseUrl: 'http://localhost:48080/admin-api' 
+      // apiBaseUrl: 'http://10.0.2.193/admin-api' 
+      apiBaseUrl: 'http://localhost:48080/admin-api' 
     };
 
     // 椤甸潰鍔犺浇瀹屾垚鍚庡垵濮嬪寲
@@ -509,7 +513,7 @@
               var response = JSON.parse(xhr.responseText);
               appState.roomProfile = response.data || response;
               updateRoomInfo();
-              updateAnnouncement('宸插姞杞� ' + appState.roomProfile.roomName + ' 淇℃伅');
+              updatetitleroomName(appState.roomProfile[0].roomName);
               getList(); // 鑾峰彇璇ユ埧闂寸殑鎮h�呭垪琛�
             } catch (e) {
               updateAnnouncement('瑙f瀽鍝嶅簲鏁版嵁澶辫触');
@@ -657,6 +661,9 @@
     function updateAnnouncement(text) {
       $('#announcementText').text(text);
     }
+    function updatetitleroomName(text) {
+      $('#titleroomName').text(text);
+    }
 
     // 宸ュ叿鍑芥暟
     function nameDesensitize(patName) {

--
Gitblit v1.9.3