Compare commits
2 Commits
c726ec81cd
...
5c622d32c8
| Author | SHA1 | Date | |
|---|---|---|---|
| 5c622d32c8 | |||
| 38304a8eb2 |
@ -77,9 +77,8 @@ export default class EntryAbility extends UIAbility {
|
|||||||
|
|
||||||
const windowClass = await windowStage.getMainWindow();
|
const windowClass = await windowStage.getMainWindow();
|
||||||
globalThis.windowClass = windowClass
|
globalThis.windowClass = windowClass
|
||||||
// await windowClass.setWindowLayoutFullScreen(true)
|
await windowClass.setWindowLayoutFullScreen(true)
|
||||||
await windowClass.setWindowSystemBarEnable([]) //全屏
|
await windowClass.setWindowSystemBarEnable([]) //全屏
|
||||||
// await windowClass.setWindowSystemBarEnable(['navi gation'])
|
|
||||||
|
|
||||||
windowStage.loadContent('pages/Index', (err, data) => {
|
windowStage.loadContent('pages/Index', (err, data) => {
|
||||||
if (err.code) {
|
if (err.code) {
|
||||||
|
|||||||
@ -42,7 +42,6 @@ struct Index {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async aboutToAppear() {
|
async aboutToAppear() {
|
||||||
globalThis.windowClass.setWindowSystemBarEnable([])
|
|
||||||
const time = await getCurrentTime()
|
const time = await getCurrentTime()
|
||||||
|
|
||||||
this.startTime = time.split(' ')[1]
|
this.startTime = time.split(' ')[1]
|
||||||
|
|||||||
@ -490,7 +490,6 @@ export default class Judge {
|
|||||||
const msgStr = strArr[num];
|
const msgStr = strArr[num];
|
||||||
if (msgStr == '') {
|
if (msgStr == '') {
|
||||||
console.info(judgeTag, '模拟数据考试结束')
|
console.info(judgeTag, '模拟数据考试结束')
|
||||||
globalThis.windowClass.setWindowSystemBarEnable([])
|
|
||||||
clearInterval(judgeTimer)
|
clearInterval(judgeTimer)
|
||||||
this.checkExamIsEnd(true)
|
this.checkExamIsEnd(true)
|
||||||
return
|
return
|
||||||
@ -1246,7 +1245,6 @@ export default class Judge {
|
|||||||
// this.judgeUI.totalScore = isAllProjectsEnd ? totalScore : 0;
|
// this.judgeUI.totalScore = isAllProjectsEnd ? totalScore : 0;
|
||||||
const singlePlay = globalThis.singlePlay
|
const singlePlay = globalThis.singlePlay
|
||||||
const param302 = judgeConfigObj['302'];
|
const param302 = judgeConfigObj['302'];
|
||||||
// globalThis.windowClass.setWindowSystemBarEnable(['navigation'])
|
|
||||||
|
|
||||||
//自动退出待验证并且不合格
|
//自动退出待验证并且不合格
|
||||||
if (!isManual && examSubject == 3 && (param302 == 1 || (singlePlay && param302 == 2)) &&
|
if (!isManual && examSubject == 3 && (param302 == 1 || (singlePlay && param302 == 2)) &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user