fix: theme

This commit is contained in:
wangdan-fit2cloud 2025-07-11 15:19:34 +08:00
parent 2783d7dcde
commit a178986d9b
4 changed files with 18 additions and 7 deletions

View File

@ -213,9 +213,7 @@ function refreshFieldTitle(chatId: string, abstract: string) {
display: flex;
flex-direction: column;
border-right: 1px solid var(--el-menu-border-color);
background:
linear-gradient(187.61deg, rgba(235, 241, 255, 0.5) 39.6%, rgba(231, 249, 255, 0.5) 94.3%),
#eef1f4;
background: var(--el-color-primary-light-06) !important;
:deep(.el-menu) {
background: none;
border: none;
@ -227,6 +225,9 @@ function refreshFieldTitle(chatId: string, abstract: string) {
color: var(--el-text-color-primary) !important;
}
}
.el-sub-menu__title:hover {
background-color: var(--el-color-primary-light-9) !important;
}
}
.left-height {
@ -251,11 +252,9 @@ function refreshFieldTitle(chatId: string, abstract: string) {
</style>
<style lang="scss">
.chat-pc-popper {
background:
linear-gradient(187.61deg, rgba(235, 241, 255, 0.5) 39.6%, rgba(231, 249, 255, 0.5) 94.3%),
#eef1f4 !important;
background: #ffffff!important;
.el-menu {
background: transparent;
background: var(--el-color-primary-light-06) !important;
}
.el-menu-item-group__title {
padding: 8px 8px 8px 16px;

View File

@ -12,6 +12,10 @@
applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.4,
),
'--el-color-primary-light-06': hexToRgba(
applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.04,
),
backgroundImage: `url(${applicationDetail?.chat_background})`,
}"
>

View File

@ -13,6 +13,10 @@
applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.4,
),
'--el-color-primary-light-06': hexToRgba(
applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.04,
),
backgroundImage: `url(${applicationDetail?.chat_background})`,
}"
>

View File

@ -13,6 +13,10 @@
applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.4,
),
'--el-color-primary-light-06': hexToRgba(
applicationDetail?.custom_theme?.theme_color || '#3370FF',
0.04,
),
}"
>
<div class="flex h-full w-full">