修改样式

This commit is contained in:
GGJ
2024-12-05 18:14:43 +08:00
parent 6010cbf20a
commit b1c9375873
10 changed files with 171 additions and 135 deletions

View File

@@ -15,6 +15,7 @@
:filter-node-method='filterNode'
:props='defaultProps'
node-key='id'
class="filter-tree"
default-expand-all
:default-checked-keys='defaultChecked'
@node-click='handleNodeClick'
@@ -119,9 +120,42 @@ defineExpose({ getTreeData })
overflow-x: auto;
.el-tree {
height: 100%;
// height: 100%;
width: auto;
}
}
}
.filter-tree {
// border: 1px solid #dcdfe6;
min-width: 100%;
height: 97%;
display: inline-block;
overflow: auto;
margin-top: 12px;
}
.filter-tree span {
font-size: 16px;
display:block;
overflow:hidden;
// word-break:keep-all;
// white-space:nowrap;
// text-overflow:ellipsis;
padding-right: 12px;
}
.leftBox {
// float: left;
// width: 20%;
height: 100%;
width: 100%;
}
.left {
height: calc(100% - 45px);
overflow: auto;
}
/* 设置滚动条宽度 */
:deep(.bodyTwo ::-webkit-scrollbar) {
width: 3px !important;
height: 6px !important;
}
</style>