diff --git a/dashboard/src/components/chat/message_list_comps/IPythonToolBlock.vue b/dashboard/src/components/chat/message_list_comps/IPythonToolBlock.vue index 5ff9469a0e..a031f9bc1f 100644 --- a/dashboard/src/components/chat/message_list_comps/IPythonToolBlock.vue +++ b/dashboard/src/components/chat/message_list_comps/IPythonToolBlock.vue @@ -150,7 +150,7 @@ onMounted(async () => { } .code-fallback.dark-theme { - background-color: transparent; + background-color: rgb(var(--v-theme-codeBg)); } .result-section { @@ -178,7 +178,7 @@ onMounted(async () => { } .result-content.dark-theme { - background-color: transparent; + background-color: rgb(var(--v-theme-codeBg)); } .animate-fade-in { diff --git a/dashboard/src/components/shared/ConsoleDisplayer.vue b/dashboard/src/components/shared/ConsoleDisplayer.vue index d69feea39f..cf4be65cfd 100644 --- a/dashboard/src/components/shared/ConsoleDisplayer.vue +++ b/dashboard/src/components/shared/ConsoleDisplayer.vue @@ -36,14 +36,14 @@ export default { autoScroll: true, isFullscreen: false, logColorAnsiMap: { - '\u001b[1;34m': 'color: #39C5BB; font-weight: bold;', - '\u001b[1;36m': 'color: #00FFFF; font-weight: bold;', - '\u001b[1;33m': 'color: #FFFF00; font-weight: bold;', - '\u001b[31m': 'color: #FF0000;', - '\u001b[1;31m': 'color: #FF0000; font-weight: bold;', + '\u001b[1;34m': 'color: #6cb6d9; font-weight: bold;', + '\u001b[1;36m': 'color: #72c4cc; font-weight: bold;', + '\u001b[1;33m': 'color: #d4b95e; font-weight: bold;', + '\u001b[31m': 'color: #d46a6a;', + '\u001b[1;31m': 'color: #e06060; font-weight: bold;', '\u001b[0m': 'color: inherit; font-weight: normal;', - '\u001b[32m': 'color: #00FF00;', - 'default': 'color: #FFFFFF;' + '\u001b[32m': 'color: #6cc070;', + 'default': 'color: #c8c8c8;' }, logLevels: ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'], selectedLevels: [0, 1, 2, 3, 4], diff --git a/dashboard/src/components/shared/ExtensionCard.vue b/dashboard/src/components/shared/ExtensionCard.vue index 061a76c56f..f7c05c5c59 100644 --- a/dashboard/src/components/shared/ExtensionCard.vue +++ b/dashboard/src/components/shared/ExtensionCard.vue @@ -164,11 +164,13 @@ const viewChangelog = () => { ? marketMode ? '#f8f0dd' : '#ffffff' - : '#282833', + : marketMode + ? '#3a3425' + : '#282833', color: useCustomizerStore().uiTheme === 'PurpleTheme' ? '#000000dd' - : '#ffffff', + : '#ffffffdd', }" > - + {{ tm('t2iTemplateEditor.dialogTitle') }} @@ -560,3 +560,9 @@ code { font-size: 0.875em; } + + diff --git a/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue b/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue index 1fb32b48a0..4ac9e1d6e8 100644 --- a/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue +++ b/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue @@ -488,6 +488,7 @@ const isChristmas = computed(() => { }); // 语言切换相关 +const mainMenuOpen = ref(false); const { languageOptions, currentLanguage, switchLanguage, locale } = useLanguageSwitcher(); const languages = computed(() => languageOptions.value.map(lang => ({ @@ -499,6 +500,7 @@ const languages = computed(() => const currentLocale = computed(() => locale.value); const changeLanguage = async (langCode: string) => { await switchLanguage(langCode as Locale); + mainMenuOpen.value = false; }; onMounted(async () => { @@ -591,7 +593,7 @@ onMounted(async () => { - +