Commit cb3b7308 authored by Tt's avatar Tt

1

parent d91ca4c2
...@@ -555,6 +555,7 @@ cc.Class({ ...@@ -555,6 +555,7 @@ cc.Class({
this._playing = true; this._playing = true;
icon_ex_txt.active = false; icon_ex_txt.active = false;
icon_ex.active = false; icon_ex.active = false;
// btn_replay.active = false;
pg.view.visible(pg.view.find(this, "card_group/slider"), false); pg.view.visible(pg.view.find(this, "card_group/slider"), false);
this.showCardLayout(); this.showCardLayout();
if (jumpWait) { if (jumpWait) {
...@@ -703,6 +704,7 @@ cc.Class({ ...@@ -703,6 +704,7 @@ cc.Class({
let card = cc.find("card", card_group); let card = cc.find("card", card_group);
let slider = cc.find("slider", card_group); let slider = cc.find("slider", card_group);
let card_bg2 = cc.find("card_group/card_bg2", this.node) let card_bg2 = cc.find("card_group/card_bg2", this.node)
card_bg2.opacity = 0;
slider.action = true; slider.action = true;
layout_card.removeAllChildren(); layout_card.removeAllChildren();
let r = [239, 0, 135]; let r = [239, 0, 135];
...@@ -866,15 +868,20 @@ cc.Class({ ...@@ -866,15 +868,20 @@ cc.Class({
}, },
onTouchCarton() { onTouchCarton() {
if (this._playing) return; if (this._playing) return;
this._playing = true; // this._playing = true;
this.playPartAni(); // this.playPartAni();
setTimeout(() => { // setTimeout(() => {
this._playing = false; // this._playing = false;
}, 900); // }, 900);
}, },
onTouchWord() { onTouchWord() {
if (this._playing) return; if (this._playing) return;
this.playWordAni(true); let btn_record = pg.view.find(this, "btn_record");
btn_record.active = false;
this.hideRestartBtn();
this.playWordAni(true).then(() => {
this.playRecordAudio();
})
}, },
onTouchCat() { onTouchCat() {
if (this._playing) return; if (this._playing) return;
......
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