From c7566bba45e6f90594d36ec4b80ac4ff89f577ee Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 08 十月 2026 14:19:36 +0800
Subject: [PATCH] 项目重构

---
 src/components/TreePanel/index.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/components/TreePanel/index.vue b/src/components/TreePanel/index.vue
index 513b8e3..334599b 100644
--- a/src/components/TreePanel/index.vue
+++ b/src/components/TreePanel/index.vue
@@ -589,11 +589,11 @@
   transition: background 0.2s;
   
   &:hover {
-    background: rgba(64, 158, 255, 0.3);
+    background: rgba(13, 148, 136, 0.3);
   }
-  
+
   &.active {
-    background: rgba(64, 158, 255, 0.5);
+    background: rgba(13, 148, 136, 0.5);
   }
 }
 
@@ -633,8 +633,8 @@
   transition: all 0.2s;
   
   &:hover {
-    color: #409eff;
-    background: #ecf5ff;
+    color: var(--el-color-primary);
+    background: var(--el-color-primary-light-9);
   }
 }
 
@@ -659,7 +659,7 @@
     gap: 5px;
 
     .el-icon {
-      color: #409eff;
+      color: var(--el-color-primary);
       font-size: 16px;
     }
   }
@@ -681,8 +681,8 @@
   transition: all 0.2s;
 
   &:hover {
-    color: #409eff;
-    background: #ecf5ff;
+    color: var(--el-color-primary);
+    background: var(--el-color-primary-light-9);
   }
 }
 
@@ -724,12 +724,12 @@
   }
 
   :deep(.el-tree-node.is-current > .el-tree-node__content) {
-    background: #e6f0fd;
-    color: #409eff;
+    background: var(--sidebar-active-bg);
+    color: var(--el-color-primary);
     font-weight: 600;
 
     .node-icon {
-      color: #409eff !important;
+      color: var(--el-color-primary) !important;
     }
   }
 }

--
Gitblit v1.9.3