使用layui的表格时我们可能会看到下面的情况
上方表格的筛选列被下方表格遮挡。这时我们需要设置他的z-index属性
检查看到他的class为 layui-table-tool
我们可以在样式css代码中加上如下代码,[lay-id=currentTableId] 为属性选择器,代表你所选择的表格。
[lay-id=currentTableId] .layui-table-tool {
position: relative;
z-index: 9999;
width: 100%;
min-height: 50px;
line-height: 30px;
padding: 10px 15px;
border-width: 0;
border-bottom-width: 1px;
}
这样就可以成功解决了