From b0530ed9211230227a8f94e394eda779d5ae5fc1 Mon Sep 17 00:00:00 2001
From: birt <2499248221@qq.com>
Date: 星期日, 13 四月 2025 01:51:52 +0800
Subject: [PATCH] birtzhang

---
 zhitan-vue/src/components/Breadcrumb/index.vue |   23 +++++++++++++++++++----
 1 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/zhitan-vue/src/components/Breadcrumb/index.vue b/zhitan-vue/src/components/Breadcrumb/index.vue
index 729370a..032a6fb 100644
--- a/zhitan-vue/src/components/Breadcrumb/index.vue
+++ b/zhitan-vue/src/components/Breadcrumb/index.vue
@@ -18,10 +18,11 @@
   // only show routes with meta.title
   let matched = route.matched.filter(item => item.meta && item.meta.title);
   const first = matched[0]
-  // 鍒ゆ柇鏄惁涓洪椤�
-  if (!isDashboard(first)) {
-    matched = [{ path: '/index', meta: { title: '棣栭〉' } }].concat(matched)
-  }
+  
+  // 涓嶈嚜鍔ㄦ坊鍔犻椤靛埌闈㈠寘灞戜腑
+  // if (!isDashboard(first)) {
+  //   matched = [{ path: '/index', meta: { title: '棣栭〉' } }].concat(matched)
+  // }
 
   levelList.value = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false)
 }
@@ -62,5 +63,19 @@
     color: #fff;
     cursor: text;
   }
+  
+  :deep(.el-breadcrumb__item) {
+    .el-breadcrumb__inner {
+      color: rgba(255, 255, 255, 0.8);
+      
+      &:hover {
+        color: #fff;
+      }
+    }
+    
+    .el-breadcrumb__separator {
+      color: rgba(255, 255, 255, 0.8);
+    }
+  }
 }
 </style>
\ No newline at end of file

--
Gitblit v1.9.3