HTML 5实现手机摇一摇的功能 2015/03/17 32630 清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>> if (window.DeviceMotionEvent) { window.addEventListener(‘devicemotion’,deviceMotionHandler, false); }