JS实现手机摇一摇功能 //运动事件监听 if (window.DeviceMotionEvent) { window.addEventListener(‘devicemotion’,deviceMotionHandler, … 继续阅读 JS实现手机摇一摇功能