diff --git a/frontend/views/database/b-index.php b/frontend/views/database/b-index.php index 25d9fd9..97d093f 100644 --- a/frontend/views/database/b-index.php +++ b/frontend/views/database/b-index.php @@ -123,7 +123,6 @@ use \common\libs\MyLib; beginBlock('footer_js'); ?> - @@ -158,7 +157,14 @@ use \common\libs\MyLib; function fix(){ //table设置一定的高度 var tab=$("#listTable").attr('data-height'); - console.log($('#listTable').height()); + + var a=$(".ibox-content").height(); + var b=$("#searchFrm").height(); + var c=a-b; + console.log(c); + if(c<490){ + alert("不够"); + } //$('.fixed-table-body').css({'height':tab-40}); //当浏览器窗口变化时,表头与表格不对齐解决