<input
type="text"
placeholder="请输入联系电话"
v-model="phone"
oninput="value=value.replace(/[^\d]/g,'')"
maxlength="11"
@blur.prevent="inputLoseFocus"
/>
inputLoseFocus() {
window.scrollTo({
top: window.pageYOffset,
behavior: "smooth"
});
}