输入法直接显示 数字输入键盘

<input type="number" id="weight" name='weight' pattern="[0-9]*"  class="input-footer-none" placeholder="请输入...">

//type=number可以实现    但是一般pattern="[0-9]*"表示苹果手机的

//两者都写兼容

posted @ 2017-09-10 10:49  xzzzys  Views(518)  Comments(0Edit  收藏  举报