Commit c8dd5e2e authored by liujiangnan's avatar liujiangnan

feat

parent 883f6e6b
......@@ -326,14 +326,14 @@ export default class NewClass extends middleLayerBase {
star.active = true;
star.getComponent(dragonBones.ArmatureDisplay).playAnimation('normal', 1);
setTimeout(() => {
this.showConfirm('还想再来一次吗?', () => {
this.hideGetParterAnim();
// 识别页
const gameSelectData = this.getData('NJ_game_select');
this.loadOnlineCourseWare(gameSelectData.courseId, true);
}, () => {
// setTimeout(() => {
// this.showConfirm('还想再来一次吗?', () => {
// this.hideGetParterAnim();
// // 识别页
// const gameSelectData = this.getData('NJ_game_select');
// this.loadOnlineCourseWare(gameSelectData.courseId, true);
// }, () => {
// 潜水艇页
this.hideGetParterAnim();
cc.find('middleLayer/BtnRight').active = false;
......@@ -348,8 +348,8 @@ export default class NewClass extends middleLayerBase {
} else if (idx == '2') {
this.loadOnlineBundle('NJ_NongChang');
}
});
}, 1000);
// });
// }, 1000);
}
hideGetParterAnim() {
......
......@@ -532,8 +532,8 @@ export function buttonOnClick(button: cc.Node, callback: Function, scale = 1.0)
.to(0.1, { scale: scale * 1.1 })
.to(0.1, { scale: scale })
.call(() => {
button['cantClick'] = false;
callback && callback();
button['cantClick'] = false;
})
.start();
});
......
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