From 133893b61e0b75788c7111d07959c747c7a0fa2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BC=9F=E5=BA=9A?= Date: Sat, 22 Oct 2022 18:44:02 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E8=8F=9C=E5=8D=95=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=B7=A6=E4=BE=A7=E6=A0=91=E5=BD=A2=EF=BC=8C=E4=BA=A4?= =?UTF-8?q?=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/index.css | 22 +- src/page/main/config/dict/index.vue | 4 +- src/page/main/develop/menu/index.vue | 344 +++++++++++++++++++++++++-- 3 files changed, 348 insertions(+), 22 deletions(-) diff --git a/src/assets/css/index.css b/src/assets/css/index.css index 8deab1d..795aaaf 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -326,9 +326,17 @@ div { } /* 设置tree的样式 */ +.el-tree { + position: static!important; +} .el-tree-node__content{ height: 36px; } +.el-tree-node__content:hover { + background-image: linear-gradient(90deg, + rgba(255, 255, 255, 0.05) 83%, + rgba(0, 0, 0, 0.05) 86%); +} /* .usrrole .el-tree-node:focus>.el-tree-node__content{ background: rgb(248, 249, 253) !important; } @@ -1466,7 +1474,7 @@ border-radius:8px; .flex_left { background-color: #fff; - height: calc(100% - 20px); + height: calc(100% - 16px); width: 320px; box-shadow: 0px 1px 4px 0px rgba(0, 7, 101, 0.15); @@ -1476,7 +1484,7 @@ border-radius:8px; } .flex_right { background-color: #fff; - height: calc(100% - 20px); + height: calc(100% - 16px); flex: 1; box-shadow: 0px 1px 4px 0px rgba(0, 7, 101, 0.15); @@ -1485,15 +1493,19 @@ border-radius:8px; } .tree::-webkit-scrollbar { - width: 5px; - height: 5px; + width: 6px; + height: 6px; } .tree::-webkit-scrollbar-thumb { background: #bcc1d0; border-radius: 10px; - height: 5px; + height: 6px; } .tree::-webkit-scrollbar-track { background: transparent; border-radius: 2px; } +.label-text { + font-size: 14px; + color: #404a62; +} diff --git a/src/page/main/config/dict/index.vue b/src/page/main/config/dict/index.vue index 37c7355..2fb0b61 100644 --- a/src/page/main/config/dict/index.vue +++ b/src/page/main/config/dict/index.vue @@ -21,7 +21,7 @@
- +