+ ICP备案
+
+ 公安备案
+
+ Copyright (C) 2023 xxx Group All Right Services.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/login.vue b/src/components/login.vue
new file mode 100644
index 0000000..7cee211
--- /dev/null
+++ b/src/components/login.vue
@@ -0,0 +1,35 @@
+
+
+
+
+
账号登录
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/register.vue b/src/components/register.vue
new file mode 100644
index 0000000..8f9590b
--- /dev/null
+++ b/src/components/register.vue
@@ -0,0 +1,48 @@
+
+
+
+
+
用户注册
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/success.vue b/src/components/success.vue
new file mode 100644
index 0000000..af9fa97
--- /dev/null
+++ b/src/components/success.vue
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index a49ae50..2e202b1 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,21 +1,28 @@
import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
+
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
- name: 'home',
- component: HomeView
+ name: 'index',
+ component:() => import('../components/index.vue')
},
{
- path: '/about',
- name: 'about',
- // route level code-splitting
- // this generates a separate chunk (About.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('../views/AboutView.vue')
+ path:'/login',
+ name:'login',
+ component:()=>import('../components/login.vue')
+ },
+ {
+ path:'/register',
+ name:'register',
+ component:()=>import('../components/register.vue')
+ },
+ {
+ path:'/success',
+ name:'success',
+ component:()=>import('../components/success.vue')
}
]
})