Element.scrollIntoView() 方法让当前的元素滚动到浏览器窗口的可视区域内。
Element.scrollIntoView()
<input type="tel" placeholder="输入手机号" v-model="mobile" @focus="keyboardBounce(false)" @blur="keyboardBounce(true)" maxlength="11"/>function(){ Element.scrollIntoView();}