//右击选择文字,为了美观,#el-tree { user-select: none; 背景色:传输; padding: 0; //a标签下划线a {文本修饰: none; color: #121314; position: relative; }a:after { content: ' '; 位置: absolute; z索引:-1; top: 60%; left: -0.1em; right: -0.1em; bottom: 0; transition : top 200 ms cubic-bezier (0,0.8,0.13,1 ); 背景色: rgba (79、192、141、0.5 ); } https://evanyou.me/