如何禁用或不让iPhone弹出键盘, 如何禁用或不让iPhone弹出键盘
建议把输入框设为只读。当点击输入框的时候,显示自己定义的键盘,键盘输入直接修改输入框里的值。
你可以使用或者参考。
NumberKeyboard 数字键盘 Mobile UI Components built on Vue https://vant-contrib.gitee.io/vant/#/zh-CN/number-keyboard
PasswordInput 密码输入框 Mobile UI Components built on Vue https://vant-contrib.gitee.io/vant/#/zh-CN/password-input
嗯嗯,这个问题已经解决了但还是谢谢你,我是在 input 框框中添加了 readonly 属性就可以了