修复横向滚动条不显示问题
This commit is contained in:
@@ -306,7 +306,14 @@ function customColumnClick(){
|
|||||||
$('#total').html(trtotal);
|
$('#total').html(trtotal);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
window.onload=function (){
|
||||||
|
setTimeout(function (){
|
||||||
|
var height=document.documentElement.clientHeight;
|
||||||
|
if($('.table-responsive')){
|
||||||
|
$('.table-responsive').css({'height':height-166+'px'});
|
||||||
|
}
|
||||||
|
},510);
|
||||||
|
}
|
||||||
window.onresize=function (){
|
window.onresize=function (){
|
||||||
var height=document.documentElement.clientHeight;
|
var height=document.documentElement.clientHeight;
|
||||||
if($('.table-responsive')){
|
if($('.table-responsive')){
|
||||||
|
|||||||
@@ -530,7 +530,6 @@ $(function(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
window.onload=function(){
|
window.onload=function(){
|
||||||
$("span[id^=open]").click(function(){
|
$("span[id^=open]").click(function(){
|
||||||
@@ -1812,7 +1811,7 @@ var initCommIpVal=function(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onresize=function (){
|
function heightDiv(){
|
||||||
var hei=document.documentElement.clientHeight;
|
var hei=document.documentElement.clientHeight;
|
||||||
hei=hei-71;
|
hei=hei-71;
|
||||||
var rowheigth=0;
|
var rowheigth=0;
|
||||||
@@ -1824,3 +1823,11 @@ window.onresize=function (){
|
|||||||
$('.table-responsive').css({'height':hei+'px'});
|
$('.table-responsive').css({'height':hei+'px'});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.onload=function (){
|
||||||
|
setTimeout(function (){
|
||||||
|
heightDiv();
|
||||||
|
},500);
|
||||||
|
}
|
||||||
|
window.onresize=heightDiv;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user