|
|
@@ -8001,7 +8001,10 @@ mk.data.setTAEventRegister();
|
|
|
mk.data.sendDataEvent("ABTest", "触发" + this.gameData.groupCode + "方案");
|
|
|
mk.data.setTAEventUserStr(0, "xy_uid", gData.loginData.uin);
|
|
|
mk.data.setTAEventUserStr(0, "regtime_app_id", gData.appData.appVersion);
|
|
|
-gData.guideToWxData.guideToWxSwith && mk.storage.setStorage("canShowGuideToWx", "1");
|
|
|
+if (gData.guideToWxData.guideToWxSwith) {
|
|
|
+console.log("BBB aaa ");
|
|
|
+mk.storage.setStorage("canShowGuideToWx", "1");
|
|
|
+}
|
|
|
}
|
|
|
mk.data.setTAEventUserStr(0, "now_app_id", gData.appData.appVersion);
|
|
|
mk.data.setTAEventUserStr(0, "channel_id", gData.appData.umengChannel);
|
|
|
@@ -10208,13 +10211,19 @@ var o = t("../../before/GamePlay"), a = t("../../game/data/GameData"), i = t("./
|
|
|
function t() {}
|
|
|
t.prototype.open = function(t) {
|
|
|
if (3 == t) {
|
|
|
+console.log("BBB 111111 ", gData.guideToWxData.guideToWxSwith);
|
|
|
if (!gData.guideToWxData.guideToWxSwith) return;
|
|
|
-if ("1" != mk.storage.getStorage("canShowGuideToWx")) return;
|
|
|
-if (!gData.gameData.getProp(a.GameProp.guideToWx)) {
|
|
|
+var e = "1" == mk.storage.getStorage("canShowGuideToWx");
|
|
|
+console.log("BBB 222222 ", e);
|
|
|
+if (!e) return;
|
|
|
+var n = gData.gameData.getProp(a.GameProp.guideToWx);
|
|
|
+console.log("BBB 3333333 ", n);
|
|
|
+if (!n) {
|
|
|
+console.log("BBB 444444 ");
|
|
|
gData.gameData.setProp(a.GameProp.guideToWx, 1);
|
|
|
gData.guideToWxData.init_state = !0;
|
|
|
mk.ui.closeAllUI();
|
|
|
-if (o.default.Inst.node && o.default.Inst.node.active) {
|
|
|
+if (o.default.Inst && o.default.Inst.node && o.default.Inst.node.active) {
|
|
|
o.default.Inst.restart();
|
|
|
o.default.Inst.node.active = !1;
|
|
|
}
|
|
|
@@ -16580,10 +16589,12 @@ e = e > 1 ? Math.floor(e) : parseFloat(e.toFixed(2));
|
|
|
this.lbl_rmb.string = "" + e;
|
|
|
};
|
|
|
e.prototype.onDestroy = function() {
|
|
|
+console.log("BBB gData.redBagCash.success ", gData.redBagCash.success);
|
|
|
if (gData.redBagCash.success) {
|
|
|
gData.redBagCash.success = !1;
|
|
|
gData.safeDepositBoxData.creatPacketAnim(2);
|
|
|
var t = gData.gameData.getProp(c.GameProp.guideToWx);
|
|
|
+console.log("BBB gData.gameData.gameData.cashIndex ", gData.gameData.gameData.cashIndex);
|
|
|
if (2 == gData.gameData.gameData.cashIndex && !t) {
|
|
|
mk.guide.open(3);
|
|
|
return;
|