修改树形控件选中和鼠标以上去的背景颜色

修改选中背景颜色
::v-deep.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
background-color:#e4eef8;
}
修改鼠标移动上去的背景颜色
::v-deep .el-tree-node__content:hover {
background-color:#e4eef8 !important;
}

::v-deep.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
background-color:#e4eef8;
}
::v-deep .el-tree-node__content:hover {
background-color:#e4eef8 !important;
}
本文标题:elementUI 树形控件样式修改
本文链接:https://www.haomeiwen.com/subject/yjoxvltx.html
网友评论