|
@@ -16,7 +16,7 @@ export default new Router({
|
|
|
name: 'Home',
|
|
|
component: home,
|
|
|
meta: {
|
|
|
- title: '首页',
|
|
|
+ title: '家校社',
|
|
|
requireAuth: '' // 是否需要判断是否登录,这里是需要判断
|
|
|
}
|
|
|
},
|
|
@@ -25,7 +25,7 @@ export default new Router({
|
|
|
name: 'learning',
|
|
|
component: learning,
|
|
|
meta: {
|
|
|
- title: '学习中心',
|
|
|
+ title: '五育融合',
|
|
|
requireAuth: true // 是否需要判断是否登录,这里是需要判断
|
|
|
}
|
|
|
},
|
|
@@ -43,18 +43,74 @@ export default new Router({
|
|
|
name: 'find',
|
|
|
component: find,
|
|
|
meta: {
|
|
|
- title: '发现',
|
|
|
+ title: '创新',
|
|
|
requireAuth: true // 是否需要判断是否登录,这里是需要判断
|
|
|
}
|
|
|
},
|
|
|
- // {
|
|
|
- // path: '/find/findDetail',
|
|
|
- // name: 'findDetail',
|
|
|
- // component: () => import('@/components/pages/findDetail'),
|
|
|
- // meta: {
|
|
|
- // title: '发现详情',
|
|
|
- // }
|
|
|
- // }
|
|
|
+ {
|
|
|
+ path: '/workDetail',
|
|
|
+ name: 'workDetail',
|
|
|
+ component: () => import('@/components/pages/workDetail'),
|
|
|
+ meta: {
|
|
|
+ title: '作业详情',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/submitWork',
|
|
|
+ name: 'submitWork',
|
|
|
+ component: () => import('@/components/pages/submitWork'),
|
|
|
+ meta: {
|
|
|
+ title: '提交作业',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/examine',
|
|
|
+ name: 'examine',
|
|
|
+ component: () => import('@/components/pages/examine'),
|
|
|
+ meta: {
|
|
|
+ title: '义工团审核',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/myDetail',
|
|
|
+ name: 'myDetail',
|
|
|
+ component: () => import('@/components/pages/myDetail'),
|
|
|
+ meta: {
|
|
|
+ title: '个人资料',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/examineWork',
|
|
|
+ name: 'examineWork',
|
|
|
+ component: () => import('@/components/pages/examineWork'),
|
|
|
+ meta: {
|
|
|
+ title: '义工任务审核',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/release',
|
|
|
+ name: 'release',
|
|
|
+ component: () => import('@/components/pages/release'),
|
|
|
+ meta: {
|
|
|
+ title: '发布内容',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/findDetail',
|
|
|
+ name: 'findDetail',
|
|
|
+ component: () => import('@/components/pages/findDetail'),
|
|
|
+ meta: {
|
|
|
+ title: '创新',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/myWorkDetail',
|
|
|
+ name: 'myWorkDetail',
|
|
|
+ component: () => import('@/components/pages/myWorkDetail'),
|
|
|
+ meta: {
|
|
|
+ title: '详情',
|
|
|
+ }
|
|
|
+ }
|
|
|
]
|
|
|
})
|
|
|
|