From f2abae63769ec6308063a24bf1c5aa11d919903a Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 15 Jan 2026 17:59:53 +0800
Subject: [PATCH] feat:权限部分页面调整
---
applications/drone-command/src/styles/common/cockpit.scss | 80 +++++++++++++++++++++++++++++++++++++---
1 files changed, 74 insertions(+), 6 deletions(-)
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index 00b878e..9ecf7de 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -1,3 +1,39 @@
+/* 下拉菜单整体样式 */
+.ztzf-custom-dropdown {
+ background: #1A1A2A !important;
+ border-radius: 8px;
+ border: none !important;
+ .el-popper__arrow::before {
+ background: #1A1A2A !important;
+ border: 1px solid #1A1A2A !important;
+ }
+
+ /* 菜单项样式 */
+ .el-dropdown-menu {
+ background: transparent !important;
+
+ .el-dropdown-menu__item {
+ color: #fff !important; /* 文字颜色 */
+
+ a {
+ color: #fff !important; /* 文字颜色 */
+ }
+
+ &:hover {
+ background: none !important;
+ }
+
+ &.is-disabled {
+ color: #8f9bb3 !important;
+ }
+ }
+
+ .el-dropdown-menu__item--divided {
+ display: none;
+ }
+ }
+}
+
// 数据驾驶舱专属
.ztzf-data-cockpit-search-input {
.el-input__wrapper {
@@ -337,6 +373,16 @@
border-radius: 0px 0px 8px 8px;
}
}
+
+ .el-popper__arrow::before {
+ background: #2E2E48 !important;
+ border: 1px solid #2E2E48 !important;
+ }
+}
+
+.ztzf-data-cockpit-select-popper.el-cascader__dropdown {
+ border: none;
+ background: #2E2E48 !important;
.el-popper__arrow::before {
background: #2E2E48 !important;
@@ -704,6 +750,7 @@
.el-button {
min-width: 88px;
+ border: none;
}
.el-button.is-disabled, .el-button.is-disabled:hover {
@@ -750,8 +797,7 @@
th.el-table__cell {
height: 40px;
- border-bottom: 1px solid #323241;
- background: transparent !important;
+ border-bottom: 1px solid #323241 !important;
.cell {
padding: 0;
@@ -769,8 +815,7 @@
td.el-table__cell {
padding: 9px 0;
height: 56px;
- border-bottom: 1px solid #323241;
- background: transparent !important;
+ border-bottom: 1px solid #323241 !important;
.cell {
padding: 0;
@@ -801,6 +846,15 @@
margin-right: 0;
}
}
+ }
+
+ th.el-table__cell:not(.fixed-column),
+ td.el-table__cell:not(.fixed-column) {
+ background: transparent !important;
+ }
+
+ .fixed-column {
+ background-color: #1A1A2A !important;
}
}
@@ -981,9 +1035,22 @@
display: flex;
align-items: center;
- .el-input {
+ .el-input,
+ .el-input-number {
width: 0;
flex: 1;
+ }
+
+ .el-cascader {
+ width: 0;
+ flex: 1;
+ display: flex;
+ align-items: center;
+ border: none;
+
+ .el-input__wrapper {
+ box-shadow: none !important;
+ }
}
.el-textarea {
@@ -1045,6 +1112,7 @@
.el-input {
.el-input__wrapper {
background: #2E2E48 !important;
+ box-shadow: none;
.el-input__inner {
color: #ffffff;
@@ -1207,7 +1275,7 @@
align-items: center;
.label {
- width: 112px;
+ width: 96px;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 14px;
--
Gitblit v1.9.3