移动端 输入框 input 被弹出来的键盘 挡住 给被挡住的input或者textarea加一个id,然后在click事件里调用下面的代码 document.querySelector('#xxx').scrollIntoView();