diff --git a/admin/public/2.jpg b/admin/public/2.jpg index f504fcc..3238996 100644 Binary files a/admin/public/2.jpg and b/admin/public/2.jpg differ diff --git a/admin/public/adminHead.jpg b/admin/public/adminHead.jpg new file mode 100644 index 0000000..cfd28f6 Binary files /dev/null and b/admin/public/adminHead.jpg differ diff --git a/admin/src/router.js b/admin/src/router.js index f7a5bd0..707c0d6 100644 --- a/admin/src/router.js +++ b/admin/src/router.js @@ -39,6 +39,7 @@ const router = createRouter({ path: 'firstpage', name: 'FirstPage', component: () => import('./view/user/firstpage.vue'), + redirect: { name: 'FirstPage1' }, children: [ { path: '1', diff --git a/admin/src/view/user/firstpage.vue b/admin/src/view/user/firstpage.vue index ea8891b..ee336b7 100644 --- a/admin/src/view/user/firstpage.vue +++ b/admin/src/view/user/firstpage.vue @@ -1,5 +1,6 @@ + diff --git a/admin/src/view/user/index.vue b/admin/src/view/user/index.vue index f9f8466..2b9fc24 100644 --- a/admin/src/view/user/index.vue +++ b/admin/src/view/user/index.vue @@ -1,141 +1,185 @@ - - - - - - - - - - - - - 编辑用户 - - - - 学生 - - - 教师 - - - - - - - - 首页和通知 - - - 首页 - - - - 通知 - - - 通知管理 - - - - - - - - - - 我的资料 - - - - - - - 用户反馈与建议 - - - - - - - - - - - - - + + + + + 处理中心 + + + 信息 + 选项1 + 选项2 + 选项3 + + + 消息中心 + 管理 + + + + + + + + + + + + + + + + + + + + + 编辑用户 + + + + 学生 + + + 教师 + + + + + + + + 首页和通知 + + + 首页 + + + + 通知 + + + 通知管理 + + + + + + + + + + 我的资料 + + + + + + + 用户反馈与建议 + + + + + + + + + + + + + + \ No newline at end of file + .common-layout { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: #eff1f4; + } + + .el-container { + height: 100%; + } + + .el-header, + .el-footer { + background-color: #47484c; + color: #fff; + text-align: center; + line-height: 60px; + } + + .header-avatar { + display: flex; + justify-content: flex-end; + align-items: center; + padding-right: 20px; + } + + .avatar { + width: 40px; + height: 40px; + border-radius: 50%; + object-fit: cover; + } + + .el-aside { + background-color: #2d2e36; + color: #fff; + text-align: center; + } + + .el-main { + color: #333; + text-align: center; + line-height: 160px; + background-color: #cdd1d3; + } + + .el-menu { + background-color: #2d2e36; + } + + .el-menu-item { + color: #cdd1d3; + transition: background-color 0.3s ease, color 0.3s ease; + } + + .el-menu-item:hover { + background-color: #fba414; + color: #fff; + } + + .el-menu-item[disabled] { + color: #6c757d; + pointer-events: none; + } +