手机端fixed底部跟着窗口动问题
var windowInnerHeight = window.innerHeight;
//获取当前浏览器窗口高度
$(window).resize(function(){
if(window.innerHeight < windowInnerHeight){
$('#foot').hide();
}else{
$('#foot').show();
}
});
var windowInnerHeight = window.innerHeight;
//获取当前浏览器窗口高度
$(window).resize(function(){
if(window.innerHeight < windowInnerHeight){
$('#foot').hide();
}else{
$('#foot').show();
}
});