diff --git a/src/components/admin/home/HomeSide.vue b/src/components/admin/home/HomeSide.vue
new file mode 100644
index 0000000..21597f5
--- /dev/null
+++ b/src/components/admin/home/HomeSide.vue
@@ -0,0 +1,27 @@
+
+
+
+
+
+ 管理员
+
+
+ 添加管理员
+ 管理员列表
+
+
+
+
+ 类别管理
+
+
+
+
+
+
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index 59795eb..ac774af 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -13,6 +13,24 @@ const routes= [
path: "/admin", // http://localhost:5173/admin
component: () => import("@/views/admin/home.vue"),
meta: { requiresAuth: true }, //身份验证
+ children: [
+ //管理员
+ {
+ path: "administrator/add", // http://localhost:5173/admin/administrator/add
+ component: () => import("@/views/admin/administrator/add.vue")
+ },
+ {
+ path: "administrator/list", // http://localhost:5173/admin/administrator/list
+ component: () => import("@/views/admin/administrator/list.vue")
+ },
+
+ //类别管理
+ {
+ path: "category/list", // http://localhost:5173/admin/category/list
+ component: () => import("@/views/admin/category/list.vue")
+ },
+
+ ]
}
]
diff --git a/src/views/admin/administrator/add.vue b/src/views/admin/administrator/add.vue
new file mode 100644
index 0000000..cae5998
--- /dev/null
+++ b/src/views/admin/administrator/add.vue
@@ -0,0 +1,19 @@
+
+
+ 添加管理员
+
+
+
+
+
+
diff --git a/src/views/admin/administrator/list.vue b/src/views/admin/administrator/list.vue
new file mode 100644
index 0000000..54d6d9c
--- /dev/null
+++ b/src/views/admin/administrator/list.vue
@@ -0,0 +1,20 @@
+
+
+ 管理员列表
+
+
+
+
+
+
+
diff --git a/src/views/admin/category/list.vue b/src/views/admin/category/list.vue
new file mode 100644
index 0000000..dcc8a7b
--- /dev/null
+++ b/src/views/admin/category/list.vue
@@ -0,0 +1,20 @@
+
+
+ 类别管理页面
+
+
+
+
+
+
+
diff --git a/src/views/admin/home.vue b/src/views/admin/home.vue
index 63ecc0b..52150f1 100644
--- a/src/views/admin/home.vue
+++ b/src/views/admin/home.vue
@@ -1,5 +1,6 @@
@@ -8,13 +9,12 @@ import '@/assets/admin/css/home.css' //导入央视
-