From c5442b6a48b28949878984f7121b18148be8e8a6 Mon Sep 17 00:00:00 2001 From: Jo <479214531@qq.com> Date: Sun, 21 Nov 2021 23:20:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E5=B1=95=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/footer/index.vue | 2 +- src/pages/user/list/index.vue | 34 ++++++++++++++++++++++++++-------- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/src/layouts/footer/index.vue b/src/layouts/footer/index.vue index b08f16e..4dda486 100644 --- a/src/layouts/footer/index.vue +++ b/src/layouts/footer/index.vue @@ -55,7 +55,7 @@ export default { color:#757F8A; font-size: 12px; &:hover{ - opacity: .8; + color: #c7c7c7; } } } diff --git a/src/pages/user/list/index.vue b/src/pages/user/list/index.vue index 88a7c99..6d7faa9 100644 --- a/src/pages/user/list/index.vue +++ b/src/pages/user/list/index.vue @@ -81,7 +81,7 @@ - + @@ -90,11 +90,13 @@ - - - {{item.roleName}} - - + + + + {{item.roleName}} + + + @@ -316,8 +318,6 @@ export default { this.$get(`${this.api.listRole}?page=1&size=1000&name=&platformId=${Setting.platformId}`).then(res => { const list = res.rolePage.records this.roleList = list - const user = list.find(e => e.roleName === '用户') - if (user) this.form.roleIds.push(user.id) }).catch(res => {}) }, resetPassword(row){ @@ -604,5 +604,23 @@ export default { .el-input,.el-select{ width: 100%; } + .role-wrap { + max-height: 130px; + padding: 10px 12px 0; + background-color: #F5F6FA; + border-radius: 4px; + overflow: auto; + } + .el-checkbox { + display: inline-flex; + width: 33.33%; + margin-right: 0; + } + .el-checkbox__label { + max-width: 108px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } } \ No newline at end of file