修改:更换标题和样式调整
continuous-integration/drone/push Build was killed
continuous-integration/drone/promote/prod Build is passing

This commit is contained in:
Linzm committed 2026-10-21 14:45:51 +08:00
1 parent e6ff4756df
commit 290b065310
11 files changed
+35 -13

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export const routes = [
component: douyinHome,
meta: {
needGuard: true,
title: '抖音定制',
title: '首页',
channel: 'douyin',
},
},
+5 -1
View File
@@ -72,7 +72,11 @@ router.beforeEach((_to, _from, next) => {
}
const pageTitle = (_to.meta.title as string) || '相册'
window.document.title = `${config.brand.$t} - ${pageTitle.$t || pageTitle}`
const titleText = pageTitle.$t || pageTitle
const brandText = config.brand?.$t || config.brand || ''
// 暂时去掉「葡哇立体肖像」前缀,仅保留页面标题(如「抖音定制」)
window.document.title =
config.showBrandInTitle && brandText ? `${brandText} - ${titleText}` : String(titleText)
NProgress.start() // start progress bar
const needGuard = _to.meta.needGuard
if (needGuard) {