diff --git a/src/assets/css/Header.css b/src/assets/css/Header.css index c6d6541..66f7395 100644 --- a/src/assets/css/Header.css +++ b/src/assets/css/Header.css @@ -23,8 +23,15 @@ img { display: flex; justify-content: center; } +.nav-v { + padding: 30px 0; + justify-content: left; + width: 250px; + height: 80vh; +} .el-menu-item { + margin: 10px 0; font-size: 1.1rem; } ::v-deep .el-submenu__title { diff --git a/src/assets/css/common.css b/src/assets/css/common.css index 96967b6..1e34a2a 100644 --- a/src/assets/css/common.css +++ b/src/assets/css/common.css @@ -8,7 +8,10 @@ margin: 2vw 0; font-size: 1.1rem; } - +.breadcrumb-admin { + margin: 2vw 0; + font-size: 0.9rem; +} .edit-content { display: flex; flex-direction: column; @@ -25,6 +28,13 @@ align-items: center; /* 水平居中 */ margin: 0vw 6vw 3vw; } + +/* 面板 */ +.admin-content { + display: flex; + flex-direction: column; /* 纵向排列 */ + margin: 0 2vw 2vw; +} .content ul { list-style-type: none; } @@ -36,6 +46,13 @@ box-shadow: 0px 4px 10px 0 rgba(0,0,0,0.15); margin-bottom: 3vw; } + +.card-admin { + width: 83vw; + background-color: white; + box-shadow: 0px 4px 10px 0 rgba(0,0,0,0.15); + margin-bottom: 3vw; +} .card-content { display: block; position: relative; diff --git a/src/assets/logo/apply_total_img.png b/src/assets/logo/apply_total_img.png new file mode 100644 index 0000000..c3c90ca Binary files /dev/null and b/src/assets/logo/apply_total_img.png differ diff --git a/src/assets/logo/submit_total_img.png b/src/assets/logo/submit_total_img.png new file mode 100644 index 0000000..357f130 Binary files /dev/null and b/src/assets/logo/submit_total_img.png differ diff --git a/src/components/AdminHeader.vue b/src/components/AdminHeader.vue index 33ec949..4ca4940 100644 --- a/src/components/AdminHeader.vue +++ b/src/components/AdminHeader.vue @@ -1,17 +1,42 @@ - - - - 相关配置 - 配置1 - 配置2 - + + + + + + + + + + + + + + + + + + + + + + + + + + + 用户权限管理 + + + + + \ No newline at end of file diff --git a/src/layout/AdminLayout.vue b/src/layout/AdminLayout.vue index 7e14987..3c7ec13 100644 --- a/src/layout/AdminLayout.vue +++ b/src/layout/AdminLayout.vue @@ -1,24 +1,28 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/src/pages/Admin/UserManage.vue b/src/pages/Admin/UserManage.vue new file mode 100644 index 0000000..355ed29 --- /dev/null +++ b/src/pages/Admin/UserManage.vue @@ -0,0 +1,463 @@ + + + + 后台管理 + 用户权限管理 + + + + + 用户信息 + + + + + + + 添加 + + + 删除 + + + 手机号: + + + + 用户类型: + + + + + + 搜索 + + + + + + + + + + + + + + + + + {{ ("handle.edit") }} + {{ ("handle.dele") }} + + + + + + + + + + + + + + + + + + + + 序 号: + + + + + 标 准 内 容 + + + + + 分解指标点: + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 8156b5f..89b90cd 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -152,6 +152,14 @@ let routes = [ meta: { title: '红山开源社区' }, + }, + { + // 用户管理 + path: "userManage", + component: () => import("@/pages/Admin/UserManage"), + meta: { + title: '红山开源社区' + }, } ] }, diff --git a/yarn.lock b/yarn.lock index 83636dc..55e8c40 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3426,6 +3426,14 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" +echarts@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/echarts/-/echarts-5.3.2.tgz#0a7b3be8c48a48b2e7cb1b82121df0c208d42d2c" + integrity sha512-LWCt7ohOKdJqyiBJ0OGBmE9szLdfA9sGcsMEi+GGoc6+Xo75C+BkcT/6NNGRHAWtnQl2fNow05AQjznpap28TQ== + dependencies: + tslib "2.3.0" + zrender "5.3.1" + ee-first@1.1.1: version "1.1.1" resolved "https://registry.npmmirror.com/ee-first/-/ee-first-1.1.1.tgz" @@ -5863,6 +5871,11 @@ mixin-deep@^1.2.0: dependencies: minimist "^1.2.6" +moment@^2.29.1: + version "2.29.3" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.3.tgz#edd47411c322413999f7a5940d526de183c031f3" + integrity sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw== + move-concurrently@^1.0.1: version "1.0.1" resolved "https://registry.npmmirror.com/move-concurrently/-/move-concurrently-1.0.1.tgz" @@ -8466,6 +8479,11 @@ ts-pnp@^1.1.6: resolved "https://registry.npmmirror.com/ts-pnp/-/ts-pnp-1.2.0.tgz" integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw== +tslib@2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e" + integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg== + tslib@^1.9.0: version "1.14.1" resolved "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz" @@ -9186,3 +9204,10 @@ yorkie@^2.0.0: is-ci "^1.0.10" normalize-path "^1.0.0" strip-indent "^2.0.0" + +zrender@5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/zrender/-/zrender-5.3.1.tgz#fa8e63ac7e719cfd563831fe8c42a9756c5af384" + integrity sha512-7olqIjy0gWfznKr6vgfnGBk7y4UtdMvdwFmK92vVQsQeDPyzkHW1OlrLEKg6GHz1W5ePf0FeN1q2vkl/HFqhXw== + dependencies: + tslib "2.3.0"