/**
* 键盘高度适配
*/
function fixedKeyboard() {
var client_h = document.documentElement.clientHeight;
$(window).on("resize",function(){
if (/iphone|ipad/i.test(navigator.userAgent.toLowerCase())) {
//ios这块什么都不用做
} else {
//安卓触发window.resize
var body_h = document.documentElement.clientHeight;
if(client_h > body_h){
$('.sumit-footer').css({'position':'static','marginTop':'350px'});
$('.sumit-footer').css();
$('html,body').css({'position':'fixed','width':'100%','height':'100%','overflow':'hidden'});
console.log("小了");
}else{
$('.sumit-footer').css({'position':'fixed','bottom':'0px'})
$('.sumit-footer').css();
console.log("正常")
}
}
})
}