From 89380e6260a75d1d3b94de687ebcc2f50d50659d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 03 Feb 2026 15:44:33 +0800
Subject: [PATCH] feat:环境变量配置调整
---
applications/drone-command/src/styles/common/cockpit.scss | 253 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 247 insertions(+), 6 deletions(-)
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index add79aa..be0e93d 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -41,6 +41,102 @@
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-checkbox {
+ order: 1;
+ }
+
+ .el-tree-node__label {
+ order: 2;
+ }
+
+ .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 {
+ .el-checkbox__inner {
+ width: 16px;
+ height: 16px;
+ background: transparent !important;
+ border-radius: 2px 2px 2px 2px;
+ border: 2px solid #A1A3D4 !important;
+ box-shadow: none;
+ box-sizing: border-box;
+ }
+
+ &.is-checked {
+ .el-checkbox__inner {
+ border: none !important;
+ background: url("@/assets/images/common/checkbox.png") no-repeat center / 100% 100% !important;
+
+ &::after {
+ content: none !important;
+ }
+ }
+ }
+ }
+}
+
+.map-layer-tree {
+ .el-tree-node__expand-icon:not(.is-leaf)~.el-checkbox {
+ display: none !important;
+ }
+
+ .el-tree-node__expand-icon {
+ order: 3;
+ margin-left: auto;
+ }
+
+ .el-tree-node__expand-icon.is-leaf {
+ visibility: hidden;
+ }
+}
+
.command-cascader {
height: 40px;
@@ -204,6 +300,42 @@
color: #fff !important;
.el-date-range-picker__time-header {
+ .el-time-panel {
+ background: #1A1A2A !important;
+ border-radius: 0px 0px 8px 8px;
+ border: none !important;
+
+ // 将 time-picker-popper 的样式移到这里
+ .el-time-panel__header {
+ background: #161B2C !important;
+ color: #ffffff !important;
+ border-bottom: 1px solid rgba(71, 157, 255, 0.3) !important;
+ }
+
+ .el-time-panel__content {
+ .el-time-spinner__item {
+ &:hover {
+ background: transparent !important;
+ }
+
+ &.active {
+ color: #479dff !important;
+ font-weight: bold;
+ }
+ }
+ }
+
+ .el-time-panel__footer {
+ .el-time-panel__btn {
+ color: #fff;
+ }
+
+ .el-time-panel__btn:first-child {
+ color: #86909C;
+ }
+ }
+ }
+
.el-input__wrapper {
box-shadow: none;
background: #2E2E48 !important;
@@ -243,7 +375,7 @@
.el-time-panel__btn {
color: #fff;
}
-
+
.el-time-panel__btn:first-child {
color: #86909C;
}
@@ -293,7 +425,7 @@
}
// td:hover,
- // td.current:not(.disabled) {
+ // td.current:not(.disabled{
// background: rgba(60, 121, 202) !important;
// color: white !important;
// }
@@ -314,7 +446,7 @@
td.in-range div:hover,
&.is-week-mode .el-date-table__row.current div,
&.is-week-mode .el-date-table__row:hover div {
- background-color: #284FE3 !important;
+ background-color: #4160D5 !important;
}
}
}
@@ -444,6 +576,10 @@
}
}
+ .el-select__wrapper.is-disabled .el-select__selected-item {
+ color: #a8abb2;
+ }
+
.el-select {
--el-select-border-color-hover: rgb(0, 162, 255) !important;
}
@@ -458,6 +594,15 @@
.el-input__wrapper {
--el-input-text-color: #161B2C !important;
+ }
+
+ .el-select__selection.is-near {
+ margin-left: 0;
+
+ .el-tag {
+ color: #ffffff;
+ background: #161B2C;
+ }
}
}
@@ -708,7 +853,7 @@
}
}
}
-
+
.el-input {
width: 160px;
}
@@ -1134,7 +1279,7 @@
text-transform: none;
}
- & > button {
+ &>button {
width: auto;
height: auto;
display: flex;
@@ -1171,7 +1316,7 @@
align-items: center;
.label {
- width: 88px;
+ min-width: 88px;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 14px;
@@ -1347,6 +1492,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