From 205f2e352632e14e3da7f45f2f898948bfbdb6d3 Mon Sep 17 00:00:00 2001 From: Xwen <929716663@qq.com> Date: Tue, 19 Dec 2023 00:21:25 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E9=87=8D=E6=9E=84=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yi.Bbs.Vue3/src/layout/LoginLayout.vue | 23 ++- Yi.Bbs.Vue3/src/router/index.js | 3 +- Yi.Bbs.Vue3/src/views/login/index.vue | 217 +++++++++++++++++++++++++ 3 files changed, 236 insertions(+), 7 deletions(-) create mode 100644 Yi.Bbs.Vue3/src/views/login/index.vue diff --git a/Yi.Bbs.Vue3/src/layout/LoginLayout.vue b/Yi.Bbs.Vue3/src/layout/LoginLayout.vue index 8ca146df..14ff19e7 100644 --- a/Yi.Bbs.Vue3/src/layout/LoginLayout.vue +++ b/Yi.Bbs.Vue3/src/layout/LoginLayout.vue @@ -1,8 +1,19 @@ - \ No newline at end of file + + + + + diff --git a/Yi.Bbs.Vue3/src/router/index.js b/Yi.Bbs.Vue3/src/router/index.js index 4ffdd002..0251936a 100644 --- a/Yi.Bbs.Vue3/src/router/index.js +++ b/Yi.Bbs.Vue3/src/router/index.js @@ -23,7 +23,8 @@ const router = createRouter({ { name: "login", path: "/login", - component: () => import("../views/Login.vue"), + // component: () => import("../views/Login.vue"), + component: () => import("../views/login/index.vue"), }, { name: "register", diff --git a/Yi.Bbs.Vue3/src/views/login/index.vue b/Yi.Bbs.Vue3/src/views/login/index.vue new file mode 100644 index 00000000..936297ba --- /dev/null +++ b/Yi.Bbs.Vue3/src/views/login/index.vue @@ -0,0 +1,217 @@ + + +