<input type="number" onKeypress="return(/[\d\.]/.test(String.fromCharCode(event.keyCode)))" placeholder="请输入手机号码" />