Commit 51e24e20 authored by 杨一航's avatar 杨一航

fix

parent 145fbcf9
...@@ -6795,7 +6795,7 @@ ...@@ -6795,7 +6795,7 @@
"y": 0 "y": 0
}, },
"_fillStart": 0, "_fillStart": 0,
"_fillRange": 0.7, "_fillRange": 0,
"_isTrimmedMode": false, "_isTrimmedMode": false,
"_atlas": null, "_atlas": null,
"_id": "89y+s+T7BJtKXLnuJAzEyw" "_id": "89y+s+T7BJtKXLnuJAzEyw"
...@@ -6845,7 +6845,7 @@ ...@@ -6845,7 +6845,7 @@
"__id__": 129 "__id__": 129
}, },
"_N$mode": 2, "_N$mode": 2,
"_N$progress": 0.7, "_N$progress": 0,
"_N$reverse": false, "_N$reverse": false,
"_id": "c9SdBc+BpDXqG7mznKtH5n" "_id": "c9SdBc+BpDXqG7mznKtH5n"
}, },
......
...@@ -544,6 +544,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -544,6 +544,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
async openCoursView(node, word) { async openCoursView(node, word) {
this.cover.active = true; this.cover.active = true;
this.cat.active = false; this.cat.active = false;
this.clockNode.active = false;
let probar = this.cover.getChildByName("bg").getChildByName("probar"); let probar = this.cover.getChildByName("bg").getChildByName("probar");
let pass = this.cover.getChildByName("bg").getChildByName("pass"); let pass = this.cover.getChildByName("bg").getChildByName("pass");
let loss = this.cover.getChildByName("bg").getChildByName("loss"); let loss = this.cover.getChildByName("bg").getChildByName("loss");
...@@ -638,6 +639,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -638,6 +639,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.cover.active = false; this.cover.active = false;
this.cat.active = true; this.cat.active = true;
this.clockNode.active = true;
this.log("====评测通过====="); this.log("====评测通过=====");
this.networkHelper.sendFrame({ this.networkHelper.sendFrame({
type: "right", type: "right",
...@@ -655,6 +657,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -655,6 +657,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
await asyncDelay(1); await asyncDelay(1);
this.cover.active = false; this.cover.active = false;
this.cat.active = true; this.cat.active = true;
this.clockNode.active = true;
this.log("====评测不通过====="); this.log("====评测不通过=====");
this.networkHelper.sendFrame({ this.networkHelper.sendFrame({
type: "wrong", type: "wrong",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment