feat: add index page for mobile

This commit is contained in:
RockYang
2024-04-28 19:09:26 +08:00
parent 039d949523
commit 7f31a301e3
28 changed files with 640 additions and 349 deletions

View File

@@ -201,8 +201,13 @@ const routes = [
path: '/mobile',
meta: {title: 'Geek-AI v4.0'},
component: () => import('@/views/mobile/Home.vue'),
redirect: '/mobile/chat',
redirect: '/mobile/index',
children: [
{
path: '/mobile/index',
name: 'mobile-index',
component: () => import('@/views/mobile/Index.vue'),
},
{
path: '/mobile/chat',
name: 'mobile-chat',
@@ -219,22 +224,22 @@ const routes = [
component: () => import('@/views/mobile/Profile.vue'),
},
{
path: '/mobile/img-wall',
path: '/mobile/imgWall',
name: 'mobile-img-wall',
component: () => import('@/views/mobile/ImgWall.vue'),
component: () => import('@/views/mobile/pages/ImgWall.vue'),
},
{
path: '/mobile/chat/session',
name: 'mobile-chat-session',
component: () => import('@/views/mobile/ChatSession.vue'),
},
{
path: '/mobile/chat/export',
name: 'mobile-chat-export',
component: () => import('@/views/mobile/ChatExport.vue'),
},
]
},
{
path: '/mobile/chat/session',
name: 'mobile-chat-session',
component: () => import('@/views/mobile/ChatSession.vue'),
},
{
path: '/mobile/chat/export',
name: 'mobile-chat-export',
component: () => import('@/views/mobile/ChatExport.vue'),
},
{
name: 'test',