fix(admin): restore Vite admin source files
This commit is contained in:
1 parent
8fe3a89c36
commit
ac5c0b2dd7
114 files changed
+17272
No files matched your search
@@ -0,0 +1,108 @@
|
||||
import { renderFaIcon, schemaPage, customPage } from './helpers'
|
||||
|
||||
export const globalSection = {
|
||||
key: 'global',
|
||||
label: '全局&功能',
|
||||
icon: renderFaIcon('fas fa-globe'),
|
||||
route: '/global',
|
||||
children: [
|
||||
schemaPage({
|
||||
key: 'global-common',
|
||||
name: 'GlobalCommon',
|
||||
label: '常用功能',
|
||||
route: '/global/common',
|
||||
title: '常用功能',
|
||||
desc: '评论、性能、头像源与备案等全局基础配置。',
|
||||
canonicalDomain: 'global',
|
||||
section: 'common',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'global-logo',
|
||||
name: 'GlobalLogo',
|
||||
label: 'LOGO图像',
|
||||
route: '/global/logo',
|
||||
title: 'LOGO图像',
|
||||
desc: '管理站点 Logo、站点图标和品牌标识。',
|
||||
canonicalDomain: 'global',
|
||||
section: 'logo',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'global-seo',
|
||||
name: 'GlobalSeo',
|
||||
label: 'SEO优化',
|
||||
route: '/global/seo',
|
||||
title: 'SEO优化',
|
||||
desc: '站点标题、描述、关键词、Sitemap 等搜索引擎优化设置。',
|
||||
canonicalDomain: 'global',
|
||||
section: 'seo',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'global-layout',
|
||||
name: 'GlobalLayout',
|
||||
label: '显示&布局',
|
||||
route: '/global/layout',
|
||||
title: '显示&布局',
|
||||
desc: '全局布局风格、颜色方案、字体设置。',
|
||||
canonicalDomain: 'global',
|
||||
section: 'layout',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'global-search',
|
||||
name: 'GlobalSearch',
|
||||
label: '搜索功能',
|
||||
route: '/global/search',
|
||||
title: '搜索功能',
|
||||
desc: '搜索页面样式、搜索建议、热门搜索配置。',
|
||||
canonicalDomain: 'global',
|
||||
section: 'search',
|
||||
}),
|
||||
customPage({
|
||||
key: 'global-tabbar',
|
||||
name: 'GlobalTabbar',
|
||||
label: '手机底部Tab',
|
||||
route: '/global/tabbar',
|
||||
title: '手机底部Tab',
|
||||
desc: '移动端底部导航栏配置。',
|
||||
component: 'FooterTabbarSettings',
|
||||
}),
|
||||
customPage({
|
||||
key: 'global-floating',
|
||||
name: 'GlobalFloating',
|
||||
label: '右侧悬浮按钮',
|
||||
route: '/global/floating',
|
||||
title: '右侧悬浮按钮',
|
||||
desc: '页面右侧浮动按钮的显示与配置。',
|
||||
component: 'FloatingButtonsSettings',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'global-i18n',
|
||||
name: 'GlobalI18n',
|
||||
label: '多语言翻译',
|
||||
route: '/global/i18n',
|
||||
title: '多语言翻译',
|
||||
desc: '配置站点语言、语言切换器和翻译管理。',
|
||||
canonicalDomain: 'global',
|
||||
section: 'i18n',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'global-email',
|
||||
name: 'GlobalEmail',
|
||||
label: 'Email邮件',
|
||||
route: '/global/email',
|
||||
title: 'Email邮件',
|
||||
desc: 'SMTP 发信配置、邮件模板与测试。',
|
||||
canonicalDomain: 'global',
|
||||
section: 'email',
|
||||
}),
|
||||
schemaPage({
|
||||
key: 'global-custom-code',
|
||||
name: 'GlobalCustomCode',
|
||||
label: '自定义代码',
|
||||
route: '/global/custom-code',
|
||||
title: '自定义代码',
|
||||
desc: '自定义 CSS、JS 代码注入。',
|
||||
canonicalDomain: 'global',
|
||||
section: 'custom-code',
|
||||
}),
|
||||
],
|
||||
}
|
||||
Reference in new issue
Block a user