/* 获取第一个div下的第二个div */ .layui-tree-setHide > div:first-child > div:nth-of-type(2) { display: None!important; }