diff --git a/chat_web_front/src/assets/images/login/cassicLoginBg.jpg b/chat_web_front/src/assets/images/login/cassicLoginBg.jpg new file mode 100644 index 0000000..c04fc62 Binary files /dev/null and b/chat_web_front/src/assets/images/login/cassicLoginBg.jpg differ diff --git a/chat_web_front/src/router/index.ts b/chat_web_front/src/router/index.ts index d4ba0cc..587e02e 100644 --- a/chat_web_front/src/router/index.ts +++ b/chat_web_front/src/router/index.ts @@ -7,13 +7,18 @@ const routes: RouteRecordRaw[] = [ { path: '/', name: '/', - redirect: '/chat' + redirect: '/welcome' }, { path: '/login', name: 'Login', component: () => import('@/views/login/index.vue'), }, + { + path: '/welcome', + name: 'Welcome', + component: () => import('@/views/welcome/index.vue'), + }, { path: '/chat', name: 'Chat', diff --git a/chat_web_front/src/views/login/index.vue b/chat_web_front/src/views/login/index.vue index 04ba1e2..039a324 100644 --- a/chat_web_front/src/views/login/index.vue +++ b/chat_web_front/src/views/login/index.vue @@ -1,215 +1,351 @@ - + diff --git a/chat_web_front/src/views/welcome/index.vue b/chat_web_front/src/views/welcome/index.vue new file mode 100644 index 0000000..ceb2992 --- /dev/null +++ b/chat_web_front/src/views/welcome/index.vue @@ -0,0 +1,111 @@ + + + + +