关于js陀螺仪的理解分析 检测设备方向监听deviceorientationwindow.addEventListener("deviceorientation",handleOrientation,true);event中包 js陀螺仪