From f0bed9b163996deb9c63e22e4c17f53815ef5ebb Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 08 Jul 2026 16:38:09 +0800
Subject: [PATCH] feat:更新列表值,和固定最右侧操作栏
---
applications/drone-command/src/styles/common/cockpit.scss | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index bb62a55..cd6119c 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -1139,8 +1139,10 @@
}
}
- th.el-table__cell:not(.fixed-column),
- td.el-table__cell:not(.fixed-column) {
+ // 注意:Element Plus 2.9.11 固定列类名为 el-table-fixed-column--left/right,
+ // 老的 .fixed-column 已不存在,这里需一并排除,否则固定列会被刷成透明
+ th.el-table__cell:not(.fixed-column):not(.el-table-fixed-column--left):not(.el-table-fixed-column--right),
+ td.el-table__cell:not(.fixed-column):not(.el-table-fixed-column--left):not(.el-table-fixed-column--right) {
background: transparent !important;
}
@@ -1182,7 +1184,9 @@
}
}
- .fixed-column {
+ .fixed-column,
+ .el-table-fixed-column--left,
+ .el-table-fixed-column--right {
background-color: #1A1A2A !important;
}
}
--
Gitblit v1.9.3