diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts
index f6614408e2..5e86e2ca94 100644
--- a/core/core-frontend/src/locales/en.ts
+++ b/core/core-frontend/src/locales/en.ts
@@ -538,6 +538,7 @@ export default {
website_name: 'Website name',
web_page_tab: 'Platform name displayed on web page tab',
under_product_logo: 'Slogan under product logo',
+ slogan_content: 'Slogan content',
footer: 'Footer',
footer_content: 'Footer content',
platform_settings: 'Platform settings',
diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts
index 7d655b2256..3f32df9ed9 100644
--- a/core/core-frontend/src/locales/tw.ts
+++ b/core/core-frontend/src/locales/tw.ts
@@ -522,6 +522,7 @@ export default {
website_name: '網站名稱',
web_page_tab: '顯示在網頁Tab 的平台名稱',
under_product_logo: '產品Logo 下的Slogan',
+ slogan_content: 'Slogan 內容',
footer: '頁尾',
footer_content: '頁尾內容',
platform_settings: '平台設定',
diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts
index c469ae8966..c2b6ece772 100644
--- a/core/core-frontend/src/locales/zh-CN.ts
+++ b/core/core-frontend/src/locales/zh-CN.ts
@@ -523,6 +523,7 @@ export default {
website_name: '网站名称',
web_page_tab: '显示在网页 Tab 的平台名称',
under_product_logo: '产品 Logo 下的 Slogan',
+ slogan_content: 'Slogan 内容',
footer: '页脚',
footer_content: '页脚内容',
platform_settings: '平台设置',
diff --git a/core/core-frontend/src/store/modules/appearance.ts b/core/core-frontend/src/store/modules/appearance.ts
index 269b89263a..93b6df9916 100644
--- a/core/core-frontend/src/store/modules/appearance.ts
+++ b/core/core-frontend/src/store/modules/appearance.ts
@@ -26,6 +26,7 @@ interface AppearanceState {
showAbout?: string
bg?: string
login?: string
+ showSlogan?: string
slogan?: string
web?: string
name?: string
@@ -54,6 +55,7 @@ export const useAppearanceStore = defineStore('appearanceStore', {
showAbout: '0',
bg: '',
login: '',
+ showSlogan: 'true',
slogan: '',
web: '',
name: '',
@@ -109,6 +111,9 @@ export const useAppearanceStore = defineStore('appearanceStore', {
}
return null
},
+ getShowSlogan(): string {
+ return this.showSlogan
+ },
getSlogan(): string {
return this.slogan
},
@@ -318,6 +323,7 @@ export const useAppearanceStore = defineStore('appearanceStore', {
}
this.bg = data.bg
this.login = data.login
+ this.showSlogan = data.showSlogan
this.slogan = data.slogan
this.web = data.web
this.name = data.name
diff --git a/core/core-frontend/src/views/login/index.vue b/core/core-frontend/src/views/login/index.vue
index 66b0edadfd..bea3f5ac62 100644
--- a/core/core-frontend/src/views/login/index.vue
+++ b/core/core-frontend/src/views/login/index.vue
@@ -28,7 +28,7 @@ const contentShow = ref(true)
const loading = ref(false)
const axiosFinished = ref(true)
const showFoot = ref(false)
-
+const showSlogan = ref(true)
const loginLogoUrl = ref(null)
const msg = ref(null)
const loginImageUrl = ref(null)
@@ -176,6 +176,9 @@ const loadArrearance = () => {
if (appearanceStore.getLogin) {
loginLogoUrl.value = appearanceStore.getLogin
}
+ if (appearanceStore.getShowSlogan) {
+ showSlogan.value = appearanceStore.getShowSlogan === 'true'
+ }
if (appearanceStore.getSlogan) {
slogan.value = appearanceStore.getSlogan
}
@@ -288,7 +291,7 @@ onMounted(async () => {
-