window["onorientationchange"] = function() {
if(window["orientation"] == 90 || window["orientation"] == -90) {
//页面被旋转了->做某件事
}
}
Egret)判断横竖屏
最新推荐文章于 2021-05-29 00:16:44 发布