From 4fe157a2134eae7b141bfa30a9c9aa75597d0447 Mon Sep 17 00:00:00 2001
From: ZHAOTONGHUA <2066753415@qq.com>
Date: Tue, 26 Nov 2019 14:40:50 +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 | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
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});
//当浏览器窗口变化时,表头与表格不对齐解决