【Tip】移动端 (不断更新中...)
1.取消手机端的双击缩放功能
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=no">
2.强制竖屏、横屏
<meta name="screen-orientation" content="portrait | landscape">
<meta name="x5-orientation" content="portrait | landscape" >
3.禁止覆盖层移动
ui.$mask.on('touchmove',function(e){
e.stopPropagation();
e.preventDefault();
})
4.弹性滚动事件
-webkit-overflow-scrolling:touch;
5.tap事件 去除背景色
-webkit-tap-highlight-color: rgba(0,0,0,0);