Open phtwo opened 8 years ago
没有真的进入移动端模式下吧,正常浏览器确实没有touchstart呀。
是用bower自动刷新的 有时突然就滑动不了
切换到手机模拟器模式之后要主动刷新下
刷新没起作用 这个问题我不知道了 昨天一天又没出现过 不过最新版的微信开发者工具滑动不了 初步发现是
'ontouchstart' in global
为false
开发者工具并不是手机模拟器
userAgen是iphone的 而且pc端浏览器应该也可以拖动才对的
'ontouchstart' in global 是事件检测的方式,global === windows,并没有用ua,支持触摸的设备都会有的,包括chrome的模拟器,微信开发这工具正在看
发现iSlider没有触发 touchstart事件 这是为什么 刷新依旧不行,完全找不到规律