// 软键盘关闭事件
document.body.addEventListener('focusout', () => {
window.scrollTo({ top: 0, left: 0, behavior: 'smooth' })
})
if (/iphone|ipod|ipad/i.test(navigator.appVersion)) {
document.addEventListener(
"blur",
function(e) {
document.body.scrollIntoView(true);
},
true
);
document.addEventListener(
"focus",
function(e) {
document.body.scrollIntoView(false);
},
true
);
}