$('.layui-table .layui-table-cell > span').css({'font-weight': 'bold'});//表头字体样式
                /*$('th').css({'background-color': '#5792c6', 'color': '#fff','font-weight':'bold'}) 表头的样式 */
                $('th').hide();//表头隐藏的样式
                $('.layui-table-page').css('margin-top','40px');//页码部分的高度调整

 

在数据table渲染完成之后回调函数之中执行此行代码即可隐藏表头

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-09-23
  • 2022-02-10
  • 2021-08-22
  • 2021-09-20
  • 2021-05-15
猜你喜欢
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案