2024-01-31 07:42:39 +00:00
|
|
|
// router/index.js
|
|
|
|
import { createRouter, createWebHistory } from 'vue-router';
|
|
|
|
const routes = [
|
|
|
|
{
|
|
|
|
path: '/',
|
|
|
|
name: 'signup',
|
|
|
|
component: () => import('@/views/signup/index.vue')
|
|
|
|
},
|
2024-09-10 06:52:30 +00:00
|
|
|
{
|
|
|
|
path: '/title-forward/logon',
|
|
|
|
meta: { title: '登录' },
|
|
|
|
component: () => import('@/views/logon/index.vue')
|
|
|
|
},
|
2024-01-31 07:42:39 +00:00
|
|
|
{
|
2024-09-11 02:00:41 +00:00
|
|
|
path: '/page-forward',
|
|
|
|
name: 'page-forward',
|
2024-01-31 07:42:39 +00:00
|
|
|
component: () => import('@/views/title-forward/index.vue'),
|
|
|
|
children: [
|
2024-02-19 09:00:40 +00:00
|
|
|
{
|
|
|
|
path: 'reg-details',
|
|
|
|
meta: { title: '报名详情' },
|
|
|
|
component: () => import('@/views/reg-details/index.vue')
|
|
|
|
},
|
2024-01-31 08:18:27 +00:00
|
|
|
{
|
2024-02-05 08:27:29 +00:00
|
|
|
path: 'upload-id-card/:active',
|
2024-02-05 05:10:46 +00:00
|
|
|
meta: { title: '上传身份证' },
|
2024-01-31 08:18:27 +00:00
|
|
|
component: () => import('@/views/upload-id-card/index.vue')
|
2024-02-20 09:00:39 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
path: 'replace-id-card',
|
|
|
|
meta: { title: '更换身份证' },
|
|
|
|
component: () => import('@/views/replace-id-card/index.vue')
|
2024-01-31 07:42:39 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
// 添加其他路由配置...
|
|
|
|
];
|
|
|
|
|
|
|
|
const router = createRouter({
|
|
|
|
history: createWebHistory(),
|
|
|
|
routes
|
|
|
|
});
|
|
|
|
|
|
|
|
export default router;
|