<script> // 判断横屏展示时的状态 window.onorientatiοnchange=function(){ if(window.orientation==90||window.orientation==-90){ window.location.reload(); /*横屏状态刷新*/ }else{ window.location.reload(); /*竖屏状态刷新*/ } } </script>
<script> // 判断横屏展示时的状态 window.onorientatiοnchange=function(){ if(window.orientation==90||window.orientation==-90){ window.location.reload(); /*横屏状态刷新*/ }else{ window.location.reload(); /*竖屏状态刷新*/ } } </script>