type=“属性”(数字键盘) <input type='idcard' /> // 带X数字键盘 number:没有小数点idcard:没有小数点,带一个 X 键(输入身份证号时使用)digit:带小数点