1.加一个blur事件
[code]<input class=\"text1\" type=\"text\" placeholder=\"请输入\" @blur=\"Blur\">
2.离开输入框之后 让滚动条回顶部
[code] Blur() {var u = navigator.userAgent;var ios = !!u.match(/\\(i[^;]+;( U;)? CPU.+Mac OS X/);var iPad = u.indexOf(\'iPad\') > -1;var iPhone = u.indexOf(\'iPhone\') > -1 || u.indexOf(\'Mac\') > -1;if (ios || iPad || iPhone) {setTimeout(function () {document.body.scrollTop = 0document.documentElement.scrollTop = 0window.scrollTo(0, 0)}, 100)}},