建议使用el-tree 组件,样式需要自己修改,我这边做过的成型,你可以参考下,主要是样式
.el-tree-node{
margin-bottom: 30px;
.el-tree-node__content{
margin-bottom: 10px;
.areaName{
margin-right: 20px;
font-weight: bold;
color: #333;
}
}
.el-tree-node__children{
.el-tree-node{
float: left;
width: 33.33%;
margin-bottom: 10px;
.el-tree-node__content{
margin-bottom: 0;
.areaName{
font-weight: normal;
color: #606266;
}
}
.el-tree-node__children{
.el-tree-node{
width: 100%;
}
}
}
}
}