|
|
@@ -4750,11 +4750,24 @@ var s = t("../../../mk/system/JsbSystem"), l = t("../../component/SetGray"), p =
|
|
|
a(e, t);
|
|
|
function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
+e.txtBigNum = null;
|
|
|
+e.txtAddEft = null;
|
|
|
+e.txtTipAd = null;
|
|
|
+e.txtBigDelta = null;
|
|
|
+e.txtBigTask = null;
|
|
|
e.txtRemaindAdNum = null;
|
|
|
e.blassingBagItem = null;
|
|
|
e.itemContent = null;
|
|
|
+e.btnCash = null;
|
|
|
e.btnAd = null;
|
|
|
+e.aniBigAdBtn = null;
|
|
|
e.adIcon = null;
|
|
|
+e.aniBtnAd = null;
|
|
|
+e.rbOpenBtn = null;
|
|
|
+e.nodeRb = null;
|
|
|
+e.txtRbNum = null;
|
|
|
+e.testNode = null;
|
|
|
+e.inputBox = null;
|
|
|
e.node_xiabiao = null;
|
|
|
e.tableview = null;
|
|
|
e.video_btn = null;
|
|
|
@@ -4769,9 +4782,12 @@ e.curValue = 0;
|
|
|
e.curTime = 0;
|
|
|
e.totalTime = 0;
|
|
|
e.lastNum = 0;
|
|
|
+e.canOpen = !0;
|
|
|
return e;
|
|
|
}
|
|
|
-e.prototype.onLoad = function() {};
|
|
|
+e.prototype.onLoad = function() {
|
|
|
+this.testNode.active = 1 == gData.gameData.configs.ServerConfig.VideoRedBagEmpty;
|
|
|
+};
|
|
|
e.prototype.onEnable = function() {
|
|
|
this.isPlayAni = !1;
|
|
|
this.isPlayInitAni = !0;
|
|
|
@@ -4852,7 +4868,8 @@ console.log("---\x3eUpdate Time: " + t + " delta: " + this.delta + " curValue: "
|
|
|
this.isPlayAni = !0;
|
|
|
};
|
|
|
e.prototype.PlayMoneyAniUpdate = function(t) {
|
|
|
-if (this.isPlayAni) if (this.curTime < this.totalTime) {
|
|
|
+if (this.isPlayAni) {
|
|
|
+if (this.curTime < this.totalTime) {
|
|
|
this.curTime += t;
|
|
|
this.curValue += this.delta * t;
|
|
|
if (this.curValue >= this.targetProgress) {
|
|
|
@@ -4867,6 +4884,8 @@ this.curTime = this.totalTime;
|
|
|
this.curValue = this.targetProgress;
|
|
|
this.lastNum = this.targetProgress;
|
|
|
}
|
|
|
+this.txtBigNum.string = this.curValue.toFixed(2) + "元";
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.Click_AdProgressBtn = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
@@ -4922,6 +4941,31 @@ return [ 2 ];
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
+e.prototype.Click_CashOpenBtn = function() {
|
|
|
+return r(this, void 0, void 0, function() {
|
|
|
+var t = this;
|
|
|
+return c(this, function() {
|
|
|
+mk.audio.playEffect("button");
|
|
|
+if (!this.canOpen) return [ 2 ];
|
|
|
+this.canOpen = !1;
|
|
|
+if (1 == this.rbPanelType) ; else {
|
|
|
+this.rbOpenBtn.active = !1;
|
|
|
+this.aniBtnAd.node.active = !0;
|
|
|
+this.aniBtnAd.setCurrentTime(0);
|
|
|
+this.aniBtnAd.play();
|
|
|
+setTimeout(function() {
|
|
|
+t.aniBtnAd.stop();
|
|
|
+t.aniBtnAd.node.active = !1;
|
|
|
+t.rbOpenBtn.active = !0;
|
|
|
+t.nodeRb.active = !1;
|
|
|
+gData.blessingBag.HttpCashTask();
|
|
|
+t.canOpen = !0;
|
|
|
+}, 1e3);
|
|
|
+}
|
|
|
+return [ 2 ];
|
|
|
+});
|
|
|
+});
|
|
|
+};
|
|
|
e.prototype.clickHelpCallBack = function() {
|
|
|
gData.help.des = "1、观看大量视频可以快速增加提现进度。\n\n2、提现进度到100%,可以提现对应档位的红包。\n\n3、余额累计满一定金额,可以申请大额提现。";
|
|
|
};
|
|
|
@@ -4929,15 +4973,32 @@ e.prototype.Click_InitData = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
gData.blessingBag.HttpInitAdRbData();
|
|
|
};
|
|
|
+e.prototype.EditBox_End = function() {
|
|
|
+console.log("--\x3eInput:", this.inputBox.string);
|
|
|
+gData.blessingBag.adsource_id_value = this.inputBox.string;
|
|
|
+};
|
|
|
e.prototype.onClickClose = function() {};
|
|
|
e.prototype.onDisable = function() {
|
|
|
gData.adData.checkShowFullInter(4);
|
|
|
};
|
|
|
+i([ f(cc.Label) ], e.prototype, "txtBigNum", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "txtAddEft", void 0);
|
|
|
+i([ f(cc.RichText) ], e.prototype, "txtTipAd", void 0);
|
|
|
+i([ f(cc.RichText) ], e.prototype, "txtBigDelta", void 0);
|
|
|
+i([ f(cc.RichText) ], e.prototype, "txtBigTask", void 0);
|
|
|
i([ f(cc.RichText) ], e.prototype, "txtRemaindAdNum", void 0);
|
|
|
i([ f(cc.Prefab) ], e.prototype, "blassingBagItem", void 0);
|
|
|
i([ f(cc.Node) ], e.prototype, "itemContent", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "btnCash", void 0);
|
|
|
i([ f(cc.Node) ], e.prototype, "btnAd", void 0);
|
|
|
+i([ f(cc.Animation) ], e.prototype, "aniBigAdBtn", void 0);
|
|
|
i([ f(cc.Node) ], e.prototype, "adIcon", void 0);
|
|
|
+i([ f(cc.Animation) ], e.prototype, "aniBtnAd", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "rbOpenBtn", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "nodeRb", void 0);
|
|
|
+i([ f(cc.Label) ], e.prototype, "txtRbNum", void 0);
|
|
|
+i([ f(cc.Node) ], e.prototype, "testNode", void 0);
|
|
|
+i([ f(cc.EditBox) ], e.prototype, "inputBox", void 0);
|
|
|
i([ f(cc.Node) ], e.prototype, "node_xiabiao", void 0);
|
|
|
i([ f(p.default) ], e.prototype, "tableview", void 0);
|
|
|
i([ f(cc.Button) ], e.prototype, "video_btn", void 0);
|
|
|
@@ -11483,7 +11544,7 @@ Object.defineProperty(o, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
o.Fun = void 0;
|
|
|
-var n, a = t("./AppData"), i = t("./GameData"), r = t("./HttpData"), c = t("./LoginData"), s = t("./StorageData"), l = t("./WechatData"), p = t("./module/HelpData"), u = t("./module/TurnableData"), d = t("./module/SignData"), h = t("./module/FissionData"), f = t("./AdData"), y = t("./module/RewardData"), g = t("./module/CashNormalData"), m = t("./module/ReceiptNoticeData"), _ = t("./module/BlessingBagData"), v = t("./module/CashProData"), b = t("./module/RedBagCashData"), D = t("./module/RedCodeData"), w = t("./module/MoreGameData"), S = t("./module/SettingData"), A = t("./module/GuideData"), k = t("./module/GuideWeakData"), P = t("./ConfigData"), O = t("./module/NewCashUIData"), I = t("../../before/view/data/ADUnlockData"), T = t("../../before/view/data/PlantData"), R = t("../../before/main/FarmSystem"), C = t("../../before/view/data/HarvestData"), N = t("../../before/view/data/ADClearSickData"), x = t("../../before/main/PastureSystem"), F = t("../../before/main/FactorySystem"), M = t("./module/FarmMapData"), j = t("./module/GradeRewardData"), B = t("./module/WalletCashOutData"), L = t("./module/LineUpUIData"), E = function() {
|
|
|
+var n, a = t("./AppData"), i = t("./GameData"), r = t("./HttpData"), c = t("./LoginData"), s = t("./StorageData"), l = t("./WechatData"), p = t("./module/HelpData"), u = t("./module/TurnableData"), d = t("./module/SignData"), h = t("./module/FissionData"), f = t("./AdData"), y = t("./module/RewardData"), g = t("./module/CashNormalData"), m = t("./module/ReceiptNoticeData"), _ = t("./module/BlessingBagData"), v = t("./module/CashProData"), b = t("./module/RedBagCashData"), D = t("./module/RedCodeData"), w = t("./module/MoreGameData"), S = t("./module/SettingData"), A = t("./module/GuideData"), k = t("./module/GuideWeakData"), P = t("./ConfigData"), O = t("./module/NewCashUIData"), I = t("../../before/view/data/ADUnlockData"), T = t("../../before/view/data/PlantData"), R = t("../../before/main/FarmSystem"), C = t("../../before/view/data/HarvestData"), x = t("../../before/view/data/ADClearSickData"), N = t("../../before/main/PastureSystem"), F = t("../../before/main/FactorySystem"), M = t("./module/FarmMapData"), j = t("./module/GradeRewardData"), B = t("./module/WalletCashOutData"), E = t("./module/LineUpUIData"), L = function() {
|
|
|
function t() {
|
|
|
this.init();
|
|
|
}
|
|
|
@@ -11515,14 +11576,14 @@ this.newCashUiData = new O.NewCashUIData();
|
|
|
this.adUnlockData = new I.default();
|
|
|
this.plantData = new T.default();
|
|
|
this.harvestData = new C.default();
|
|
|
-this.adClearSickData = new N.default();
|
|
|
-this.pastureSystem = new x.default();
|
|
|
+this.adClearSickData = new x.default();
|
|
|
+this.pastureSystem = new N.default();
|
|
|
this.factorySystem = new F.default();
|
|
|
this.farmSystem = new R.FarmSystem();
|
|
|
this.farmMapData = new M.FarmMapData();
|
|
|
this.farmGradeData = new j.GradeRewardData();
|
|
|
this.walletCashOutData = new B.WalletCashOutData();
|
|
|
-this.lineUpUIData = new L.LineUpUIData();
|
|
|
+this.lineUpUIData = new E.LineUpUIData();
|
|
|
this.moduleData = new Map();
|
|
|
this.moduleData.set(n.moreGame, this.moreGame);
|
|
|
this.moduleData.set(n.turnable, this.turnable);
|
|
|
@@ -11543,7 +11604,7 @@ t[t.sign = 6] = "sign";
|
|
|
t[t.cashNormal = 7] = "cashNormal";
|
|
|
t[t.redBagCash = 8] = "redBagCash";
|
|
|
})(n = o.Fun || (o.Fun = {}));
|
|
|
-window.gData = new E();
|
|
|
+window.gData = new L();
|
|
|
cc._RF.pop();
|
|
|
}, {
|
|
|
"../../before/main/FactorySystem": "FactorySystem",
|