From cb2cba14f923bf5e496f047d8f91938400cb9a5d Mon Sep 17 00:00:00 2001 From: ZHAOTONGHUA <2066753415@qq.com> Date: Tue, 26 Nov 2019 16:52:46 +0800 Subject: [PATCH] =?UTF-8?q?b=E5=BA=93=EF=BC=8Cc=E5=BA=93=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E8=A1=A8=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/views/database/b-index.php | 4 ++-- frontend/views/database/c-index.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/views/database/b-index.php b/frontend/views/database/b-index.php index 6ca1427..4bf0553 100644 --- a/frontend/views/database/b-index.php +++ b/frontend/views/database/b-index.php @@ -97,7 +97,7 @@ use \common\libs\MyLib;
- +
@@ -157,7 +157,7 @@ use \common\libs\MyLib; function fix(){ //table设置一定的高度 var tab=$("#listTable").attr('data-height'); - $('.fixed-table-body').css({'height':tab}); + $('.fixed-table-body').css({'height':tab-99}); //当浏览器窗口变化时,表头与表格不对齐解决 $('.table').bootstrapTable(); $(window).resize(function () { diff --git a/frontend/views/database/c-index.php b/frontend/views/database/c-index.php index c525a3b..55bb243 100644 --- a/frontend/views/database/c-index.php +++ b/frontend/views/database/c-index.php @@ -97,7 +97,7 @@ use \common\libs\MyLib;
-
+
@@ -160,7 +160,7 @@ use \common\libs\MyLib; function fix(){ //table设置一定的高度 var tab=$("#listTable").attr('data-height'); - $('.fixed-table-body').css({'height':tab}); + $('.fixed-table-body').css({'height':tab-129}); //当浏览器窗口变化时,表头与表格不对齐解决 $('.table').bootstrapTable(); $(window).resize(function () {