c库固定表头

webUi
赵桐华 5 years ago
parent 871287c930
commit 76f8f4d031
  1. 2
      frontend/views/database/c-index.php

@ -160,7 +160,7 @@ use \common\libs\MyLib;
function fix(){
//table设置一定的高度
var tab=$("#listTable").attr('data-height');
$('.fixed-table-body').css({'height':tab-40});
$('.fixed-table-body').css({'height':tab-99});
//当浏览器窗口变化时,表头与表格不对齐解决
$('.table').bootstrapTable();
$(window).resize(function () {

Loading…
Cancel
Save