解决移动端软键盘遮挡屏幕 var dom = document.activeElement //当前获得鼠标焦点的元素 activeElement.scrollIntoView() // 当前元素移动到窗口的顶端