webapp检测手机运动方向,可实现手机摇一摇功能的触发 官网网址: https://developer.mozilla.org/zh-CN/docs/Web/API/Detecting_device_orientation