diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index d015defc1..c96cd39bc 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -4,9 +4,10 @@
- + +
@@ -51,9 +52,10 @@
- + +
diff --git a/ui/src/layout/components/app-header/index.vue b/ui/src/layout/components/app-header/index.vue index 2bb2ca148..dae395725 100644 --- a/ui/src/layout/components/app-header/index.vue +++ b/ui/src/layout/components/app-header/index.vue @@ -31,7 +31,4 @@ const isDefaultTheme = computed(() => { top: 0; z-index: 100; } -.custom-header { - background: var(--el-color-primary-light-9) !important; -} diff --git a/ui/src/styles/app.scss b/ui/src/styles/app.scss index d056bb12f..149e3ad9e 100644 --- a/ui/src/styles/app.scss +++ b/ui/src/styles/app.scss @@ -701,3 +701,8 @@ h5 { box-shadow: none; } } + +// 自定义主题 +.custom-header { + background: var(--el-color-primary-light-9) !important; +} diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss index 83c7227cc..feea925b9 100644 --- a/ui/src/styles/element-plus.scss +++ b/ui/src/styles/element-plus.scss @@ -1,5 +1,5 @@ :root { - --el-color-primary: #3370ff; + --el-color-primary: #3370FF; --el-menu-item-height: 45px; --el-box-shadow-light: 0px 2px 4px 0px rgba(31, 35, 41, 0.12); --el-border-color: #dee0e3; diff --git a/ui/src/styles/variables.scss b/ui/src/styles/variables.scss index dfa649771..0c1d7b69e 100644 --- a/ui/src/styles/variables.scss +++ b/ui/src/styles/variables.scss @@ -14,8 +14,8 @@ --app-header-height: 56px; --app-header-padding: 0 20px; --app-header-bg-color: linear-gradient(90deg, #ebf1ff 24.34%, #e5fbf8 56.18%, #f2ebfe 90.18%); - --app-logo-color: linear-gradient(180deg, #3370ff 0%, #7f3bf5 100%); - --app-avatar-gradient-color: linear-gradient(270deg, #9258f7 0%, #3370ff 100%); + --app-logo-color: linear-gradient(180deg, #3370FF 0%, #7f3bf5 100%); + --app-avatar-gradient-color: linear-gradient(270deg, #9258f7 0%, #3370FF 100%); /* 计算高度 */ --app-main-height: calc(100vh - var(--app-header-height) - var(--app-view-padding) * 2 - 40px); diff --git a/ui/src/views/chat/base/index.vue b/ui/src/views/chat/base/index.vue index 91027dedf..81319e323 100644 --- a/ui/src/views/chat/base/index.vue +++ b/ui/src/views/chat/base/index.vue @@ -1,6 +1,6 @@ diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue index 994287f5a..50416a4ab 100644 --- a/ui/src/views/chat/pc/index.vue +++ b/ui/src/views/chat/pc/index.vue @@ -1,6 +1,6 @@