activity.js 925 B

12345678910111213141516171819202122232425262728293031
  1. /** When your routing table is too long, you can split it into small modules **/
  2. import Layout from '@/layout'
  3. const keywordLibraryRouter = {
  4. path: '/operate',
  5. component: Layout,
  6. redirect: '/operate/activity',
  7. alwaysShow: true, // will always show the root menu
  8. name: 'OperateActivity', // name必须和后台配置一致,不然匹配不到
  9. meta: { title: '运营专区' },
  10. children: [
  11. {
  12. path: 'activity',
  13. name: 'ActivityMenu',
  14. redirect: '/operate/activity/ziyalan-list',
  15. alwaysShow: true,
  16. component: () => import('@/views/index'),
  17. meta: { title: '活动专题', useDefault: true },
  18. children: [
  19. {
  20. path: 'ziyalan-list',
  21. name: 'ZiyalanList',
  22. component: () => import('@/views/operate/activity/ziyalan-list'),
  23. meta: { title: '紫亚兰活动专栏' }
  24. }
  25. ]
  26. }
  27. ]
  28. }
  29. export default keywordLibraryRouter