diff --git a/Yi.BBS.Vue3/src/layout/LoginLayout.vue b/Yi.BBS.Vue3/src/layout/LoginLayout.vue
new file mode 100644
index 00000000..aeaf0880
--- /dev/null
+++ b/Yi.BBS.Vue3/src/layout/LoginLayout.vue
@@ -0,0 +1,5 @@
+
+登录共同页面
+
+
+
diff --git a/Yi.BBS.Vue3/src/router/index.js b/Yi.BBS.Vue3/src/router/index.js
index 83a35572..ed19de08 100644
--- a/Yi.BBS.Vue3/src/router/index.js
+++ b/Yi.BBS.Vue3/src/router/index.js
@@ -1,6 +1,7 @@
import { createRouter, createWebHistory } from 'vue-router'
import Layout from '../layout/Index.vue'
import NotFound from '../views/NotFound.vue'
+import LoginLayout from '../layout/LoginLayout.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
scrollBehavior(to, from, savedPosition) {
@@ -8,6 +9,25 @@ const router = createRouter({
return { top: 0 }
},
routes: [
+{
+ path: '/loginLayout',
+ name: 'loginLayout',
+ component: LoginLayout,
+ redirect: '/login' ,
+ children :[
+ {
+ name:'login',
+ path: '/login',
+ component: () => import('../views/Login.vue')
+ },
+ // {
+ // name:'register',
+ // path: '/register',
+ // component: () => import('../views/Register.vue')
+ // },
+ ]
+ },
+
{
path: '/',
name: 'layout',
diff --git a/Yi.BBS.Vue3/src/views/Login.vue b/Yi.BBS.Vue3/src/views/Login.vue
new file mode 100644
index 00000000..6925ad0e
--- /dev/null
+++ b/Yi.BBS.Vue3/src/views/Login.vue
@@ -0,0 +1,3 @@
+
+ 这个是登录页面
+
\ No newline at end of file