
export default [
  { path: '/', redirect: '*' },
  /* 测试页面 */
  { path: '/test', name: 'test', component: () => import('../pages/test.vue') },
  /* 登录页面 */
  { path: '/login/:examId', component: () => import('../pages/login/index.vue') },
  /* 确认信息 */
  { path: '/confirmInfo', name: 'confirmInfo', component: () => import('../pages/login/confirmInfo.vue') },
  /* 考试倒计时 */
  { path: '/examTime', name: 'examTime', component: () => import('../pages/exam/examTime.vue') },
  /* 答题 */
  { path: '/examAnswer/:examId', name: 'examAnswer', component: () => import('../pages/exam/examAnswer.vue') },
  /* 结束考试 */
  { path: '/examEnd', name: 'examEnd', component: () => import('../pages/exam/examEnd.vue') },
  /* 如果所有页面都没找到 - 指向 */
  { path: '*', component: () => import('@/components/errorPages/404.vue') }
]
