|
|
@ -111,12 +111,12 @@ use \common\libs\MyLib; |
|
|
|
//获取table高度 |
|
|
|
//获取table高度 |
|
|
|
var e=$(".row").height(); |
|
|
|
var e=$(".row").height(); |
|
|
|
var d=a-c-100; |
|
|
|
var d=a-c-100; |
|
|
|
console.log("e:"+e); |
|
|
|
|
|
|
|
console.log("d"+d); |
|
|
|
|
|
|
|
console.log("d"+d-b); |
|
|
|
|
|
|
|
if(e>d){ |
|
|
|
if(e>d){ |
|
|
|
$('.fixed-table-body').css({'height':d}); |
|
|
|
$('.fixed-table-body').css({'height':d}); |
|
|
|
console.log("滚动条"); |
|
|
|
|
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
$('.fixed-table-body').css({'height':e}); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|