58 lines
1.4 KiB
TypeScript
58 lines
1.4 KiB
TypeScript
|
|
import DefaultLayout from '@/layouts/DefaultLayout/index.vue';
|
||
|
|
|
||
|
|
export default [
|
||
|
|
{
|
||
|
|
path: '/:namespace+',
|
||
|
|
component: () => import('@/views/Homepage/index.vue'),
|
||
|
|
name: 'homepage',
|
||
|
|
meta: {
|
||
|
|
hasMobile: true, // 是否展示移动端
|
||
|
|
pageType: 'userOrOrg' // 用户或组织主页
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: '/',
|
||
|
|
component: DefaultLayout,
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
path: '',
|
||
|
|
name: 'home',
|
||
|
|
component: () => import('@/views/micro-page/proxy-homeweb.vue'),
|
||
|
|
meta: {
|
||
|
|
micorApp: ['micoro-app-homeweb-app'],
|
||
|
|
hasMobile: true,
|
||
|
|
hiddenFooter: true,
|
||
|
|
reportTitle: '首页',
|
||
|
|
className: 'w-full min-w-full',
|
||
|
|
headerClassName: ''
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'search',
|
||
|
|
name: 'search',
|
||
|
|
component: () => import('@/views/Jyh/Search/index.vue'),
|
||
|
|
meta: {
|
||
|
|
title: '高级搜索',
|
||
|
|
reportTitle: '搜索',
|
||
|
|
className: 'w-full min-w-full',
|
||
|
|
hiddenFooter: true,
|
||
|
|
hasMobile: true,
|
||
|
|
asideMenu: 'drawer' // 左侧菜单抽屉模式
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'explore',
|
||
|
|
name: 'explore',
|
||
|
|
component: () => import('@/views/micro-page/proxy-homeweb.vue'),
|
||
|
|
meta: {
|
||
|
|
micorApp: ['micoro-app-homeweb-app'],
|
||
|
|
title: '搜索开源',
|
||
|
|
className: 'w-full min-w-full',
|
||
|
|
hiddenFooter: true,
|
||
|
|
hasMobile: true
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
];
|