如果要在网页 h5 上实现刮刮乐效果,其实很多人都知道原理非常简单,用一个 canvas 盖在结果内容上层,然后给 canvas 绑定 ontouchmove 事件,触发后使用 context.clearRect(x, y, width, height); 继续阅读
如果要在网页 h5 上实现刮刮乐效果,其实很多人都知道原理非常简单,用一个 canvas 盖在结果内容上层,然后给 canvas 绑定 ontouchmove 事件,触发后使用 context.clearRect(x, y, width, height); 继续阅读