Commit 8b3ccd85 authored by liujiangnan's avatar liujiangnan

feat

parent c8dd5e2e
...@@ -326,7 +326,7 @@ export default class NewClass extends middleLayerBase { ...@@ -326,7 +326,7 @@ export default class NewClass extends middleLayerBase {
star.active = true; star.active = true;
star.getComponent(dragonBones.ArmatureDisplay).playAnimation('normal', 1); star.getComponent(dragonBones.ArmatureDisplay).playAnimation('normal', 1);
// setTimeout(() => { setTimeout(() => {
// this.showConfirm('还想再来一次吗?', () => { // this.showConfirm('还想再来一次吗?', () => {
// this.hideGetParterAnim(); // this.hideGetParterAnim();
...@@ -334,22 +334,22 @@ export default class NewClass extends middleLayerBase { ...@@ -334,22 +334,22 @@ export default class NewClass extends middleLayerBase {
// const gameSelectData = this.getData('NJ_game_select'); // const gameSelectData = this.getData('NJ_game_select');
// this.loadOnlineCourseWare(gameSelectData.courseId, true); // this.loadOnlineCourseWare(gameSelectData.courseId, true);
// }, () => { // }, () => {
// 潜水艇页 // // 潜水艇页
this.hideGetParterAnim(); this.hideGetParterAnim();
cc.find('middleLayer/BtnRight').active = false; // cc.find('middleLayer/BtnRight').active = false;
cc.find('middleLayer/BtnLeft').active = false; // cc.find('middleLayer/BtnLeft').active = false;
cc.find('middleLayer/ExitBtn').active = false; // cc.find('middleLayer/ExitBtn').active = false;
const idx = this.getData('NJ_menu_select_idx'); // const idx = this.getData('NJ_menu_select_idx');
if (idx == '0') { // if (idx == '0') {
this.loadOnlineBundle('NJ_QianShuiTing'); // this.loadOnlineBundle('NJ_QianShuiTing');
} else if (idx == '1') { // } else if (idx == '1') {
this.loadOnlineBundle('NJ_ShaMo'); // this.loadOnlineBundle('NJ_ShaMo');
} else if (idx == '2') { // } else if (idx == '2') {
this.loadOnlineBundle('NJ_NongChang'); // this.loadOnlineBundle('NJ_NongChang');
} // }
// }); // });
// }, 1000); }, 1000);
} }
hideGetParterAnim() { hideGetParterAnim() {
......
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