
const constRouters = [
	{
		path: '/findpwd'
	},
	{
		path: '/callback'
	},
	{
		path: '/index/portal',
		component: () => import('@/views/portal/index.vue')
	},
	// {
	// 	path: '/portal/notLook',
	// 	component: () => import('@/views/notLook/index.vue'),
	// },
	{
		path: '/',
		component: () => import('@/views/resourceCenter/index.vue')
	},
	{
		path: '/portal/resourceDetails',
		component: () => import('@/views/resourceDetails/index.vue')
	},
	{
		path: '/portal/personalResources',
		component: () => import('@/views/myResources/personalResources/index.vue')
	},
	{
		path: '/portal/resourceManagement',
		component: () => import('@/views/myResources/resourceManagement/index.vue')
	},
	{
		path: '/portal/courseCenter',
		component: () => import('@/views/courseCenter/index.vue')
	},
	{
		path: '/portal/courseDetails',
		component: () => import('@/views/courseDetails/index.vue')
	},
	{
		path: '/portal/courseAdd',
		component: () => import('@/views/courseAdd/index.vue')
	},
	{
		path: '/portal/courseManagement',
		component: () => import('@/views/courseManagement/index.vue')
	},
	{
		path: '/other',
		name: 'other',
		component: () => import('@/views/other/index.vue'),
		meta: {
			title: '其他'
		}
	},
	{
		path: '/pay/sample/doJsPay',
		name: 'doJsPay',
		component: () => import('@/views/pay/sample/doJsPay.vue'),
		meta: {
			title: '微信JSAPI支付'
		}
	},
	{
		path: '/notLook',
		name: 'notLook',
		component: () => import('@/views/notLook/index.vue'),
		meta: {
			title: '无权限访问'
		}
	},
	{
		path: '/share/:shareBatchNum',
		name: 'Share',
		component: () => import('@/views/myResource/Share.vue'),
		meta: {
			title: '分享',
			content: {
				description: '查看他人分享'
			}
		},
		props: true
	},
	{
		path: '/student/paper/',
		name: 'studentPaper',
		component: () => import('@/views/student/paper/index.vue'),
		meta: {
			title: '学生试卷'
		}
	},
	{
		path: '/student/edit/',
		name: 'studentEdit',
		component: () => import('@/views/student/exam/paper/edit.vue'),
		meta: {
			title: '试卷批改'
		}
	},
	{
		path: '/student/record/',
		name: 'studentRecord',
		component: () => import('@/views/student/record/index.vue'),
		meta: {
			title: '学生试卷'
		}
	},
	{
		path: '/student/questionError/',
		name: 'QuestionErrorIndex',
		component: () => import('@/views/student/question-error/index.vue'),
		meta: {
			title: '错题本'
		}
	},
	{
		path: '/student/do/',
		name: 'studentDo',
		component: () => import('@/views/student/exam/paper/do.vue'),
		meta: {
			title: '试卷答题'
		}
	},
	{
		path: '/student/read/',
		name: 'studentRead',
		component: () => import('@/views/student/exam/paper/read.vue'),
		meta: {
			title: '试卷查看'
		}
	},
	{
		path: '/slogin',
		component: () => import('@/views/slogin/login.vue')
	},
	{
		path: '/tlogin',
		component: () => import('@/views/tlogin/login.vue')
	},
	{
		path: '/classManagement',
		component: () => import('@/views/classManagement/index.vue')
	},
	{
		path: '/announcementManagement',
		component: () => import('@/views/announcementManagement/index.vue')
	},
	{
		path: '/questionnaireManagement',
		component: () => import('@/views/exm/questionnaireManagement/index.vue')
	},
	{
		path: '/examinationManagement',
		component: () => import('@/views/exm/examinationManagement/index.vue')
	},
	{
		path: '/question',
		component: () => import('@/views/exm/question/index.vue')
	},
	{
		path: '/exampaper',
		component: () => import('@/views/exm/exampaper/index.vue')
	},
	{
		path: '/answerManagement',
		component: () => import('@/views/answerManagement/index.vue')
	},
	{
		path: '/courseOpen',
		component: () => import('@/views/courseOpen/index.vue')
	},
	{
		path: '/statistics',
		component: () => import('@/views/statistics/index.vue'),
	},
	{
		path: '/usercenter',
		component: () => import('@/views/sys/user/usercenter.vue'),
	},
	{
		path: '/forum',
		component: () => import('@/views/forum/index.vue'),
	},
	{
		path: '/userfileconvert',
		component: () => import('@/views/userfileconvert/index.vue'),
	},
	{
		path: '/resourceConversionLog',
		component: () => import('@/views/resourceConversionLog/index.vue'),
	},
	{
		path: '/myMsg',
		component: () => import('@/views/myMsg/index.vue'),
	},
	{
		path: '/announcementLookManagement',
		component: () => import('@/views/announcementLookManagement/index.vue'),
	},
	{
		path: '/resourceStatistics',
		component: () => import('@/views/resourceStatistics/index.vue'),
	},
	{
		path: '/jump',
		component: () => import('@/views/jump/index.vue'),
	}
	// {
	// 	path: '/answerManagement',
	// 	component: () => import('@/views/exm/answerManagement/index.vue')
	// },
]
/**
 * 路由白名单（数组形式）
 *
 * 如果组件像登录一样，那就简单的写一个path，即可实现放开，
 * 如果组件不在这边的，需要手动添加组件，就像other一样，
 * 因为没登陆你没法拿到后端给你返回的那一坨，当然就找不到component
 *
 * @author yubaoshan
 */
export default constRouters
