yanghao 1 semana atrás
pai
commit
fb5e663edf
2 arquivos alterados com 21 adições e 0 exclusões
  1. 20 0
      src/components/home/header.vue
  2. 1 0
      src/views/index.vue

+ 20 - 0
src/components/home/header.vue

@@ -920,4 +920,24 @@ const onUserCommand = async (command: string) => {
   border: 1px solid rgba(109, 137, 213, 0.18);
   background: #081225;
 }
+
+/* 修改 Tab 标签文字颜色 */
+:deep(.el-tabs__item) {
+  color: #b4bbcb !important; /* 强制设置为白色 */
+}
+
+/* 选中状态的标签文字颜色(保持白色或根据需要调整) */
+:deep(.el-tabs__item.is-active) {
+  color: #0088ff !important;
+}
+
+/* 如果需要修改底部激活条的颜色,可以保留或调整这个 */
+:deep(.el-tabs__active-bar) {
+  background-color: #409eff !important; /* 例如改为品牌蓝,或者保持默认 */
+}
+
+/* 确保 hover 状态也是白色或高亮色 */
+:deep(.el-tabs__item:hover) {
+  color: #008dff !important;
+}
 </style>

+ 1 - 0
src/views/index.vue

@@ -2079,6 +2079,7 @@ onUnmounted(() => {
 :deep(.el-dropdown-menu) {
   border: 0px solid #00487f !important;
   padding: 0px !important;
+  background: #182342 !important;
 }
 :deep(.el-scrollbar, .el-popper.el-dropdown__popper) {
   background: #192a5b !important;