|
|
@@ -13332,6 +13332,7 @@ this.playerProp.turntableTimes = t.turntableTimes;
|
|
|
this.playerProp.versioncfg = t.versioncfg;
|
|
|
this.playerProp.isFirstRedMoney = t.isFirstRedMoney;
|
|
|
gData.adData.watchNumToday = null == t.dayVideoTimesForRedMoney ? 0 : t.dayVideoTimesForRedMoney;
|
|
|
+console.log("watchNumToday============" + gData.adData.watchNumToday);
|
|
|
this.playerProp.gradeLevel = t.farmLevel;
|
|
|
this.playerProp.userTuCaoInfo = t.userWelFareTaskInfo;
|
|
|
this.playerProp.farmExpValue = t.userExp;
|
|
|
@@ -13364,6 +13365,7 @@ mk.data.setTAEventUserStr(0, "now_app_id", gData.appData.appVersion);
|
|
|
mk.data.setTAEventUserStr(0, "channel_id", gData.appData.umengChannel);
|
|
|
gData.safeDepositBoxData.richBankCashAmount = t.richBankCashAmount;
|
|
|
gData.safeDepositBoxData.currentRichBankCashTaskIndex = t.currentRichBankCashTaskIndex;
|
|
|
+console.log("currentRichBankCashTaskIndex ======== " + t.currentRichBankCashTaskIndex);
|
|
|
gData.safeDepositBoxData.isStartBankTask = t.isStartRichBankTask;
|
|
|
gData.safeDepositBoxData.richBankDailyVideoTimes = t.richBankDailyVideoTimes;
|
|
|
gData.safeDepositBoxData.richbankLoginDays = t.richbankLoginDays;
|
|
|
@@ -19953,9 +19955,11 @@ cc.sys.os == cc.sys.OS_ANDROID ? jsb.reflection.callStaticMethod(this._JSB_ANDRO
|
|
|
t.setJGTags = function(t) {
|
|
|
cc.sys.os == cc.sys.OS_ANDROID ? jsb.reflection.callStaticMethod(this._JSB_ANDROID_PATH, "setJGTags", "(Ljava/lang/String;)V", t) : cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("GameConfig", "setJGTags:", "");
|
|
|
};
|
|
|
+t.addJGTags = function(t) {
|
|
|
+cc.sys.os == cc.sys.OS_ANDROID ? jsb.reflection.callStaticMethod(this._JSB_ANDROID_PATH, "addJGTags", "(Ljava/lang/String;)V", t) : cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("GameConfig", "addJGTags:", "");
|
|
|
+};
|
|
|
t.getNotificationEnabled = function() {
|
|
|
-if (cc.sys.os == cc.sys.OS_ANDROID) return jsb.reflection.callStaticMethod(this._JSB_ANDROID_PATH, "getNotificationEnabled", "()Ljava/lang/String;");
|
|
|
-cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("GameConfig", "getNotificationEnabled:", "");
|
|
|
+return cc.sys.os == cc.sys.OS_ANDROID ? jsb.reflection.callStaticMethod(this._JSB_ANDROID_PATH, "getNotificationEnabled", "()Z;") : cc.sys.os == cc.sys.OS_IOS ? jsb.reflection.callStaticMethod("GameConfig", "getNotificationEnabled:", "") : void 0;
|
|
|
};
|
|
|
t.goToSet = function() {
|
|
|
cc.sys.os == cc.sys.OS_ANDROID ? jsb.reflection.callStaticMethod(this._JSB_ANDROID_PATH, "gotoSet", "()V") : cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("GameConfig", "gotoSet:", "");
|
|
|
@@ -28484,7 +28488,7 @@ done: !0
|
|
|
Object.defineProperty(a, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
-var r = t("../../../mk/system/JsbSystem"), s = t("../StorageData"), c = cc._decorator.ccclass, l = function() {
|
|
|
+var r = cc._decorator.ccclass, s = function() {
|
|
|
function t() {
|
|
|
this.richBankConfig = null;
|
|
|
this.richBankCashAmount = 0;
|
|
|
@@ -28499,6 +28503,7 @@ this.qipaoType = -1;
|
|
|
this.freshQipao = !1;
|
|
|
this.cashRecordData = null;
|
|
|
this.cashRecordDataLength = 0;
|
|
|
+this.isTeach = !1;
|
|
|
}
|
|
|
t.prototype.creatPacketAnim = function(t) {
|
|
|
this.qipaoType = t;
|
|
|
@@ -28533,18 +28538,18 @@ if (i.index == a) return i;
|
|
|
};
|
|
|
t.prototype.updateQipao = function() {
|
|
|
return n(this, void 0, void 0, function() {
|
|
|
-var t, e;
|
|
|
-return i(this, function(a) {
|
|
|
-switch (a.label) {
|
|
|
+var t;
|
|
|
+return i(this, function(e) {
|
|
|
+switch (e.label) {
|
|
|
case 0:
|
|
|
return [ 4, mk.time.WaitForSeconds(1) ];
|
|
|
|
|
|
case 1:
|
|
|
-a.sent();
|
|
|
+e.sent();
|
|
|
return [ 4, mk.http.sendData("newrichbank/getCashRecord", {}) ];
|
|
|
|
|
|
case 2:
|
|
|
-if ((t = a.sent()) && 0 == t.errcode) {
|
|
|
+if ((t = e.sent()) && 0 == t.errcode) {
|
|
|
this.cashRecordData = t.data;
|
|
|
this.freshQipao = !0;
|
|
|
}
|
|
|
@@ -28552,10 +28557,7 @@ if (gData.gameData.richBankTeachTag) {
|
|
|
gData.gameData.richBankTeachTag = !1;
|
|
|
if (this.cashRecordData.length > this.cashRecordDataLength) {
|
|
|
this.cashRecordDataLength = this.cashRecordData.length;
|
|
|
-if (!(mk.guide.open(13) || (e = mk.storage.getStorage(s.StorageKey.isPopSet)) && "0" != e || "false" != r.default.getNotificationEnabled())) {
|
|
|
-mk.ui.openPanel("moudule/newNotice/permissionWarmPrompt");
|
|
|
-mk.storage.setStorage(s.StorageKey.isPopSet, "1");
|
|
|
-}
|
|
|
+this.isTeach = mk.guide.open(13);
|
|
|
}
|
|
|
}
|
|
|
return [ 2 ];
|
|
|
@@ -28566,14 +28568,11 @@ return [ 2 ];
|
|
|
t.prototype.setCashRecordDataLength = function() {
|
|
|
this.cashRecordData ? this.cashRecordDataLength = this.cashRecordData.length : this.cashRecordDataLength = 0;
|
|
|
};
|
|
|
-return o([ c ], t);
|
|
|
+return o([ r ], t);
|
|
|
}();
|
|
|
-a.default = l;
|
|
|
+a.default = s;
|
|
|
cc._RF.pop();
|
|
|
-}, {
|
|
|
-"../../../mk/system/JsbSystem": "JsbSystem",
|
|
|
-"../StorageData": "StorageData"
|
|
|
-} ],
|
|
|
+}, {} ],
|
|
|
SafeDepositBox: [ function(t, e, a) {
|
|
|
"use strict";
|
|
|
cc._RF.push(e, "4a1eadMvJNNzq6aYLiLjJex", "SafeDepositBox");
|
|
|
@@ -28711,7 +28710,7 @@ done: !0
|
|
|
Object.defineProperty(a, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
-var c = t("../../data/GameData"), l = t("../../data/StorageData"), p = t("./MoneySaveItem"), u = cc._decorator, d = u.ccclass, h = u.property, f = function(t) {
|
|
|
+var c = t("../../../mk/system/JsbSystem"), l = t("../../data/GameData"), p = t("../../data/StorageData"), u = t("./MoneySaveItem"), d = cc._decorator, h = d.ccclass, f = d.property, y = function(t) {
|
|
|
n(e, t);
|
|
|
function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
@@ -28838,7 +28837,7 @@ this.boxSprite.spriteFrame = this.boxSfLsit[0];
|
|
|
};
|
|
|
e.prototype.updateScrollView = function(t) {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
-var e, a, o, n, i, r, c, l, u, d;
|
|
|
+var e, a, o, n, i, r, c, l, p, d;
|
|
|
return s(this, function(s) {
|
|
|
switch (s.label) {
|
|
|
case 0:
|
|
|
@@ -28867,9 +28866,9 @@ for (i = 0, r = t; i < r.length; i++) {
|
|
|
c = r[i];
|
|
|
if (++e > 5) break;
|
|
|
if (null == (l = c) || null == l) break;
|
|
|
-u = cc.instantiate(this.itemP);
|
|
|
-d = u.getComponent(p.default);
|
|
|
-u.parent = this.content;
|
|
|
+p = cc.instantiate(this.itemP);
|
|
|
+d = p.getComponent(u.default);
|
|
|
+p.parent = this.content;
|
|
|
d.init(l, o, this.clickItemEvent.bind(this), e);
|
|
|
}
|
|
|
return [ 2 ];
|
|
|
@@ -28971,7 +28970,7 @@ var a = gData.safeDepositBoxData.richBankCashAmount;
|
|
|
if (null != e && null != e) {
|
|
|
var o = e.money, n = Math.floor(o / 100) > 0 ? o / 100 + "" : (o / 100).toFixed(2);
|
|
|
if (a < o) mk.tip.pop("存款达到" + n + "元可提现哦"); else {
|
|
|
-var i = e.loginTimes;
|
|
|
+var i = gData.safeDepositBoxData.richBankTotelLoginDays;
|
|
|
this.tipLogin.string = "1、连续登陆" + i + "天";
|
|
|
this.tipPlayVideo.string = "2、每天观看指定数量的视频";
|
|
|
this.confirmMoneyLabel.string = Math.floor(e.money / 100) > 0 ? e.money / 100 + "元" : (e.money / 100).toFixed(2) + "元";
|
|
|
@@ -29028,7 +29027,7 @@ return [ 2 ];
|
|
|
e.prototype.updateBankTask = function() {
|
|
|
gData.safeDepositBoxData.richbankLoginDays = 1;
|
|
|
mk.storage.setStorage("bankTaskStartTime", Date.now());
|
|
|
-mk.storage.setStorage(l.StorageKey.richBankAddLoginDays, gData.safeDepositBoxData.richBankTotelLoginDays);
|
|
|
+mk.storage.setStorage(p.StorageKey.richBankAddLoginDays, gData.safeDepositBoxData.richBankTotelLoginDays);
|
|
|
this.initView(!0);
|
|
|
mk.data.sendDataEvent("Bank", "开始任务");
|
|
|
gData.safeDepositBoxData.freshQipao = !0;
|
|
|
@@ -29130,7 +29129,7 @@ if (e = a.sent()) if (0 == e.errcode) this.updateBankCash(e.data); else {
|
|
|
this.loadPart.active = !1;
|
|
|
if (405 == e.errcode) {
|
|
|
mk.tip.pop("今日提现额度已到上限,请明天再提现");
|
|
|
-mk.data.sendDataEvent(c.DataEventId.cashLimit, "提现触发上限");
|
|
|
+mk.data.sendDataEvent(l.DataEventId.cashLimit, "提现触发上限");
|
|
|
}
|
|
|
}
|
|
|
a.label = 3;
|
|
|
@@ -29149,6 +29148,7 @@ break;
|
|
|
}
|
|
|
var n = gData.safeDepositBoxData.getBankTaskIndexExtra();
|
|
|
gData.safeDepositBoxData.currentRichBankCashTaskIndex = t.currentRichBankCashTaskIndex;
|
|
|
+console.log("currentRichBankCashTaskIndex 222======== " + t.currentRichBankCashTaskIndex);
|
|
|
gData.safeDepositBoxData.richbankLoginDays = 1;
|
|
|
gData.safeDepositBoxData.richBankDailyVideoTimes = 0;
|
|
|
gData.safeDepositBoxData.isStartBankTask = 0;
|
|
|
@@ -29159,11 +29159,11 @@ mk.data.sendDataEvent("Bank", "银行-任务全部完成");
|
|
|
this.tixianSuccess(!0);
|
|
|
gData.receiptNotice.receip_rmb = n.money;
|
|
|
mk.ui.openPanel("module/newNotice/newNotice");
|
|
|
-cc.sys.localStorage.removeItem(l.StorageKey.richBankAddLoginDays);
|
|
|
+cc.sys.localStorage.removeItem(p.StorageKey.richBankAddLoginDays);
|
|
|
gData.safeDepositBoxData.updateQipao();
|
|
|
mk.data.setTAEventUser(1, "cash_time", 1);
|
|
|
mk.data.setTAEventUser(1, "cash_total", e);
|
|
|
-mk.data.sendDataEvent(c.DataEventId.Sundry, "富翁银行提现");
|
|
|
+mk.data.sendDataEvent(l.DataEventId.Sundry, "富翁银行提现");
|
|
|
};
|
|
|
e.prototype.tixianSuccess = function(t) {
|
|
|
this.loadPart.active = !1;
|
|
|
@@ -29229,9 +29229,9 @@ t.showCompleteNode();
|
|
|
}, .3);
|
|
|
}
|
|
|
if (a <= 1 && 0 == e) {
|
|
|
-var p = mk.storage.getStorage("showBankTaskRestart");
|
|
|
-console.log("1=======" + p);
|
|
|
-var u = this.checkSameDay(new Number(p).valueOf());
|
|
|
+var l = mk.storage.getStorage("showBankTaskRestart");
|
|
|
+console.log("1=======" + l);
|
|
|
+var u = this.checkSameDay(new Number(l).valueOf());
|
|
|
console.log("2=======" + u);
|
|
|
var d = mk.storage.getStorage("bankTaskStartTime");
|
|
|
console.log("3=======" + d);
|
|
|
@@ -29241,14 +29241,14 @@ u || h || this.scheduleOnce(function() {
|
|
|
t.showRestartTaskNode();
|
|
|
}, .3);
|
|
|
} else if (a > 1 && e == i) {
|
|
|
-var f = mk.storage.getStorage(l.StorageKey.richBankAddLoginDays);
|
|
|
+var f = mk.storage.getStorage(p.StorageKey.richBankAddLoginDays);
|
|
|
if (f) {
|
|
|
var y = parseInt(f);
|
|
|
if (y < gData.safeDepositBoxData.richBankTotelLoginDays) {
|
|
|
gData.gameData.richBankAddLoginDays = gData.safeDepositBoxData.richBankTotelLoginDays - y;
|
|
|
mk.ui.openPanel("module/newNotice/richBankWarmPrompt");
|
|
|
}
|
|
|
-mk.storage.setStorage(l.StorageKey.richBankAddLoginDays, gData.safeDepositBoxData.richBankTotelLoginDays);
|
|
|
+mk.storage.setStorage(p.StorageKey.richBankAddLoginDays, gData.safeDepositBoxData.richBankTotelLoginDays);
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
@@ -29290,49 +29290,60 @@ this.noPacketTip.active = !0;
|
|
|
var t = this.noPacketTip, e = t.x, a = t.y;
|
|
|
t.runAction(cc.repeatForever(cc.sequence(cc.moveTo(1.5, cc.v2(e, a - 5)), cc.moveTo(1.5, cc.v2(e - 5, a - 5)), cc.moveTo(1.2, cc.v2(e, a + 5)))));
|
|
|
};
|
|
|
-i([ h(cc.Node) ], e.prototype, "content", void 0);
|
|
|
-i([ h(cc.Label) ], e.prototype, "totalMoneyLabel", void 0);
|
|
|
-i([ h(cc.Label) ], e.prototype, "readyTixianLabel", void 0);
|
|
|
-i([ h(cc.Button) ], e.prototype, "readyTixianBtn", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "weitixianNode", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "tixianzhongNode", void 0);
|
|
|
-i([ h(cc.Label) ], e.prototype, "tixianzhongMoneyLabel", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "confirmTixianNode", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "saveNode", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "tixianTask", void 0);
|
|
|
-i([ h(cc.RichText) ], e.prototype, "loginProgress", void 0);
|
|
|
-i([ h(cc.RichText) ], e.prototype, "playVideoProgress", void 0);
|
|
|
-i([ h(cc.Label) ], e.prototype, "tipLogin", void 0);
|
|
|
-i([ h(cc.Label) ], e.prototype, "tipPlayVideo", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "safeBox", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "tipNode", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "completeNode", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "inCompleteNode", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "completeBtn", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "logDaysNode", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "videoTimesNode", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "saveSuccessNode", void 0);
|
|
|
-i([ h(cc.Label) ], e.prototype, "confirmMoneyLabel", void 0);
|
|
|
-i([ h([ cc.SpriteFrame ]) ], e.prototype, "boxSfLsit", void 0);
|
|
|
-i([ h(cc.Sprite) ], e.prototype, "boxSprite", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "ruleNode", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "boxNode", void 0);
|
|
|
-i([ h(sp.Skeleton) ], e.prototype, "openDraw", void 0);
|
|
|
-i([ h([ cc.Node ]) ], e.prototype, "taskStartNodeList", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "noPacketTip", void 0);
|
|
|
-i([ h(cc.Label) ], e.prototype, "labMoeny", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "cashPro", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "loadPart", void 0);
|
|
|
-i([ h(cc.Animation) ], e.prototype, "spot1", void 0);
|
|
|
-i([ h(cc.Label) ], e.prototype, "rulelabel", void 0);
|
|
|
-i([ h([ cc.SpriteFrame ]) ], e.prototype, "spriteFrameList", void 0);
|
|
|
-i([ h(cc.Node) ], e.prototype, "labRedCode", void 0);
|
|
|
-i([ h(cc.Label) ], e.prototype, "labDes", void 0);
|
|
|
-return i([ d ], e);
|
|
|
+e.prototype.clickCloseBtn = function() {
|
|
|
+if (gData.safeDepositBoxData.isTeach) {
|
|
|
+gData.safeDepositBoxData.isTeach = !1;
|
|
|
+var t = mk.storage.getStorage(p.StorageKey.isPopSet);
|
|
|
+if (!(t && "0" != t || c.default.getNotificationEnabled())) {
|
|
|
+mk.ui.openPanel("moudule/newNotice/permissionWarmPrompt");
|
|
|
+mk.storage.setStorage(p.StorageKey.isPopSet, "1");
|
|
|
+}
|
|
|
+}
|
|
|
+};
|
|
|
+i([ f(cc.Node) ], e.prototype, "content", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "totalMoneyLabel", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "readyTixianLabel", void 0);
|
|
|
+i([ f(cc.Button) ], e.prototype, "readyTixianBtn", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "weitixianNode", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "tixianzhongNode", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "tixianzhongMoneyLabel", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "confirmTixianNode", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "saveNode", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "tixianTask", void 0);
|
|
|
+i([ f(cc.RichText) ], e.prototype, "loginProgress", void 0);
|
|
|
+i([ f(cc.RichText) ], e.prototype, "playVideoProgress", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "tipLogin", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "tipPlayVideo", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "safeBox", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "tipNode", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "completeNode", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "inCompleteNode", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "completeBtn", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "logDaysNode", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "videoTimesNode", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "saveSuccessNode", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "confirmMoneyLabel", void 0);
|
|
|
+i([ f([ cc.SpriteFrame ]) ], e.prototype, "boxSfLsit", void 0);
|
|
|
+i([ f(cc.Sprite) ], e.prototype, "boxSprite", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "ruleNode", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "boxNode", void 0);
|
|
|
+i([ f(sp.Skeleton) ], e.prototype, "openDraw", void 0);
|
|
|
+i([ f([ cc.Node ]) ], e.prototype, "taskStartNodeList", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "noPacketTip", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "labMoeny", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "cashPro", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "loadPart", void 0);
|
|
|
+i([ f(cc.Animation) ], e.prototype, "spot1", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "rulelabel", void 0);
|
|
|
+i([ f([ cc.SpriteFrame ]) ], e.prototype, "spriteFrameList", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "labRedCode", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "labDes", void 0);
|
|
|
+return i([ h ], e);
|
|
|
}(cc.Component);
|
|
|
-a.default = f;
|
|
|
+a.default = y;
|
|
|
cc._RF.pop();
|
|
|
}, {
|
|
|
+"../../../mk/system/JsbSystem": "JsbSystem",
|
|
|
"../../data/GameData": "GameData",
|
|
|
"../../data/StorageData": "StorageData",
|
|
|
"./MoneySaveItem": "MoneySaveItem"
|