摘要: 原因: By default, Safari Mobile does not use the :active state unless there is a touchstart event handler on the relevant element or on the <body>. 解决方法 阅读全文
posted @ 2017-10-16 11:12 糖糖部落 阅读(256) 评论(0) 推荐(0) 编辑
摘要: $(document).on('touchend',function(e){ if(!$('.menuIcon')[0].contains(e.target)){ if(flag == 0){ $('.navMenu').slideUp(); flag = 1; } ... 阅读全文
posted @ 2017-10-16 11:06 糖糖部落 阅读(436) 评论(0) 推荐(0) 编辑