Commit c966cd7d authored by xd's avatar xd

样式修改

parent 166553ea
...@@ -18,10 +18,11 @@ ...@@ -18,10 +18,11 @@
</div> </div>
<div class="tree"> <div class="tree">
<el-tree <el-tree
class="trees"
:props="orgData" :props="orgData"
:data="data1" :data="data1"
node-key="id" node-key="id"
:expand-on-click-node="false" expand-on-click-node
@node-click="handleTreeClick" @node-click="handleTreeClick"
> >
<!-- <span class="custom-tree-node" slot-scope="{ node, data }"> <!-- <span class="custom-tree-node" slot-scope="{ node, data }">
...@@ -705,6 +706,14 @@ export default { ...@@ -705,6 +706,14 @@ export default {
</script> </script>
<style scoped> <style scoped>
.trees >>> .el-tree-node__content {
padding: 10px;
border-bottom: 1px solid #fff;
}
.trees >>> .el-tree-node__children .el-tree-node__content {
background-color: #dadad97a;
}
.btn >>> .el-button + .el-button { .btn >>> .el-button + .el-button {
margin-left: 5px; margin-left: 5px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment