From 175e1c9b129586a6e6eb8da9aa770de149df25d6 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Tue, 30 Nov 2021 18:55:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=AE=9A=E4=BD=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 +++- src/views/Catalog.vue | 3 +++ src/views/Transaction.vue | 38 ++++++++++++++++++++------------------ 3 files changed, 26 insertions(+), 19 deletions(-) diff --git a/src/App.vue b/src/App.vue index cdabd52..5ee9392 100644 --- a/src/App.vue +++ b/src/App.vue @@ -22,7 +22,9 @@ body { margin: 0; background-color: #f8f7f7; } - +/deep/.el-tree-node__content { + height: 20px!important; +} #nav { padding: 30px; } diff --git a/src/views/Catalog.vue b/src/views/Catalog.vue index 3808158..283a999 100644 --- a/src/views/Catalog.vue +++ b/src/views/Catalog.vue @@ -214,12 +214,15 @@ export default { margin: 0 50px; } /deep/ .el-tree-node:focus > .el-tree-node__content { + height: 20px!important; background-color: #f5f2ff; } /deep/ .el-tree-node__content:hover { + height: 20px!important; background-color: #f5f2ff; } /deep/ .el-tree-node__label:active { + height: 20px!important; color: #9278ff; } // 第一部分 diff --git a/src/views/Transaction.vue b/src/views/Transaction.vue index 1a7b0e5..4fa4c96 100644 --- a/src/views/Transaction.vue +++ b/src/views/Transaction.vue @@ -69,9 +69,9 @@