Commit 21b6fd8a authored by yu's avatar yu

9.8调整

parent 7feb0d51
......@@ -696,6 +696,7 @@ cc.Class({
let slider = cc.find("slider", card_group);
let card_bg2 = cc.find("card_group/card_bg2", this.node)
slider.action = true;
card_bg2.opacity = 0;
layout_card.removeAllChildren();
let r = [239, 0, 135];
let l = [2, 171, 241];
......@@ -855,15 +856,20 @@ cc.Class({
},
onTouchCarton() {
if (this._playing) return;
this._playing = true;
this.playPartAni();
setTimeout(() => {
this._playing = false;
}, 900);
// this._playing = true;
// this.playPartAni();
// setTimeout(() => {
// this._playing = false;
// }, 900);
},
onTouchWord() {
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() {
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