如图 修改代码后 上代码 .layui-nav-tree .layui-nav-bar { width: 5px; height: 0; background-color: #196bb4 !important; }