Commit 406da69e authored by 范雪寒's avatar 范雪寒

fix: OP09走查结果:

1、OP09的结束音频播放同时中间的重播按钮出现。而不要等到音频说完才出现。
2、最后一次提交之后,右下角的绿色按钮应该消失掉。
3、没有题目时,点击绿色按钮会播放good job,不合理。
parent 2ed9c613
...@@ -866,7 +866,7 @@ ...@@ -866,7 +866,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
411, 400,
-800, -800,
0, 0,
0, 0,
...@@ -935,7 +935,7 @@ ...@@ -935,7 +935,7 @@
"_target": null, "_target": null,
"_alignFlags": 36, "_alignFlags": 36,
"_left": 0, "_left": 0,
"_right": 555, "_right": 566,
"_top": 0, "_top": 0,
"_bottom": 0, "_bottom": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
...@@ -1049,8 +1049,8 @@ ...@@ -1049,8 +1049,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 209, "width": 207,
"height": 146 "height": 144
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1130,8 +1130,8 @@ ...@@ -1130,8 +1130,8 @@
"_target": null, "_target": null,
"_alignFlags": 33, "_alignFlags": 33,
"_left": 0, "_left": 0,
"_right": 100, "_right": 101,
"_top": 50, "_top": 51,
"_bottom": 0, "_bottom": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
......
...@@ -369,8 +369,8 @@ cc.Class({ ...@@ -369,8 +369,8 @@ cc.Class({
this.jumpToQuestion(this.status.currentQuestionIdx); this.jumpToQuestion(this.status.currentQuestionIdx);
}, 0.1 * 1000); }, 0.1 * 1000);
} else { } else {
this.hideSubmitBtn();
this.coolCatSpeakEnd(() => { this.coolCatSpeakEnd(() => {
this.submitBtnMoveOut();
this.showNextBtn(); this.showNextBtn();
}); });
} }
...@@ -392,8 +392,16 @@ cc.Class({ ...@@ -392,8 +392,16 @@ cc.Class({
.start(); .start();
}, },
submitBtnMoveOut() { showSubmitBtn() {
const submitBtn = cc.find('Canvas/bg/btnSubmit'); const submitBtn = cc.find('Canvas/bg/btnSubmit');
cc.tween(submitBtn)
.by(1, { y: submitBtn.height })
.start();
},
hideSubmitBtn() {
const submitBtn = cc.find('Canvas/bg/btnSubmit');
submitBtn.off('click');
cc.tween(submitBtn) cc.tween(submitBtn)
.by(1, { y: -submitBtn.height }) .by(1, { y: -submitBtn.height })
.start(); .start();
......
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