Commit b7be153b authored by liujiangnan's avatar liujiangnan

feat: 翻页

parent 97d9e2db
......@@ -155,9 +155,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.playAudio('end');
onHomeworkFinish();
this.hideGuns();
const BtnRestart = cc.find('Canvas/bg/BtnRestart');
BtnRestart.active = true;
BtnRestart.opacity = 255;
// TODO 上报成绩,现在这里没采集成绩,所以后续再实现
window["courseware"].nextPage();
}
_status = null
async gameStart() {
......@@ -389,9 +391,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
const currentQuestion = this.data.questionList[this._status.currentQuestionIdx];
this.updateRightNumber();
if (this._status.currentRightNumber >= currentQuestion.rigthNumber) {
this.log("打完了=============")
this.stopShowBalls();
await asyncDelay(2);
......
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