From b96851b2507d9ae5d52491e8027ff9d84451112d Mon Sep 17 00:00:00 2001 From: vapao Date: Tue, 5 Apr 2022 17:41:14 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E4=BC=98=E5=8C=96=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/pages/system/role/RoleUsers.js | 8 ++--- .../src/pages/system/role/index.module.css | 34 +++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/spug_web/src/pages/system/role/RoleUsers.js b/spug_web/src/pages/system/role/RoleUsers.js index c2f88a3..8dc6327 100644 --- a/spug_web/src/pages/system/role/RoleUsers.js +++ b/spug_web/src/pages/system/role/RoleUsers.js @@ -12,11 +12,11 @@ import uStore from '../account/store'; export default observer(function (props) { const users = uStore.records.filter(x => x.role_ids.includes(props.id)) return ( - - - + + v ? : }/> - +
) }) \ No newline at end of file diff --git a/spug_web/src/pages/system/role/index.module.css b/spug_web/src/pages/system/role/index.module.css index e0745ca..238437b 100644 --- a/spug_web/src/pages/system/role/index.module.css +++ b/spug_web/src/pages/system/role/index.module.css @@ -1,44 +1,44 @@ .container :global(.ant-modal-footer) { - border-top: 0 + border-top: 0 } .table { - width: 100%; - border: 1px solid #dfdfdf; + width: 100%; + border: 1px solid #dfdfdf; } .table :global(.ant-checkbox-group) { - width: 100%; + width: 100%; } .table th { - background-color: #fafafa; - color: #404040; - font-size: 18px; - font-weight: 500; - padding: 5px 15px; + background-color: #fafafa; + color: #404040; + font-size: 18px; + font-weight: 500; + padding: 5px 15px; } .table td { - padding: 5px 15px; + padding: 5px 15px; } .groupItem { - margin-bottom: 12px; - display: flex; - align-items: center; + margin-bottom: 12px; + display: flex; + align-items: center; } .delIcon { - font-size: 24px; - margin-left: 10px; + font-size: 24px; + margin-left: 10px; } .delIcon:hover { - color: #f5222d; + color: #f5222d; } .roleUser :global(.ant-popover-inner-content) { padding: 0; - width: 500px; + width: 400px; } \ No newline at end of file