diff --git a/frontend/src/components/layout/index.vue b/frontend/src/components/layout/index.vue index 2fcfbe73..c25b4663 100644 --- a/frontend/src/components/layout/index.vue +++ b/frontend/src/components/layout/index.vue @@ -75,14 +75,16 @@ Switch Layout Logout - + + + -
+

{{ currentPageTitle }}

@@ -92,7 +94,7 @@ - {{ t('common.system_manage') }} + {{ t('common.system_manage') }}
@@ -105,8 +107,10 @@ Switch Layout Logout - - + + + + @@ -155,10 +159,10 @@ import icon_user from '@/assets/svg/icon_user.svg' import icon_ai from '@/assets/svg/icon_ai.svg' import {ArrowLeftBold} from '@element-plus/icons-vue' import {useCache} from '@/utils/useCache' -import { useI18n } from 'vue-i18n' +import {useI18n} from 'vue-i18n' import LanguageSelector from '@/components/Language-selector/index.vue' -const { t } = useI18n() +const {t} = useI18n() const {wsCache} = useCache() const topLayout = ref(false) const router = useRouter() @@ -284,6 +288,7 @@ onMounted(() => { flex: 1; border-right: none; border-bottom: none; + &:not(.ed-menu--vertical) { margin-left: 32px } @@ -293,9 +298,11 @@ onMounted(() => { .main-menu-sidebar { width: 240px; background: #fff; - border-right: 1px solid #e6e6e6; + box-shadow: 0 1px 3px var(--ed-menu-border-color); display: flex; flex-direction: column; + z-index: 2; + .ed-menu--vertical { padding: 0 16px; } @@ -307,9 +314,9 @@ onMounted(() => { font-size: 24px; font-weight: bold; color: var(--el-color-primary); - text-align: left; justify-content: space-between; - border-bottom: 1px solid var(--el-menu-border-color); + box-shadow: 0 1px 3px var(--ed-menu-border-color); + z-index: 2; text-align: center; .logo { @@ -419,7 +426,7 @@ onMounted(() => { background-color: #f5f7fa; box-sizing: border-box; - &:not(.main-conntent-withba) { + &:not(.main-content-with-bar) { padding: 16px 24px; } @@ -518,7 +525,7 @@ onMounted(() => { } } - .main-conntent-withbar { + .main-content-with-bar { height: 0; flex: 1; width: 100%; diff --git a/frontend/src/views/chat/ChatAnswer.vue b/frontend/src/views/chat/ChatAnswer.vue index 4150305b..2f6c9d33 100644 --- a/frontend/src/views/chat/ChatAnswer.vue +++ b/frontend/src/views/chat/ChatAnswer.vue @@ -108,8 +108,10 @@ function onTypeChange(type: string) {