const forum = [
	{
		path: '/',
		redirect: '/student/resourceCenter',
		meta: {
			title: '资源中心'
		}
	},
	{
		path: '/student',
		component: () => import('@/views/portal/index.vue'),
		children: [
			{
				path: '/userInfo',
				component: () => import('@/views/student/user/index.vue'),
				meta: {
					title: '个人中心'
				}
			},
			{
				path: '/inSsiteMessage',
				component: () => import('@/views/student/In-site-message/index.vue'),
				meta: {
					title: '站内信'
				}
			},
			{
				path: '/classNotice',
				component: () => import('@/views/student/classNotice/index.vue'),
				meta: {
					title: '课程公告'
				}
			},
			{
				path: '/learningFootprint',
				component: () => import('@/views/student/learningFootprint/index.vue'),
				meta: {
					title: '学习足迹'
				}
			},
			{
				path: '/passwordRetrieve',
				component: () => import('@/views/student/password/index.vue'),
				meta: {
					title: '密码找回'
				}
			},
			{
				path: 'resourceCenter',
				component: () => import('@/views/resourceCenter/index.vue'),
				meta: {
					title: '资源中心'
				}
			},
			{
				path: 'resourceDetails',
				component: () => import('@/views/resourceDetails/index.vue'),
				meta: {
					title: '资源中心详情'
				}
			},
			{
				path: 'courseCenter',
				component: () => import('@/views/courseCenter/index.vue'),
				meta: {
					title: '课程中心'
				}
			},
			{
				path: 'classCentre',
				component: () => import('@/views/student/classCentre/index.vue'),
				meta: {
					title: '课程中心详情'
				}
			},
			{
				path: 'classCollect',
				component: () => import('@/views/student/classCollect/index.vue'),
				meta: {
					title: '课程收藏'
				}
			},
			{
				path: 'paper/:examType(\\d+)',
				component: () => import('@/views/student/paper/index.vue'),
				meta: {
					title: '学生试卷'
				}
			},
			{
				path: 'questionError',
				component: () => import('@/views/student/question-error/index.vue'),
				meta: {
					title: '错题本'
				}
			},
			{
				path: 'do',
				component: () => import('@/views/student/exam/paper/do.vue'),
				meta: {
					title: '试卷答题' //从学生试卷列表进入
				}
			},
			{
				path: 'read',
				component: () => import('@/views/student/exam/paper/read.vue'),
				meta: {
					title: '试卷查看'
				}
			}
		]
	}
]
export default forum
