界面div调整和滚动条优化

This commit is contained in:
leijun
2018-09-18 15:27:24 +08:00
parent 53429afd9b
commit ae97d72a8c
86 changed files with 81 additions and 166 deletions

View File

@@ -1,10 +1,4 @@
$(function(){
var height=document.documentElement.clientHeight;
if($('.table-responsive')){
$('.table-responsive').css({'height':height-105+'px'});
}
//扩展jquery增加全局函数
$.ipcommon=function(){
return {};
}
@@ -1805,8 +1799,14 @@ var initCommIpVal=function(){
}
window.onresize=function (){
var height=document.documentElement.clientHeight;
if($('.table-responsive')){
$('.table-responsive').css({'height':height-105+'px'});
var hei=document.documentElement.clientHeight;
hei=hei-71;
var rowheigth=0;
if($('.row')){
rowheigth=$('.row').height();
hei=hei-rowheigth;
}
}
if($('.table-responsive')){
$('.table-responsive').css({'height':hei+'px'});
}
}