From 057ac6428b6ae3d60855721080eeedeb5bcb14d3 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 31 Jan 2026 14:58:54 +0800
Subject: [PATCH] feat:tree样式微调
---
applications/drone-command/src/styles/common/cockpit.scss | 32 ++++++++++++++++++++------------
1 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index a5f6843..1cafd18 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -98,19 +98,27 @@
color: #ffffff;
}
- .el-checkbox__input.is-checked .el-checkbox__inner {
- background-color: #023aff !important;
- border-color: #023aff !important;
- }
+ .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;
+ }
- .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;
+ }
+ }
+ }
}
}
--
Gitblit v1.9.3