From 3e3ce7c69c0adc39516f5c96e961e0c7f30d9bb3 Mon Sep 17 00:00:00 2001 From: hxr <1490493387@qq.com> Date: Sun, 22 Oct 2023 00:07:51 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 7a8bf7022056e3263f58ef6ee1d74c6cc9efa719 --- src/styles/index.scss | 4 + src/styles/sidebar.scss | 18 + src/views/system/dept/index.vue | 2 +- .../system/dict/components/dict-item.vue | 325 ++++++++++++++++++ src/views/system/dict/index.vue | 6 +- src/views/system/role/index.vue | 4 +- 6 files changed, 352 insertions(+), 7 deletions(-) create mode 100644 src/views/system/dict/components/dict-item.vue diff --git a/src/styles/index.scss b/src/styles/index.scss index 6b635af2..0f529d38 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -15,6 +15,10 @@ box-shadow: var(--el-box-shadow-light); } +.table-container > .el-card__header { + padding: calc(var(--el-card-padding) - 8px) var(--el-card-padding); +} + .link-type, .link-type:focus { color: #337ab7; diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index 9faa59d9..9751ccab 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -62,6 +62,7 @@ } // menu hover + .submenu-title-noDropdown, .el-sub-menu__title { &:hover { background-color: $menuHover !important; @@ -103,6 +104,23 @@ margin-left: 54px; } + .submenu-title-noDropdown { + position: relative; + padding: 0 !important; + + .el-tooltip { + padding: 0 !important; + + .svg-icon { + margin-left: 20px; + } + + .sub-el-icon { + margin-left: 19px; + } + } + } + .el-sub-menu { overflow: hidden; diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index ae5b85dd..9082d304 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -195,7 +195,7 @@ onMounted(() => { - +