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 () {