Commit 6471b288 authored by Tt's avatar Tt

info

parent 5eabc7e7
...@@ -1181,8 +1181,8 @@ ...@@ -1181,8 +1181,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 600, "width": 900,
"height": 400 "height": 700
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1333,8 +1333,8 @@ ...@@ -1333,8 +1333,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 600, "width": 900,
"height": 400 "height": 700
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
......
...@@ -336,12 +336,18 @@ cc.Class({ ...@@ -336,12 +336,18 @@ cc.Class({
this.showNextBtn(); 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);
// this.showSubmitBtn();
// this.jumpToQuestion(this.status.currentQuestionIdx);
// });
playDragonBoneAnimation(cat, 'normal', -1); playDragonBoneAnimation(cat, 'normal', -1);
this.showSubmitBtn(); this.showSubmitBtn();
this.jumpToQuestion(this.status.currentQuestionIdx); let questionIdx = this.status.currentQuestionIdx;
}); const questionAudioUrl = this.data.question_arr[questionIdx].audio_url;
this.playAudioByUrl(questionAudioUrl);
} }
}); });
}, },
......
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