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 @@