feat: 更新网站页面和组件,新增多个页面(关于、专家、会员、政策等)
This commit is contained in:
@@ -1,12 +1,86 @@
|
||||
export type NavItem = {
|
||||
key: string
|
||||
label: string
|
||||
to: string
|
||||
key: string
|
||||
label: string
|
||||
to?: string
|
||||
href?: string
|
||||
target?: string
|
||||
children?: NavItem[]
|
||||
}
|
||||
|
||||
export const mainNav: NavItem[] = [
|
||||
{key: 'home', label: '首页', to: '/'},
|
||||
{key: 'products', label: '经营范围', to: '/products'},
|
||||
{key: 'join', label: '招商加盟', to: '/join'},
|
||||
{key: 'contact', label: '联系我们', to: '/contact'}
|
||||
{ key: 'home', label: '首页', to: '/' },
|
||||
{
|
||||
key: 'policy',
|
||||
label: '政策要闻',
|
||||
to: '/policy',
|
||||
children: [
|
||||
{ key: 'policy-latest', label: '最新资讯', to: '/policy/latest' },
|
||||
{ key: 'policy-cities', label: '市县决策', to: '/policy/cities' },
|
||||
{ key: 'policy-hotspots', label: '研究热点', to: '/policy/hotspots' },
|
||||
{ key: 'policy-events', label: '学术活动', to: '/policy/events' },
|
||||
{ key: 'policy-release', label: '政策发布', to: '/policy/release' }
|
||||
]
|
||||
},
|
||||
{
|
||||
key: 'reference',
|
||||
label: '决策参考',
|
||||
to: '/reference',
|
||||
children: [
|
||||
{ key: 'reference-docs', label: '政策文件', to: '/reference/docs' },
|
||||
{ key: 'reference-data', label: '数据服务', to: '/reference/data' },
|
||||
{ key: 'reference-results', label: '研究成果', to: '/reference/results' },
|
||||
{ key: 'reference-opinions', label: '专家视点', to: '/reference/opinions' }
|
||||
]
|
||||
},
|
||||
{
|
||||
key: 'membership',
|
||||
label: '会员服务',
|
||||
to: '/member',
|
||||
children: [
|
||||
{ key: 'member-qualification', label: '会员资格', to: '/member/qualification' },
|
||||
{ key: 'member-apply', label: '会员申请', to: '/member/apply' },
|
||||
{ key: 'member-downloads', label: '资料下载', to: '/downloads' }
|
||||
]
|
||||
},
|
||||
{
|
||||
key: 'consulting',
|
||||
label: '咨询服务',
|
||||
to: '/consulting',
|
||||
children: [
|
||||
{ key: 'consulting-intro', label: '服务简介', to: '/consulting/intro' },
|
||||
{ key: 'consulting-results', label: '研究成果', to: '/consulting/results' },
|
||||
{ key: 'consulting-contact', label: '联系', to: '/contact' }
|
||||
]
|
||||
},
|
||||
{
|
||||
key: 'thinktank',
|
||||
label: '智库动态',
|
||||
to: '/thinktank',
|
||||
children: [
|
||||
{ key: 'thinktank-party', label: '智库党建', to: '/thinktank/party' },
|
||||
{ key: 'thinktank-coop', label: '交流合作', to: '/thinktank/coop' }
|
||||
]
|
||||
},
|
||||
{
|
||||
key: 'experts',
|
||||
label: '专家智库平台',
|
||||
to: '/experts',
|
||||
children: [
|
||||
{ key: 'experts-db', label: '智库专家库', to: '/experts/db' },
|
||||
{ key: 'experts-style', label: '专家风采', to: '/experts/style' },
|
||||
{ key: 'experts-apply', label: '专家申请', to: '/experts/apply' },
|
||||
{ key: 'experts-downloads', label: '资料下载', to: '/downloads' }
|
||||
]
|
||||
},
|
||||
{ key: 'suggest', label: '建言献策', to: '/suggest' },
|
||||
{
|
||||
key: 'about',
|
||||
label: '关于我们',
|
||||
to: '/about',
|
||||
children: [
|
||||
{ key: 'about-org', label: '组织机构', to: '/about/org' },
|
||||
{ key: 'about-staff', label: '机构人员', to: '/about/staff' },
|
||||
{ key: 'about-contact', label: '联系我们', to: '/contact' }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -3,5 +3,5 @@ export const MODULES_API_URL = '/api/_modules'
|
||||
export const FILE_SERVER = '/api/_file'
|
||||
|
||||
// Some endpoints use this as a special TenantId override (defaults to current tenant)
|
||||
export const TEMPLATE_ID = '10584'
|
||||
export const TEMPLATE_ID = '10588'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user