|
@@ -466,20 +466,26 @@ export default {
|
|
action: "答题页面dimension",
|
|
action: "答题页面dimension",
|
|
scrollX: window.scrollX,
|
|
scrollX: window.scrollX,
|
|
scrollY: window.scrollY,
|
|
scrollY: window.scrollY,
|
|
- screenY: window.screen.availHeight,
|
|
|
|
|
|
+ width: window.screen.width,
|
|
|
|
+ height: window.screen.height,
|
|
screenX: window.screen.availWidth,
|
|
screenX: window.screen.availWidth,
|
|
- clientHeight: document.documentElement.clientHeight,
|
|
|
|
|
|
+ screenY: window.screen.availHeight,
|
|
clientWidth: document.documentElement.clientWidth,
|
|
clientWidth: document.documentElement.clientWidth,
|
|
- windowHeight: window.outerHeight,
|
|
|
|
- windowWidth: window.outerWidth,
|
|
|
|
- equal:
|
|
|
|
- "dimesion" +
|
|
|
|
- (document.documentElement.clientHeight === window.outerHeight &&
|
|
|
|
- document.documentElement.clientWidth === window.outerWidth),
|
|
|
|
|
|
+ clientHeight: document.documentElement.clientHeight,
|
|
|
|
+ windowInnerWidth: window.innerWidth,
|
|
|
|
+ windowInnerHeight: window.innerHeight,
|
|
|
|
+ windowOuterWidth: window.outerWidth,
|
|
|
|
+ windowOuterHeight: window.outerHeight,
|
|
|
|
+ // 是否全屏
|
|
|
|
+ equal1:
|
|
|
|
+ "dimesion1" +
|
|
|
|
+ (window.screen.width === window.outerWidth &&
|
|
|
|
+ window.screen.height === window.outerHeight),
|
|
|
|
+ // 是否打开了调试窗口
|
|
equal2:
|
|
equal2:
|
|
"dimesion2" +
|
|
"dimesion2" +
|
|
- (window.screen.availHeight === window.outerHeight &&
|
|
|
|
- window.screen.availWidth === window.outerWidth),
|
|
|
|
|
|
+ (window.innerWidth === window.outerWidth &&
|
|
|
|
+ window.innerHeight === window.outerHeight),
|
|
});
|
|
});
|
|
|
|
|
|
exam.WEIXIN_ANSWER_ENABLED = weixinAnswerEnabled;
|
|
exam.WEIXIN_ANSWER_ENABLED = weixinAnswerEnabled;
|