From 3e40643512e49e13cab6a159fffa9a521feb00ab Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 31 Jan 2026 14:55:46 +0800
Subject: [PATCH] feat:tree样式微调
---
applications/drone-command/src/styles/common/cockpit.scss | 23 ++++++++++++++---------
applications/drone-command/env/.env.development | 12 +++++++++++-
2 files changed, 25 insertions(+), 10 deletions(-)
diff --git a/applications/drone-command/env/.env.development b/applications/drone-command/env/.env.development
index 39b17e8..c8f07e9 100644
--- a/applications/drone-command/env/.env.development
+++ b/applications/drone-command/env/.env.development
@@ -1,3 +1,13 @@
+###
+ # @Author : yuan
+ # @Date : 2026-01-31 14:34:31
+ # @LastEditors : yuan
+ # @LastEditTime : 2026-01-31 14:49:37
+ # @FilePath : \applications\drone-command\env\.env.development
+ # @Description :
+ # Copyright 2026 OBKoro1, All Rights Reserved.
+ # 2026-01-31 14:34:31
+###
NODE_ENV='development'
#开发环境配置
@@ -6,7 +16,7 @@
#开发环境代理地址(推荐本地新建文件 .env.development.local 来进行覆盖)
# VITE_APP_URL=https://wrj.shuixiongit.com/api
-VITE_APP_URL=http://192.168.1.168
+VITE_APP_URL=http://192.168.1.204
#新大屏地址
VITE_APP_DASHBOARD_URL='https://wrj.shuixiongit.com/command-center-dashboard/'
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index 74e128f..a5f6843 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -99,13 +99,18 @@
}
.el-checkbox__input.is-checked .el-checkbox__inner {
- background-color: #023aff;
- border-color: #023aff;
+ background-color: #023aff !important;
+ border-color: #023aff !important;
}
.el-checkbox__inner {
- background-color: transparent;
- border-color: #a1a3d4;
+ 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;
}
}
@@ -1511,7 +1516,7 @@
.el-tabs__item {
position: relative;
margin-left: 26px;
-
+
font-family: Source Code Pro, Source Code Pro;
font-weight: 400;
font-size: 14px;
@@ -1520,16 +1525,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;
@@ -1538,7 +1543,7 @@
width: 100%;
height: 0;
}
-
+
&.is-active::after {
height: 3px;
background: #284FE3;
--
Gitblit v1.9.3