From b5bbbd19cf0b3c2b7674e5ecb6c1847f0ec734e4 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Wed, 04 Mar 2026 16:26:29 +0800
Subject: [PATCH] feat: 贴地
---
applications/drone-command/src/styles/common/cockpit.scss | 112 +++++++++++++++++++++++++++++++++++++++++++-------------
1 files changed, 86 insertions(+), 26 deletions(-)
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index 61579d7..561ae84 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -74,15 +74,7 @@
.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;
+ font-size: 12px;
}
.el-checkbox {
@@ -91,10 +83,6 @@
.el-tree-node__label {
order: 2;
- }
-
- .el-tree-node__expand-icon:not(.is-leaf)~.el-checkbox {
- display: none;
}
.el-tree-node__content:hover,
@@ -111,14 +99,46 @@
color: #ffffff;
}
- .el-checkbox__input.is-checked .el-checkbox__inner {
- background-color: #023aff;
- border-color: #023aff;
+ .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-checkbox__inner {
- background-color: transparent;
- border-color: #a1a3d4;
+ .el-tree-node__expand-icon {
+ order: 3;
+ margin-left: auto;
+ }
+
+ .el-tree-node__expand-icon.is-leaf {
+ visibility: hidden;
+ }
+
+ .el-tree-node__expand-icon.expanded {
+ transform: rotate(-180deg);
}
}
@@ -561,6 +581,10 @@
}
}
+ .el-select__wrapper.is-disabled .el-select__selected-item {
+ color: #a8abb2;
+ }
+
.el-select {
--el-select-border-color-hover: rgb(0, 162, 255) !important;
}
@@ -575,6 +599,15 @@
.el-input__wrapper {
--el-input-text-color: #161B2C !important;
+ }
+
+ .el-select__selection.is-near {
+ margin-left: 0;
+
+ .el-tag {
+ color: #ffffff;
+ background: #161B2C;
+ }
}
}
@@ -1223,6 +1256,10 @@
}
}
+.placeholder-ele {
+ padding: 12px;
+}
+
.command-page-view-dialog {
margin: 0;
padding: 20px;
@@ -1288,7 +1325,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;
@@ -1351,7 +1388,7 @@
.el-form-item {
display: flex;
- align-items: center;
+ align-items: flex-start;
.el-form-item__label {
display: flex;
@@ -1360,6 +1397,7 @@
font-weight: 500;
font-size: 14px;
color: #D4D5D7;
+ height: 40px;
line-height: 40px;
text-align: right;
font-style: normal;
@@ -1413,6 +1451,10 @@
background: #2E2E48 !important;
border: none;
box-shadow: none;
+
+ &.is-disabled {
+ color: #a8abb2;
+ }
}
.command-date-picker {
@@ -1496,7 +1538,7 @@
.el-tabs__item {
position: relative;
margin-left: 26px;
-
+
font-family: Source Code Pro, Source Code Pro;
font-weight: 400;
font-size: 14px;
@@ -1505,16 +1547,16 @@
font-style: normal;
text-transform: none;
cursor: pointer;
-
+
&:first-child {
margin-left: 0;
}
-
+
&.is-active {
font-weight: normal;
color: #FFFFFF;
}
-
+
&::after {
content: '';
position: absolute;
@@ -1523,7 +1565,7 @@
width: 100%;
height: 0;
}
-
+
&.is-active::after {
height: 3px;
background: #284FE3;
@@ -1603,7 +1645,13 @@
color: #D4D5D7;
}
+ .el-message-box__container {
+ display: flex;
+ justify-content: center;
+ }
+
.el-message-box__btns {
+ padding-top: 30px;
display: flex;
justify-content: center;
@@ -1779,6 +1827,17 @@
overflow-y: auto;
+ .detail-title {
+ margin-bottom: 20px;
+ font-family: Source Han Sans CN, Source Han Sans CN;
+ font-weight: 500;
+ font-size: 16px;
+ color: #FFFFFF;
+ text-align: left;
+ font-style: normal;
+ text-transform: none;
+ }
+
.el-row {
.el-col {
margin-bottom: 0;
@@ -1945,6 +2004,7 @@
}
.footer {
+ margin-top: 20px;
width: 100%;
display: flex;
align-items: center;
--
Gitblit v1.9.3