一、 input表单控件
1、调用手机键盘
移动端点击输入手机号, 调用数字键盘; 安卓默认调用数字键盘, ios需要加pattern="\d*"
<input type="number" placeholder="请输入手机号" pattern="\d*" >
如何启动或禁用自动识别页面中的电话号码
<a href="tel:10010">10010</a>
format-detection可以启动或禁用自动识别页面中的电话号码
<meta name="format-detection" content="telephone=no">
//默认情况下设备会自动识别任何可能是电话号码的字符串,设置telephone=no可以禁用这项功能,设置不识别邮箱和地址也同理
2、调用手机相机等
<input type="file" accept="image/*" capture="camera" />
性能优化: 移动端滚动卡顿
-webkit-overflow-scrolling: touch;