activity.js 734 B

123456789101112131415161718192021222324252627282930
  1. /* Layout */
  2. import Layout from '@/layout'
  3. // 资料管理页面路由
  4. const activityRoutes = [
  5. {
  6. path: '/challenge',
  7. component: Layout,
  8. alwaysShow: true,
  9. redirect: '/video',
  10. name: 'Challenge',
  11. meta: { title: '挑战赛', noCache: true },
  12. children: [
  13. {
  14. path: 'video',
  15. component: () => import('@/views/normal/activity/video'),
  16. name: 'ChallengeVideoList',
  17. meta: { title: '短视频', noCache: false }
  18. },
  19. {
  20. path: 'club',
  21. component: () => import('@/views/normal/activity/video/club-list.vue'),
  22. name: 'ChallengeVideoClubList',
  23. meta: { title: '参赛机构', noCache: false }
  24. }
  25. ]
  26. }
  27. ]
  28. export default activityRoutes