Commit aa1f2945 authored by wildfirecode's avatar wildfirecode

1

parent 1448d940
...@@ -74,7 +74,7 @@ export default class MapScene extends Scene { ...@@ -74,7 +74,7 @@ export default class MapScene extends Scene {
else if (code.indexOf("12345678") == -1) { // 邀请有礼 else if (code.indexOf("12345678") == -1) { // 邀请有礼
const dojoin = DataManager.ins.getData('hc_doJoin'); const dojoin = DataManager.ins.getData('hc_doJoin');
if (!dojoin) { if (!dojoin) {
panels.push('HelpInvitePanel2',{}); panels.push('HelpInvitePanel2');
return true; return true;
} }
const netCallback = () => { doHelpFlag = true; }; const netCallback = () => { doHelpFlag = true; };
......
...@@ -51,8 +51,8 @@ export default class HelpBloodPanel extends Panel { ...@@ -51,8 +51,8 @@ export default class HelpBloodPanel extends Panel {
onclick_gobtn() { onclick_gobtn() {
if (this.success) if (this.success)
NetManager.ins.clickLog(getlogItem(88)); NetManager.ins.clickLog(getlogItem(88));
else // else
NetManager.ins.clickLog(getlogItem(0)); // NetManager.ins.clickLog(getlogItem(0));
this.hidePanel(); this.hidePanel();
gotoNextLevel(); gotoNextLevel();
} }
...@@ -74,7 +74,7 @@ export default class HelpBloodPanel extends Panel { ...@@ -74,7 +74,7 @@ export default class HelpBloodPanel extends Panel {
this['txt_standby'].visible = false; this['txt_standby'].visible = false;
this['txt_success'].visible = true; this['txt_success'].visible = true;
} else { } else {
NetManager.ins.showLog(getlogItem(0)); // NetManager.ins.showLog(getlogItem(0));
this.list[2].visible = true; this.list[2].visible = true;
play2(this.list[2]); play2(this.list[2]);
this['helpbtn'].visible = false; this['helpbtn'].visible = false;
......
...@@ -57,8 +57,8 @@ export default class HelpInvitePanel extends Panel { ...@@ -57,8 +57,8 @@ export default class HelpInvitePanel extends Panel {
gotoNextLevel(); gotoNextLevel();
if (this.success) if (this.success)
NetManager.ins.clickLog(getlogItem(92)); NetManager.ins.clickLog(getlogItem(92));
else // else
NetManager.ins.clickLog(getlogItem(0)); // NetManager.ins.clickLog(getlogItem(0));
} }
onClick() { onClick() {
...@@ -73,7 +73,7 @@ export default class HelpInvitePanel extends Panel { ...@@ -73,7 +73,7 @@ export default class HelpInvitePanel extends Panel {
this['list'][1].gotoAndPlay(1); this['list'][1].gotoAndPlay(1);
this['txt_success'].visible = true; this['txt_success'].visible = true;
} else { } else {
NetManager.ins.showLog(getlogItem(0)); // NetManager.ins.showLog(getlogItem(0));
this['list'][2].gotoAndPlay(1); this['list'][2].gotoAndPlay(1);
this['list'][2].visible = true; this['list'][2].visible = true;
var codeMsgs = { var codeMsgs = {
......
...@@ -104,7 +104,7 @@ export default class HelpScratchPanel extends Panel { ...@@ -104,7 +104,7 @@ export default class HelpScratchPanel extends Panel {
onclick_gobtn2() { onclick_gobtn2() {
this.hidePanel(); this.hidePanel();
gotoNextLevel(); gotoNextLevel();
NetManager.ins.clickLog(getlogItem(0)); // NetManager.ins.clickLog(getlogItem(0));
} }
onClick() { onClick() {
...@@ -126,7 +126,7 @@ export default class HelpScratchPanel extends Panel { ...@@ -126,7 +126,7 @@ export default class HelpScratchPanel extends Panel {
await play2(this.list[1]); await play2(this.list[1]);
this['light'].visible = true; this['light'].visible = true;
} else { } else {
NetManager.ins.showLog(getlogItem(0)); // NetManager.ins.showLog(getlogItem(0));
this['go2btn'].visible = true; this['go2btn'].visible = true;
this.list[2].visible = true; this.list[2].visible = true;
var codeMsgs = { var codeMsgs = {
......
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