From b4e96b9c2e3e8e49cb4188f7cd5de261f3e527b6 Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Wed, 27 Jul 2022 12:23:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E6=8C=89=E9=92=AEhover=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/gridTable/index.vue | 10 ------- frontend/src/lang/en.js | 6 ++++- frontend/src/lang/tw.js | 6 ++++- frontend/src/lang/zh.js | 6 ++++- frontend/src/layout/components/Topbar.vue | 2 +- frontend/src/styles/index.scss | 17 ++++++++++++ frontend/src/views/system/user/filterUser.vue | 24 ++++++++--------- frontend/src/views/system/user/index.vue | 27 ++++++++++++++----- 8 files changed, 65 insertions(+), 33 deletions(-) diff --git a/frontend/src/components/gridTable/index.vue b/frontend/src/components/gridTable/index.vue index cf787bc41b..9b6e5a66d8 100644 --- a/frontend/src/components/gridTable/index.vue +++ b/frontend/src/components/gridTable/index.vue @@ -159,16 +159,6 @@ export default { flex-direction: column; justify-content: space-between; - ::v-deep .el-table__header-wrapper { - background-color: #f5f6f7; - // border-top: 1px solid rgba(31, 35, 41, 0.15); - } - ::v-deep .el-table__fixed-header-wrapper { - th { - background-color: var(--TableBG, #f5f6f7) !important; - } - } - .el-table::before { content: ''; position: absolute; diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index e80b0c041c..9542bd31bf 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -557,7 +557,11 @@ export default { new_passwd: 'New Password', confirm_passwd: 'Confirm Password', change_password: 'Change Password', - search_by_name: 'Search by name' + search_by_name: 'Search by name', + result_one: 'Results', + clear_filter: 'Empty condition', + recover_pwd: 'Restore to the original password?', + filter_method: 'Filter criteria', }, ldap: { url: 'LDAP url', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index 68f9933f40..64e2f8a689 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -558,7 +558,11 @@ export default { confirm_passwd: '確認密碼', change_password: '修改密碼', search_by_name: '按姓名搜索', - import_ldap: '導入LDAP用戶' + import_ldap: '導入LDAP用戶', + result_one: '個結果', + clear_filter: '清空條件', + recover_pwd: '是否恢復為初始密碼?', + filter_method: '篩選條件', }, ldap: { url: 'LDAP地址', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 0c72194349..0b9fe75c47 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -559,7 +559,11 @@ export default { confirm_passwd: '确认密码', change_password: '修改密码', search_by_name: '按姓名搜索', - import_ldap: '导入LDAP用户' + import_ldap: '导入LDAP用户', + result_one: '个结果', + clear_filter: '清空条件', + recover_pwd: '是否恢复为初始密码?', + filter_method: '筛选条件', }, ldap: { url: 'LDAP地址', diff --git a/frontend/src/layout/components/Topbar.vue b/frontend/src/layout/components/Topbar.vue index 5786652d3d..56b77881c6 100644 --- a/frontend/src/layout/components/Topbar.vue +++ b/frontend/src/layout/components/Topbar.vue @@ -74,7 +74,7 @@ :show-close="false" class="dialog-css" :fullscreen="true" - append-to-body="true" + append-to-body > diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index aa45c442db..81324cd956 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -871,3 +871,20 @@ div:focus { font-weight: 400 !important; } +.de-confirm-fail-cancel:hover { + background: #F5F6F7 !important; +} + +.de-confirm-fail-confirm:hover { + background: #F76964 !important; +} + +.el-table__header-wrapper { + background-color: var(--TableBG, #f5f6f7) !important; +} +.el-table__fixed-header-wrapper { + th { + background-color: var(--TableBG, #f5f6f7) !important; + } +} + diff --git a/frontend/src/views/system/user/filterUser.vue b/frontend/src/views/system/user/filterUser.vue index 7e5e0bea02..58b78d054e 100644 --- a/frontend/src/views/system/user/filterUser.vue +++ b/frontend/src/views/system/user/filterUser.vue @@ -1,6 +1,6 @@