From 90b3b6329fec3205b845198ca6dc539dcde186c8 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期一, 16 六月 2025 17:12:20 +0800
Subject: [PATCH] 页面调整优化

---
 src/app/globals.css |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/src/app/globals.css b/src/app/globals.css
index 7a4563e..546c47c 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -841,3 +841,57 @@
 .no-flash-link {
   -webkit-tap-highlight-color: transparent;
 }
+
+/* 娑堟伅鐢熸垚鏃堕攣瀹氭粴鍔� */
+body.generating-message {
+  overflow: hidden !important;
+}
+
+/* 婊氬姩閿佸畾閬僵 */
+.scroll-lock-overlay {
+  position: fixed;
+  inset: 0;
+  z-index: 50;
+  background: transparent;
+  pointer-events: all;
+  touch-action: none;
+}
+
+/* 鍥捐〃鍏ㄥ睆妯″紡鏃剁殑鏍峰紡 */
+body:has(.echart-wrapper[data-echarts-container]) {
+  scroll-behavior: smooth;
+}
+
+.echart-wrapper[data-echarts-container] {
+  transition: all 0.3s ease-in-out;
+}
+
+/* 褰撳浜庡叏灞忔ā寮忔椂闃叉椤甸潰婊氬姩 */
+body:has(.echart-wrapper:has(+ .fullscreen-controls)) {
+  overflow: hidden;
+}
+
+/* 褰诲簳鍥哄畾鍥捐〃瀹瑰櫒鐨勯珮搴� */
+[data-echarts-container="true"] {
+  height: 400px !important;
+  min-height: 400px !important;
+  width: 100%;
+  position: relative;
+}
+
+/* 纭繚tooltip鏄剧ず鍦ㄩ�傚綋浣嶇疆 */
+.echarts-tooltip-wrap, 
+div[class*="echarts-tooltip"],
+div[class*="tooltip"] {
+  z-index: 9999 !important;
+  top: auto !important; /* 闃叉鍥哄畾鍦ㄩ《閮� */
+  transform: translateY(0) !important; /* 闃叉鍚戜笂鍋忕Щ */
+  max-width: 80vw !important; /* 闄愬埗鏈�澶у搴� */
+  pointer-events: auto !important;
+}
+
+/* 纭繚鐑姏鍥総ooltip鍦ㄩ珮椋庨櫓鍖哄煙鏄剧ず鏃朵笉浼氳瀵艰埅鏍忛伄鎸� */
+body .ec-tooltip, 
+body .echarts-tooltip {
+  margin-top: 60px !important; /* 纭繚涓嶄細鏄剧ず鍦ㄥ鑸爮涔嬩笂 */
+}

--
Gitblit v1.9.3