摘要: js代码:console.log("ontouchstart" in window);手机web浏览器,chrome模拟手机、手机APP会返回true,pc端(非手机模拟状态下)返回false所以:一种事件的处理方法:var isTouch = ("ontouchstart" in window) ... 阅读全文
posted @ 2015-12-24 15:22 哈姆PP 阅读(2999) 评论(0) 推荐(0) 编辑