You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
2.4 KiB

7 months ago
5 months ago
7 months ago
7 months ago
7 months ago
5 months ago
5 months ago
2 months ago
4 weeks ago
7 months ago
  1. import { createRouter, createWebHistory } from 'vue-router'
  2. const routes = [
  3. {
  4. path: '/',
  5. redirect: 'Selectmodel'
  6. },
  7. {
  8. path: '/Selectmodel',
  9. name: 'Selectmodel',
  10. component: () => import('@/views/Selectmodel.vue')
  11. },
  12. {
  13. path: '/homePage',
  14. name: 'homePage',
  15. component: () => import('@/views/homePage.vue'),
  16. children: [
  17. {name: 'AiEmotion', path: '/AiEmotion', component: () => import('@/views/AiEmotion.vue')}
  18. ]
  19. },
  20. // {
  21. // path: '/AIchat',
  22. // name: 'AIchat',
  23. // component: () => import('@/views/AIchat.vue'),
  24. // meta: { title: 'AI对话' }
  25. // },
  26. {
  27. path: '/AIfind',
  28. name: 'AIfind',
  29. component: () => import('@/views/AIfind.vue'),
  30. meta: { title: '发现' }
  31. },
  32. {
  33. path: '/Announcement',
  34. name: 'Announcement',
  35. component: () => import('@/views/Announcement.vue'),
  36. },
  37. {
  38. path: '/Feedback',
  39. name: 'Feedback',
  40. component: () => import('@/views/Feedback.vue'),
  41. },
  42. // {
  43. // path: '/AiEmotion',
  44. // name: 'AiEmotion',
  45. // component: () => import('@/views/AiEmotion.vue')//AI情绪大模型页面
  46. // },
  47. {
  48. path: '/DBQBmodel',
  49. name: 'DBQBmodel',
  50. component: () => import('@/views/DBQBmodel.vue'),
  51. },
  52. {
  53. path: '/Emotionsmodel',
  54. name: 'Emotionsmodel',
  55. component: () => import('@/views/Emotionsmodel.vue'),
  56. },
  57. {
  58. path: '/emotionsEcharts',
  59. name: 'emotionsEcharts',
  60. component: () => import('@/views/emotionsEcharts.vue')
  61. },
  62. {
  63. path: '/marketTemperature',
  64. name: 'marketTemperature',
  65. component: () => import('@/views/components/marketTemperature.vue')
  66. },
  67. {
  68. path: '/goldenWheel',
  69. name: 'goldenWheel',
  70. component: () => import('@/views/wealth/goldenWheel.vue')
  71. },
  72. // 深度九大模型
  73. {
  74. path: '/deepNine',
  75. name: 'deepNine',
  76. component: () => import('@/views/deepNine.vue'),
  77. },
  78. {
  79. path: '/deepNineModel',
  80. name: 'deepNineModel',
  81. component: () => import('@/views/DeepNineModel.vue')
  82. },
  83. ]
  84. // 创建路由实例
  85. const router = createRouter({
  86. history: createWebHistory(import.meta.env.VITE_PUBLIC_PATH),
  87. routes
  88. })
  89. // 导出
  90. export default router