Commit 99c316b4 authored by liujiangnan's avatar liujiangnan

debug

parent 2fe97c16
......@@ -1992,12 +1992,12 @@
}
],
"_prefab": null,
"_opacity": 0,
"_opacity": 187,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
......
......@@ -136,6 +136,7 @@ export default class NewClass extends middleLayerBase {
initListener() {
const exitBtn = cc.find('middleLayer/ExitBtn');
buttonOnClick(exitBtn, () => {
this.showConfirm("还没有完成哦!确定离开吗?", ()=>{
cc.find('middleLayer/BtnRight').active = false;
cc.find('middleLayer/BtnLeft').active = false;
......@@ -143,9 +144,12 @@ export default class NewClass extends middleLayerBase {
cc.audioEngine.stopAll();
(<any>window).courseware.freeAllOcMethod();
this.loadOnlineBundle('NJ_QianShuiTing');
});
});
buttonOnClick(cc.find('middleLayer/BtnRight'), () => {
this.showConfirm("还有任务没完成哦!确定跳过吗?", ()=>{
this.goNextPage();
});
});
buttonOnClick(cc.find('middleLayer/BtnLeft'), () => {
this.goPrePage();
......
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