|
|
@@ -4366,7 +4366,7 @@ if (0 != (t = e.sent()).errcode) return [ 2 ];
|
|
|
console.log(t.data);
|
|
|
if (t.data) {
|
|
|
t.data.forEach(function(t) {
|
|
|
-for (var e in t) t[e] = parseInt(t[e]);
|
|
|
+for (var e in t) "withdrawalCode" != e && (t[e] = parseInt(t[e]));
|
|
|
});
|
|
|
this.list_data = t.data;
|
|
|
this.initReceipTotalRMB();
|
|
|
@@ -5499,6 +5499,7 @@ value: !0
|
|
|
var o = t("./JsbSystem"), i = function() {
|
|
|
function t() {}
|
|
|
t.prototype.sendDataEvent = function(t, e) {
|
|
|
+console.log("===[DataSystem", t, e);
|
|
|
t && e && o.default.sendEvent(t, e);
|
|
|
};
|
|
|
return t;
|
|
|
@@ -7555,7 +7556,7 @@ get: function() {
|
|
|
return this._piggyBank;
|
|
|
},
|
|
|
set: function(t) {
|
|
|
-if (this._piggyBank !== t) {
|
|
|
+if (this._piggyBank !== t && !(gData.gameData.gameData.isWithdrawable && t > 0)) {
|
|
|
this._piggyBank = t;
|
|
|
gData.gameData.init_coin = !0;
|
|
|
gData.pigbank.init_data = !0;
|
|
|
@@ -11682,7 +11683,10 @@ if (gData.appData.getDeviceInfoCompelete) {
|
|
|
this.login();
|
|
|
gData.appData.getDeviceInfoCompelete = !1;
|
|
|
} else if (gData.gameData.dataFinish) {
|
|
|
-if (gData.gameData.isNewPlayer()) mk.ui.openPanel("module/login/agreementTip"); else {
|
|
|
+if (1 != mk.storage.getStorage("agreementTip", !1)) {
|
|
|
+mk.ui.openPanel("module/login/agreementTip");
|
|
|
+mk.storage.setStorage("agreementTip", 1, !1);
|
|
|
+} else {
|
|
|
mk.ui.openPanel("game/prefab/game");
|
|
|
console.log("===[Jsbsystem 显示开屏广告================================");
|
|
|
l.default.showSplash();
|
|
|
@@ -16591,6 +16595,7 @@ return [ 2 ];
|
|
|
e.prototype.clickGetReward = function() {
|
|
|
cc.log("获取奖励:", gData.reward.data);
|
|
|
gData.reward.flyCoinAnim();
|
|
|
+this.onClickClose();
|
|
|
};
|
|
|
e.prototype.clickCashOut = function() {
|
|
|
gData.reward.addReward();
|