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.
 
 
 

80 lines
2.0 KiB

import { createRouter, createWebHistory } from 'vue-router'
const routes = [
{
path: '/',
redirect: 'Selectmodel'
},
{
path: '/Selectmodel',
name: 'Selectmodel',
component: () => import('@/views/Selectmodel.vue')
},
{
path: '/homePage',
name: 'homePage',
component: () => import('@/views/homePage.vue'),
children: [
{name: 'AiEmotion', path: '/AiEmotion', component: () => import('@/views/AiEmotion.vue')}
]
},
// {
// path: '/AIchat',
// name: 'AIchat',
// component: () => import('@/views/AIchat.vue'),
// meta: { title: 'AI对话' }
// },
{
path: '/AIfind',
name: 'AIfind',
component: () => import('@/views/AIfind.vue'),
meta: { title: '发现' }
},
{
path: '/Announcement',
name: 'Announcement',
component: () => import('@/views/Announcement.vue'),
},
{
path: '/Feedback',
name: 'Feedback',
component: () => import('@/views/Feedback.vue'),
},
// {
// path: '/AiEmotion',
// name: 'AiEmotion',
// component: () => import('@/views/AiEmotion.vue')//AI情绪大模型页面
// },
{
path: '/DBQBmodel',
name: 'DBQBmodel',
component: () => import('@/views/DBQBmodel.vue'),
},
{
path: '/Emotionsmodel',
name: 'Emotionsmodel',
component: () => import('@/views/Emotionsmodel.vue'),
},
{
path: '/emotionsEcharts',
name: 'emotionsEcharts',
component: () => import('@/views/emotionsEcharts.vue')
},
{
path: '/marketTemperature',
name: 'marketTemperature',
component: () => import('@/views/components/marketTemperature.vue')
}
]
// 创建路由实例
const router = createRouter({
history: createWebHistory(import.meta.env.VITE_PUBLIC_PATH),
routes
})
// 导出
export default router