|
|
@ -103,13 +103,10 @@ use \common\libs\MyLib; |
|
|
|
var a=$(".gray-bg").height(); |
|
|
|
var a=$(".gray-bg").height(); |
|
|
|
//获取标题高度 |
|
|
|
//获取标题高度 |
|
|
|
var c=$('.ibox-title').height(); |
|
|
|
var c=$('.ibox-title').height(); |
|
|
|
//获取table高度 |
|
|
|
|
|
|
|
var e=$("row").height(); |
|
|
|
|
|
|
|
var d=a-c-100; |
|
|
|
var d=a-c-100; |
|
|
|
if(e>d){ |
|
|
|
|
|
|
|
$('.fixed-table-body').css({'height':d}); |
|
|
|
$('.fixed-table-body').css({'height':d}); |
|
|
|
console.log("滚动条"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
$(function() { |
|
|
|
$(function() { |
|
|
|