摘要: 由于移动端是触摸事件,所以要用到H5的属性touchstart/touchmove/touched,但是PC端只支持鼠标事件,所以此时可以这样转换 var touchEvents = { touchstart:"touchstart", touchmove:"touchmove", touchend 阅读全文
posted @ 2016-10-02 19:14 CodeProducter 阅读(5900) 评论(1) 推荐(0)