Commit 21b6fd8a authored by yu's avatar yu

9.8调整

parent 7feb0d51
...@@ -696,6 +696,7 @@ cc.Class({ ...@@ -696,6 +696,7 @@ cc.Class({
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)
slider.action = true; slider.action = true;
card_bg2.opacity = 0;
layout_card.removeAllChildren(); layout_card.removeAllChildren();
let r = [239, 0, 135]; let r = [239, 0, 135];
let l = [2, 171, 241]; let l = [2, 171, 241];
...@@ -855,15 +856,20 @@ cc.Class({ ...@@ -855,15 +856,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