Commit f05acbab authored by 范雪寒's avatar 范雪寒

feat:

parent 406da69e
No preview for this file type
...@@ -867,7 +867,7 @@ ...@@ -867,7 +867,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
400, 400,
-800, -1032,
0, 0,
0, 0,
0, 0,
...@@ -937,7 +937,7 @@ ...@@ -937,7 +937,7 @@
"_left": 0, "_left": 0,
"_right": 566, "_right": 566,
"_top": 0, "_top": 0,
"_bottom": 0, "_bottom": -232,
"_verticalCenter": 0, "_verticalCenter": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
......
...@@ -167,6 +167,7 @@ cc.Class({ ...@@ -167,6 +167,7 @@ cc.Class({
initView() { initView() {
this.refreshCoolCatPosition(); this.refreshCoolCatPosition();
this.coolCatSpeakStart(() => { this.coolCatSpeakStart(() => {
this.showSubmitBtn();
this.jumpToQuestion(this.status.currentQuestionIdx); this.jumpToQuestion(this.status.currentQuestionIdx);
}); });
}, },
...@@ -317,11 +318,14 @@ cc.Class({ ...@@ -317,11 +318,14 @@ cc.Class({
playDragonBoneAnimation(cat, 'finish', -1); playDragonBoneAnimation(cat, 'finish', -1);
this.playAudioByUrl(this.data.endAudio, () => { this.playAudioByUrl(this.data.endAudio, () => {
playDragonBoneAnimation(cat, 'normal', -1); playDragonBoneAnimation(cat, 'normal', -1);
this.showNextBtn();
}); });
} else { } else {
playDragonBoneAnimation(cat, 'begin', -1); playDragonBoneAnimation(cat, 'begin', -1);
this.playAudioByUrl(this.data.startAudio, () => { this.playAudioByUrl(this.data.startAudio, () => {
playDragonBoneAnimation(cat, 'normal', -1); playDragonBoneAnimation(cat, 'normal', -1);
this.showSubmitBtn();
this.jumpToQuestion(this.status.currentQuestionIdx);
}); });
} }
}); });
......
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