<el-tree class="tree-line" :data="treeOption" :props="defaultProps" @node-click="getCurrentNode" >
利用样式添加虚线指示
.el-tree-style{
/deep/ .el-tree-node {
position: relative;
}
/deep/ .el-tree-node__children {
padding-left: 16px;
}
/deep/ .el-tree-node::before {
content: '';
height: 100%;
width: 1px;
position: absolute;
left: 30px;
top: 0;
border-width: 1px;
border-left: 1px dashed #ddd;
}
/deep/ .el-tree-node:last-child::before {
height: 38px;
}
/deep/ .el-tree-node::after {
content: '';
width: 15px;
height: 20px;
position: absolute;
left: 30px;
top: 12px;
border-width: 1px;
border-top: 1px dashed #ddd;
}
& > .el-tree-node::after {
border-top: none;
}
& > .el-tree-node::before {
border-left: none;
}
.el-tree-node__expand-icon {
font-size: 16px;
&.is-leaf {
color: transparent;
}
}
}
上面是“el-tree组件如何添加虚线指示”的全面内容,想了解更多关于 vuejs 内容,请继续关注web建站教程。
当前网址:https://ipkd.cn/webs_4410.html
workflows工作流
一只被水晶包围的小动物ComfyUI工作流
一条精致透明的朱红色水晶龙
小鸟在黑暗的天空中优雅地跳舞
一只白色的孔雀ComfyUI工作流
一个由红色玻璃制成的女性形状的破碎雕塑
一个穿绿衣服国风古典女孩
基础扩图comfyui工作流
一个表情深思熟虑的成熟男人
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

jquery做一个漂亮挂墙动态时钟
会议人员60s签到倒计时插件
SVG路径动画效果
做一个好玩的时钟翻牌效果
jquery鼠标滑过图片边框特效(jquery.focus-follow插件)
利用CSS3做一个星级评分样式
数字滚动效果(兼容IE6/IE8)
如何利用svg做一个有趣的loading动画加载










