From fe1cb1c72211e9b51063863342426965c1c0c70f Mon Sep 17 00:00:00 2001 From: ZHAOTONGHUA <2066753415@qq.com> Date: Tue, 26 Nov 2019 15:43:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96table=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/views/database/b-index.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/frontend/views/database/b-index.php b/frontend/views/database/b-index.php index 6cf3b72..b64faee 100644 --- a/frontend/views/database/b-index.php +++ b/frontend/views/database/b-index.php @@ -97,7 +97,7 @@ use \common\libs\MyLib;
@@ -157,17 +157,7 @@ use \common\libs\MyLib; function fix(){ //table设置一定的高度 var tab=$("#listTable").attr('data-height'); - - var a=$(".ibox-content").height(); - var b=$("#searchFrm").height(); - var c=a-b; - console.log(a+"----"+b); - console.log(c); - if(c<100){ - alert("不够"); - } - - //$('.fixed-table-body').css({'height':tab-40}); + $('.fixed-table-body').css({'height':tab-40}); //当浏览器窗口变化时,表头与表格不对齐解决 $('.table').bootstrapTable(); $(window).resize(function () { |
---|