From 98ff0df343bd4e5d2d5e138a02c6db2b7fa9696b Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 27 Jan 2026 10:23:03 +0800
Subject: [PATCH] feat:角色权限弹窗配置页面,调整
---
applications/drone-command/src/styles/common/cockpit.scss | 187 +++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 182 insertions(+), 5 deletions(-)
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index 43bcd17..61579d7 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -41,6 +41,87 @@
height: 40px;
}
+.command-tree {
+ background: transparent;
+ color: #c3c3dd;
+ font-size: 12px;
+
+ .el-tree-node {
+ line-height: 30px !important;
+
+ .el-tree-node__content {
+ padding-left: 0 !important;
+ display: flex;
+ align-items: center;
+ height: 40px !important;
+ line-height: 40px !important;
+ border-bottom: 1px solid rgba(70, 70, 100, 0.5);
+ box-sizing: border-box;
+ }
+
+ .el-tree-node__children {
+ .el-tree-node__content {
+ border: none;
+ }
+ }
+
+ &:focus {
+ .el-tree-node__content {
+ background: transparent !important;
+ }
+ }
+ }
+
+ .el-tree-node__label {
+ color: #c3c3dd;
+ }
+
+ .el-tree-node__expand-icon {
+ order: 3;
+ margin-left: auto;
+ }
+
+ .el-tree-node__expand-icon.is-leaf {
+ visibility: hidden;
+ }
+
+ .el-checkbox {
+ order: 1;
+ }
+
+ .el-tree-node__label {
+ order: 2;
+ }
+
+ .el-tree-node__expand-icon:not(.is-leaf)~.el-checkbox {
+ display: none;
+ }
+
+ .el-tree-node__content:hover,
+ .el-tree-node__content:focus {
+ background: transparent !important;
+ }
+
+ .el-tree-node.is-current>.el-tree-node__content {
+ background: transparent !important;
+ color: #ffffff;
+ }
+
+ .el-tree-node.is-current>.el-tree-node__content .el-tree-node__label {
+ color: #ffffff;
+ }
+
+ .el-checkbox__input.is-checked .el-checkbox__inner {
+ background-color: #023aff;
+ border-color: #023aff;
+ }
+
+ .el-checkbox__inner {
+ background-color: transparent;
+ border-color: #a1a3d4;
+ }
+}
+
.command-cascader {
height: 40px;
@@ -233,7 +314,7 @@
.el-time-panel__btn {
color: #fff;
}
-
+
.el-time-panel__btn:first-child {
color: #86909C;
}
@@ -279,7 +360,7 @@
.el-time-panel__btn {
color: #fff;
}
-
+
.el-time-panel__btn:first-child {
color: #86909C;
}
@@ -329,7 +410,7 @@
}
// td:hover,
- // td.current:not(.disabled) {
+ // td.current:not(.disabled{
// background: rgba(60, 121, 202) !important;
// color: white !important;
// }
@@ -744,7 +825,7 @@
}
}
}
-
+
.el-input {
width: 160px;
}
@@ -1170,7 +1251,7 @@
text-transform: none;
}
- & > button {
+ &>button {
width: auto;
height: auto;
display: flex;
@@ -1383,6 +1464,102 @@
}
}
}
+
+ .address-btn {
+ display: flex;
+ justify-content: flex-start;
+ padding: 0 8px;
+ width: 100%;
+ }
+ }
+ }
+
+ .el-tabs {
+ background: transparent;
+ border: none;
+
+ .el-tabs__header {
+ position: relative;
+ background: transparent;
+ border: none;
+
+ &::after {
+ content: '';
+ position: absolute;
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ height: 1px;
+ background: #333355;
+ }
+
+ .el-tabs__item {
+ position: relative;
+ margin-left: 26px;
+
+ font-family: Source Code Pro, Source Code Pro;
+ font-weight: 400;
+ font-size: 14px;
+ color: #86909C;
+ text-align: center;
+ font-style: normal;
+ text-transform: none;
+ cursor: pointer;
+
+ &:first-child {
+ margin-left: 0;
+ }
+
+ &.is-active {
+ font-weight: normal;
+ color: #FFFFFF;
+ }
+
+ &::after {
+ content: '';
+ position: absolute;
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ height: 0;
+ }
+
+ &.is-active::after {
+ height: 3px;
+ background: #284FE3;
+ box-shadow: 0px 3px 2px 0px rgba(15, 89, 255, 0.1), 0px 7px 5px 0px rgba(15, 89, 255, 0.15), 0px 13px 10px 0px rgba(15, 89, 255, 0.18), 0px 22px 18px 0px rgba(15, 89, 255, 0.21), 0px 42px 33px 0px rgba(15, 89, 255, 0.26), 0px 100px 80px 0px rgba(15, 89, 255, 0.36);
+ border-radius: 5px 5px 0px 0px;
+ z-index: 9;
+ }
+ }
+ }
+
+ .el-tabs__content {
+ background: transparent;
+ border: none;
+ height: 430px;
+ overflow-y: auto;
+
+
+ .el-tab-pane {
+ background: transparent;
+ border: none;
+
+ .el-tree {
+ background: transparent;
+ border: none;
+ }
+ }
+ }
+
+ .el-tabs__nav {
+ background: transparent;
+ border: none;
+
+ .el-tabs__item {
+ background: transparent;
+ border: none;
+ }
}
}
}
--
Gitblit v1.9.3