comtemp.ts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import { RouteRecordRaw } from 'vue-router';
  2. import { Layout } from '@/router/constant';
  3. import { CubeOutline } from '@vicons/ionicons5';
  4. import { renderIcon } from '@/utils/index';
  5. const routes: Array<RouteRecordRaw> = [
  6. // {
  7. // path: '/comtemp',
  8. // name: 'Comtemp',
  9. // component: Layout,
  10. // redirect: '/comtemp/search-article',
  11. // meta: {
  12. // title: '常用模板',
  13. // icon: renderIcon(CubeOutline),
  14. // sort: 9,
  15. // },
  16. // children: [
  17. // {
  18. // path: 'search-article',
  19. // name: 'SearchArticle',
  20. // meta: {
  21. // title: '搜索列表(文章)',
  22. // },
  23. // component: () => import('@/views/comtemp/search-article/search-article.vue'),
  24. // },
  25. // {
  26. // path: 'search-video',
  27. // name: 'SearchVideo',
  28. // meta: {
  29. // title: '搜索列表(视频)',
  30. // },
  31. // component: () => import('@/views/comtemp/search-video/search-video.vue'),
  32. // },
  33. // {
  34. // path: 'search-make',
  35. // name: 'SearchMake',
  36. // meta: {
  37. // title: '搜索列表(预约)',
  38. // },
  39. // component: () => import('@/views/comtemp/search-make/search-make.vue'),
  40. // },
  41. // ],
  42. // },
  43. ];
  44. export default routes;