From 231f53f6f9b2423132950e95f721b48bffe153b4 Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Mon, 23 Dec 2024 11:44:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BF=80=E5=85=892?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FatigueWakesUp/components/DeviceParam.vue | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceParam.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceParam.vue index 9484164c..e54f4311 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceParam.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceParam.vue @@ -4,11 +4,12 @@
- + +
@@ -77,6 +78,7 @@
+
@@ -429,14 +431,16 @@ export default { overflow-y: auto; margin-left: 14px; } -.custom-mode-pane { - /* 为自定义模式添加必要的样式 */ - position: relative; /* 确保内部容器定位正确 */ +.tabs { + /* 确保标签页部分不会溢出或滚动 */ + width: 100%; + overflow: hidden; } -.table-container { - height: 400px; /* 设置固定高度,根据需求调整 */ - overflow-y: auto; /* 启用垂直滚动条 */ - padding: 10px; /* 可选:为表格添加一些内边距 */ - box-sizing: border-box; /* 确保内边距不会增加容器高度 */ +.scroll-container { + /* 为数据表格部分设置固定高度和溢出滚动 */ + height: 400px; /* 根据需要调整高度 */ + overflow-y: auto; /* 允许垂直滚动 */ + padding: 10px; /* 可选:为内容添加内边距 */ + box-sizing: border-box; /* 确保内边距不会影响高度计算 */ }