body{
/*解决键盘遮挡文本框的问题 20151229*/
-webkit-overflow-scrolling:touch;
overflow-y:visible !important;
-webkit-touch-callout:none;
-webkit-user-select:none;
-moz-user-select:moz-none;
user-select:none;
}
或者。。。。。。。。
appUtils.bindEvent($(_pageId + " #buyMoney"),function(){
$("html,body").css({"margin-bottom" : "0.1rem", "height" : "115%"});
$("html,body").animate({scrollTop : "150%"},100);
$(_pageId).css("height", "115%");
},"focus");
// 输入金额失去焦点
appUtils.bindEvent($(_pageId + " #buyMoney"),function(){
$("html,body").css("margin-bottom","0rem").css("height" , "100%");
$("html,body").animate({scrollTop : "-150%"},100);
$(_pageId).css("height", appUtils.getSStorageInfo("height"));
},"blur");
控制滚动条