Commit 652fc543 authored by wildfirecode's avatar wildfirecode

1

parent 5ba909b3
...@@ -64,8 +64,8 @@ export default class HelpScratchPanel extends Panel { ...@@ -64,8 +64,8 @@ export default class HelpScratchPanel extends Panel {
loadSvga(getResPath() + 'resource/assets/svgas/scratch_fail.svga'), loadSvga(getResPath() + 'resource/assets/svgas/scratch_fail.svga'),
]); ]);
this['go2btn'].once(egret.TouchEvent.TOUCH_TAP, this.onclick_gobtn, this); this['go2btn'].once(egret.TouchEvent.TOUCH_TAP, this.onclick_gobtn2, this);
this['go1btn'].once(egret.TouchEvent.TOUCH_TAP, this.onclick_gobtn, this); this['go1btn'].once(egret.TouchEvent.TOUCH_TAP, this.onclick_gobtn1, this);
this['helpbtn'].once(egret.TouchEvent.TOUCH_TAP, this.onClick, this); this['helpbtn'].once(egret.TouchEvent.TOUCH_TAP, this.onClick, this);
const w = [313, 433, 356]; const w = [313, 433, 356];
...@@ -100,9 +100,13 @@ export default class HelpScratchPanel extends Panel { ...@@ -100,9 +100,13 @@ export default class HelpScratchPanel extends Panel {
onclick_closeBtn() { onclick_closeBtn() {
this.hidePanel(); this.hidePanel();
} }
onclick_gobtn() { onclick_gobtn1() {
// NetManager.ins.clickLog(getlogItem(88)); this.hidePanel();
gotoNextLevel();
NetManager.ins.clickLog(getlogItem(90)); NetManager.ins.clickLog(getlogItem(90));
}
onclick_gobtn2() {
this.hidePanel(); this.hidePanel();
gotoNextLevel(); gotoNextLevel();
} }
......
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