<input type = "number" >
限制只能输入数字
<input type = "number" oninput="if(value.length>11)value=value.slice(0,11)">
限制输入的长度为11
<input type = "number" >
限制只能输入数字
<input type = "number" oninput="if(value.length>11)value=value.slice(0,11)">
限制输入的长度为11