|
|
@@ -3009,41 +3009,42 @@ this.ecpmLevel = a;
|
|
|
};
|
|
|
t.prototype.checkShowFullInter = function(t, e) {
|
|
|
void 0 === e && (e = null);
|
|
|
-var a = 0;
|
|
|
+var a = 0, o = !0;
|
|
|
switch (t) {
|
|
|
case 1:
|
|
|
a = this.getPerByEcpm(r.RC_fullScreen);
|
|
|
-if (!(Math.random() < a)) return;
|
|
|
+if (!(o = Math.random() < a)) return o;
|
|
|
if (-1 == this.FullScreenAdArr.indexOf(this.ecpmLevel.toString())) return;
|
|
|
mk.ad.showInterAd(1, e);
|
|
|
break;
|
|
|
|
|
|
case 2:
|
|
|
a = this.getPerByEcpm(r.RC_tableScreen);
|
|
|
-if (!(Math.random() < a)) return;
|
|
|
-var o = gData.gameData.configs.ServerConfig.AdDelay.split(","), n = parseFloat(o[0]), i = 1e3 * (n + (parseFloat(o[1]) - n) * Math.random());
|
|
|
+if (!(o = Math.random() < a)) return o;
|
|
|
+var n = gData.gameData.configs.ServerConfig.AdDelay.split(","), i = parseFloat(n[0]), s = 1e3 * (i + (parseFloat(n[1]) - i) * Math.random());
|
|
|
setTimeout(function() {
|
|
|
mk.ad.showInterAd(2, e);
|
|
|
-}, i);
|
|
|
+}, s);
|
|
|
break;
|
|
|
|
|
|
case 3:
|
|
|
a = this.getPerByEcpm(r.RC_tableScreen);
|
|
|
-if (!(Math.random() < a)) return;
|
|
|
-var s = gData.gameData.configs.ServerConfig.AdDelay.split(","), c = parseFloat(s[0]), l = parseFloat(s[1]), p = 1e3 * (c + (l - c) * Math.random()), u = 1e3 * (c + (l - c) * Math.random());
|
|
|
+if (!(o = Math.random() < a)) return o;
|
|
|
+var c = gData.gameData.configs.ServerConfig.AdDelay.split(","), l = parseFloat(c[0]), p = parseFloat(c[1]), u = 1e3 * (l + (p - l) * Math.random()), d = 1e3 * (l + (p - l) * Math.random());
|
|
|
setTimeout(function() {
|
|
|
mk.ad.showInterAd(0, e);
|
|
|
setTimeout(function() {
|
|
|
mk.ad.showInterAd(2, e);
|
|
|
+}, d);
|
|
|
}, u);
|
|
|
-}, p);
|
|
|
break;
|
|
|
|
|
|
case 4:
|
|
|
a = this.getPerByEcpm(r.RC_moreGameRedBag);
|
|
|
-if (!(Math.random() < a)) return;
|
|
|
+if (!(o = Math.random() < a)) return o;
|
|
|
gData.moreGame.popNewOpenRedBag();
|
|
|
}
|
|
|
+return o;
|
|
|
};
|
|
|
t.prototype.checkPopInter = function(t) {
|
|
|
if (-1 != this.ABCInsertAdArr.indexOf(this.ecpmLevel.toString())) {
|
|
|
@@ -5682,8 +5683,10 @@ gData.blessingBag.HttpInitAdRbData();
|
|
|
};
|
|
|
e.prototype.onClickClose = function() {};
|
|
|
e.prototype.onDisable = function() {
|
|
|
-gData.adData.checkShowFullInter(4);
|
|
|
+if (gData.adData.checkShowFullInter(4)) {
|
|
|
+gData.moreGame.openType = 2;
|
|
|
mk.data.sendDataEvent(p.DataEventId.htRedBag_scene, "关闭福利界面");
|
|
|
+}
|
|
|
};
|
|
|
i([ h(cc.RichText) ], e.prototype, "txtRemaindAdNum", void 0);
|
|
|
i([ h(cc.Prefab) ], e.prototype, "blassingBagItem", void 0);
|
|
|
@@ -13179,6 +13182,7 @@ this.prohibitProductionAd = [];
|
|
|
this.productionAdMaxTimes = 20;
|
|
|
this.popTipCallBack = null;
|
|
|
this.orderAinFinishNum = 0;
|
|
|
+this.welfareOpenLimit = 0;
|
|
|
this._farmMapRewardData = [];
|
|
|
this._cashOutTimes = 0;
|
|
|
this._farmData = [];
|
|
|
@@ -13256,6 +13260,7 @@ gData.gameData.shareDes = this.configs.ServerConfig.shareDes;
|
|
|
gData.gameData.shareImgUrl = this.configs.ServerConfig.shareImgUrl;
|
|
|
gData.gameData.RawInsectArr = this.configs.ServerConfig.RawInsect.split(",");
|
|
|
gData.safeDepositBoxData.richBankConfig = this.configs.BankTask;
|
|
|
+gData.gameData.welfareOpenLimit = parseInt(this.configs.ServerConfig.welfareOpen);
|
|
|
};
|
|
|
t.prototype.initPlayerProp = function(t) {
|
|
|
this.playerProp = new f();
|
|
|
@@ -13344,7 +13349,9 @@ t.prototype.setOrderAniFinishNum = function() {
|
|
|
++this.orderAinFinishNum;
|
|
|
if (this.orderAinFinishNum >= 3) {
|
|
|
this.orderAinFinishNum = 0;
|
|
|
+setTimeout(function() {
|
|
|
mk.event.emit("flyOrderAni");
|
|
|
+}, 500);
|
|
|
}
|
|
|
};
|
|
|
t.prototype.setProp = function(t, e) {
|
|
|
@@ -14606,7 +14613,7 @@ t.realName = "realName";
|
|
|
t.offlineProductTimes = "offlineProductTimes";
|
|
|
t.cashLimit = "cashLimit";
|
|
|
t.htRedBag_scene = "htRedBag_scene";
|
|
|
-t.htRedBag_second = "htRedBag_second";
|
|
|
+t.htRedBag_eject = "htRedBag_eject";
|
|
|
})(a.DataEventId || (a.DataEventId = {}));
|
|
|
(function(t) {
|
|
|
t.video_init_1 = "农场加等级经验";
|
|
|
@@ -15048,6 +15055,9 @@ e.ani_add4 = null;
|
|
|
e.lbl_addRedMoney = null;
|
|
|
e.node_orderHb = null;
|
|
|
e.node_extraOrderUi = null;
|
|
|
+e.node_bgUi = null;
|
|
|
+e.node_crop = [];
|
|
|
+e.node_orderHbIcon = null;
|
|
|
e.posY = 0;
|
|
|
e.lastTimeSpan = 0;
|
|
|
e.span = 0;
|
|
|
@@ -15061,6 +15071,7 @@ e.btnCD = 0;
|
|
|
e.startTimes = !1;
|
|
|
e.orderPicIdArray = [];
|
|
|
e.isGray = !0;
|
|
|
+e.isStopFarm = !1;
|
|
|
return e;
|
|
|
}
|
|
|
e.prototype.onLoad = function() {
|
|
|
@@ -15307,7 +15318,10 @@ e.prototype.onClickHuTui = function() {
|
|
|
mk.data.sendDataEvent(d.DataEventId.button_click, "互推icon");
|
|
|
};
|
|
|
e.prototype.onClickFuli = function() {
|
|
|
+if (gData.gameData.playerProp.orderData.overTimes >= gData.gameData.welfareOpenLimit) {
|
|
|
+mk.ui.openPanel("module/blessingBag/blessingBag");
|
|
|
mk.data.sendDataEvent(d.DataEventId.button_click, "福利icon");
|
|
|
+} else mk.tip.pop("订单提现" + gData.gameData.welfareOpenLimit + "次后开启");
|
|
|
};
|
|
|
e.prototype.onClickQipaoRedBag = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
@@ -15701,7 +15715,8 @@ e = "制作";
|
|
|
}
|
|
|
return e;
|
|
|
};
|
|
|
-e.prototype.initOrderUI = function() {
|
|
|
+e.prototype.initOrderUI = function(t) {
|
|
|
+void 0 === t && (t = !0);
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
var t, e, a, o, n, i, r, c, l;
|
|
|
return s(this, function(s) {
|
|
|
@@ -15806,9 +15821,14 @@ return [ 2, null ];
|
|
|
}
|
|
|
a = gData.gameData.playerProp.orderData.cashMoney;
|
|
|
gData.gameData.playerProp.orderData = e.data.userOrderTaskInfo;
|
|
|
-gData.cashPro.callBack = this.getRewardCallBack;
|
|
|
+gData.cashPro.callBack = this.getRewardCallBack.bind(this);
|
|
|
gData.receiptNotice.receip_rmb = a;
|
|
|
mk.ui.openPanel("module/newNotice/newNotice");
|
|
|
+this.node_crop.forEach(function(t) {
|
|
|
+t.active = !1;
|
|
|
+});
|
|
|
+this.node_orderHbIcon.active = !1;
|
|
|
+this.node_getOrderReward.node.active = !1;
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|
|
|
@@ -15816,12 +15836,30 @@ return [ 2 ];
|
|
|
};
|
|
|
e.prototype.getRewardCallBack = function() {
|
|
|
this.node_extraOrderUi.active = !0;
|
|
|
+this.node_bgUi.scale = 0;
|
|
|
+cc.tween(this.node_bgUi).to(.4, {
|
|
|
+scale: 1.4
|
|
|
+}).start();
|
|
|
+if ("1" == gData.gameData.funOpenData[1]) {
|
|
|
+gData.gameData.funOpenData[1] = "0";
|
|
|
+this.isStopFarm = !0;
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.showRefreshLogic = function() {
|
|
|
+this.node_crop.forEach(function(t) {
|
|
|
+t.active = !0;
|
|
|
+});
|
|
|
+this.node_orderHbIcon.active = !0;
|
|
|
+this.node_getOrderReward.node.active = !0;
|
|
|
this.initOrderUI();
|
|
|
+this.showTips();
|
|
|
gData.gameData.init_order = !0;
|
|
|
gData.gameData.checkTaskFinishUnLock();
|
|
|
gData.safeDepositBoxData.updateQipao();
|
|
|
+if (this.isStopFarm) {
|
|
|
+this.isStopFarm = !1;
|
|
|
+gData.gameData.funOpenData[1] = "1";
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.showTips = function() {
|
|
|
mk.tip.pop("提现成功,订单已刷新");
|
|
|
@@ -15938,7 +15976,6 @@ var e, a;
|
|
|
return s(this, function(o) {
|
|
|
switch (o.label) {
|
|
|
case 0:
|
|
|
-console.log("-=-=-=-=-=-=-=1");
|
|
|
e = {
|
|
|
id: t
|
|
|
};
|
|
|
@@ -15946,7 +15983,6 @@ return [ 4, mk.http.sendData("orderTask/updateUserOrderTaskInfo", e) ];
|
|
|
|
|
|
case 1:
|
|
|
if (0 != (a = o.sent()).errcode) return [ 2, null ];
|
|
|
-console.log("-=-=-=-=-=-=-=2");
|
|
|
gData.gameData.playerProp.orderData = a.data.userOrderTaskInfo;
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
@@ -16135,6 +16171,18 @@ i([ y({
|
|
|
displayName: "额外订单ui节点",
|
|
|
type: cc.Node
|
|
|
}) ], e.prototype, "node_extraOrderUi", void 0);
|
|
|
+i([ y({
|
|
|
+displayName: "额外订单背景节点",
|
|
|
+type: cc.Node
|
|
|
+}) ], e.prototype, "node_bgUi", void 0);
|
|
|
+i([ y({
|
|
|
+displayName: "订单显示",
|
|
|
+type: cc.Node
|
|
|
+}) ], e.prototype, "node_crop", void 0);
|
|
|
+i([ y({
|
|
|
+displayName: "订单红包",
|
|
|
+type: cc.Node
|
|
|
+}) ], e.prototype, "node_orderHbIcon", void 0);
|
|
|
return i([ f ], e);
|
|
|
}(cc.Component);
|
|
|
a.default = m;
|
|
|
@@ -16848,8 +16896,10 @@ e.prototype.clickCloseBtn = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
};
|
|
|
e.prototype.onDisable = function() {
|
|
|
-gData.adData.checkShowFullInter(4);
|
|
|
+if (gData.adData.checkShowFullInter(4)) {
|
|
|
+gData.moreGame.openType = 3;
|
|
|
mk.data.sendDataEvent(r.DataEventId.htRedBag_scene, "关闭农场等级奖励界面");
|
|
|
+}
|
|
|
};
|
|
|
i([ p({
|
|
|
displayName: "进度条",
|
|
|
@@ -17973,8 +18023,8 @@ gData.reward.getReward(c);
|
|
|
s.label = 5;
|
|
|
|
|
|
case 5:
|
|
|
-if (!mk.guide.isGuiding()) {
|
|
|
-gData.adData.checkShowFullInter(4);
|
|
|
+if (!mk.guide.isGuiding() && gData.adData.checkShowFullInter(4)) {
|
|
|
+gData.moreGame.openType = 0;
|
|
|
mk.data.sendDataEvent(l.DataEventId.htRedBag_scene, "点击可收获");
|
|
|
}
|
|
|
return [ 2 ];
|
|
|
@@ -18217,8 +18267,10 @@ return [ 2 ];
|
|
|
};
|
|
|
e.prototype.onEnable = function() {
|
|
|
mk.ad.showNative();
|
|
|
-gData.adData.checkShowFullInter(4);
|
|
|
+if (gData.adData.checkShowFullInter(4)) {
|
|
|
+gData.moreGame.openType = 0;
|
|
|
mk.data.sendDataEvent(l.DataEventId.htRedBag_scene, "点击可收获");
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.onDisable = function() {
|
|
|
mk.ad.destroyNativeAd();
|
|
|
@@ -18470,7 +18522,7 @@ e.sp_icon_1 = null;
|
|
|
e.sp_icon_2 = null;
|
|
|
e.delayTime = 0;
|
|
|
e.distance = 97;
|
|
|
-e.speed = 5;
|
|
|
+e.curSpeed = 5;
|
|
|
e.refreshTimes = 5;
|
|
|
e.maxShowTimes = 10;
|
|
|
e.index = 0;
|
|
|
@@ -18478,6 +18530,7 @@ e.node_fly = null;
|
|
|
e.node_des = null;
|
|
|
e.node_hide = null;
|
|
|
e.callBack = null;
|
|
|
+e.node_describ = null;
|
|
|
e.node_icon_1 = null;
|
|
|
e.node_icon_2 = null;
|
|
|
e.iconPath = "game/coregame/texture/plant_icons/plantIcon_";
|
|
|
@@ -18489,7 +18542,9 @@ e.isFinish = !1;
|
|
|
e.slowSpeedRefreshTimes = 0;
|
|
|
e.randArr = [];
|
|
|
e.curRand = -1;
|
|
|
-e.sss = 0;
|
|
|
+e.speed = 0;
|
|
|
+e.sss = 6;
|
|
|
+e.isDoAct = !1;
|
|
|
e.tests = 0;
|
|
|
return e;
|
|
|
}
|
|
|
@@ -18500,6 +18555,7 @@ this.node_icon_2.setPosition(new cc.Vec2(0, this.distance));
|
|
|
this.delayTime = Math.floor(60 * this.delayTime);
|
|
|
this.arrData = gData.gameData.getProductArrByType(c.ProductType.nzw);
|
|
|
this.delay = this.delayTime;
|
|
|
+this.speed = this.curSpeed;
|
|
|
for (var t = 0; t != this.arrData.length; ++t) this.randArr.push(t);
|
|
|
mk.event.register("flyOrderAni", this.doFlyAni.bind(this), this);
|
|
|
};
|
|
|
@@ -18509,15 +18565,23 @@ this.realyPicture = e[a.Id - 1].picture;
|
|
|
};
|
|
|
e.prototype.update = function() {
|
|
|
if (this.delay <= 0 && !this.isFinish) {
|
|
|
+if (!this.isDoAct && this.node_describ) {
|
|
|
+this.isDoAct = !0;
|
|
|
+cc.tween(this.node_describ).to(.3, {
|
|
|
+scale: 1.4
|
|
|
+}).to(.3, {
|
|
|
+scale: 1
|
|
|
+}).start();
|
|
|
+}
|
|
|
this.node_icon_1.setPosition(new cc.Vec2(0, this.node_icon_1.position.y - this.speed));
|
|
|
if (this.node_icon_1.position.y <= -this.distance) {
|
|
|
++this.times;
|
|
|
-if (this.times > this.maxShowTimes) if (3 != this.speed) {
|
|
|
+if (this.times > this.maxShowTimes) if (4 != this.speed) {
|
|
|
++this.sss;
|
|
|
-var t = 2 + .1 * this.sss;
|
|
|
+var t = 2 + .4 * this.sss;
|
|
|
this.speed -= t;
|
|
|
-if (this.speed < 3) {
|
|
|
-this.speed = 2;
|
|
|
+if (this.speed < 4) {
|
|
|
+this.speed = 4;
|
|
|
++this.slowSpeedRefreshTimes;
|
|
|
}
|
|
|
} else ++this.slowSpeedRefreshTimes;
|
|
|
@@ -18557,10 +18621,7 @@ this.randArr.splice(o, 1);
|
|
|
n = this.arrData[o].picture;
|
|
|
-1 != this.curRand && this.randArr.push(this.curRand);
|
|
|
this.curRand = o;
|
|
|
-if (0 == this.index) {
|
|
|
-++this.tests;
|
|
|
-console.log("=====" + this.tests + "====" + o);
|
|
|
-}
|
|
|
+0 == this.index && ++this.tests;
|
|
|
if (1 != t) return [ 3, 4 ];
|
|
|
i = this.sp_icon_1;
|
|
|
return [ 4, mk.loader.load(this.iconPath + n, cc.SpriteFrame) ];
|
|
|
@@ -18585,18 +18646,32 @@ return [ 2 ];
|
|
|
};
|
|
|
e.prototype.doFlyAni = function() {
|
|
|
var t = this;
|
|
|
-this.node_hide && (this.node_hide.active = !1);
|
|
|
-var e = cc.instantiate(this.sp_icon_1.node);
|
|
|
-e.setScale(.32);
|
|
|
-e.parent = this.node_fly;
|
|
|
-var a = this.sp_icon_1.node.parent.convertToWorldSpaceAR(cc.Vec2.ZERO), o = this.node_fly.convertToNodeSpaceAR(a);
|
|
|
-e.setPosition(o);
|
|
|
-a = this.node_des.parent.convertToWorldSpaceAR(this.node_des.getPosition());
|
|
|
-o = this.node_fly.convertToNodeSpaceAR(a);
|
|
|
-cc.tween(e).to(.6, {
|
|
|
-position: cc.v3(o)
|
|
|
+this.node_hide && cc.tween(this.node_hide).delay(.3).call(function() {
|
|
|
+t.node_hide.active = !1;
|
|
|
+}).start();
|
|
|
+for (var e = this.sp_icon_1.node.parent.convertToWorldSpaceAR(cc.Vec2.ZERO), a = this.node_fly.convertToNodeSpaceAR(e), o = this.node_des.parent.convertToWorldSpaceAR(this.node_des.getPosition()), n = this.node_fly.convertToNodeSpaceAR(o), i = function(e) {
|
|
|
+var o = cc.instantiate(r.sp_icon_1.node);
|
|
|
+o.setScale(.32);
|
|
|
+o.parent = r.node_fly;
|
|
|
+o.angle = mk.math.random(-45, 45, !1);
|
|
|
+var i = cc.v2(mk.math.random(-1, 1, !1), mk.math.random(-1, 1, !1));
|
|
|
+i = i.normalize();
|
|
|
+var s = cc.v2(mk.math.random(10, 100, !1) * i.x, mk.math.random(10, 100, !1) * i.y);
|
|
|
+o.setPosition(a);
|
|
|
+var c = a.add(s);
|
|
|
+cc.tween(o).to(.2, {
|
|
|
+position: cc.v3(c)
|
|
|
+}).call(function() {
|
|
|
+t.moveFly(o, e, n);
|
|
|
+}).start();
|
|
|
+}, r = this, s = 0; 4 != s; ++s) i(s);
|
|
|
+};
|
|
|
+e.prototype.moveFly = function(t, e, a) {
|
|
|
+var o = this;
|
|
|
+cc.tween(t).to(.6 + .1 * e, {
|
|
|
+position: cc.v3(a)
|
|
|
}).removeSelf().call(function() {
|
|
|
-t.callBack && t.callBack.emit(null);
|
|
|
+0 == e && o.callBack && o.callBack.emit(null);
|
|
|
}).start();
|
|
|
};
|
|
|
e.prototype.onDisable = function() {
|
|
|
@@ -18605,6 +18680,9 @@ this.isFinish = !1;
|
|
|
this.slowSpeedRefreshTimes = 0;
|
|
|
this.curRand = -1;
|
|
|
this.times = 0;
|
|
|
+this.speed = this.curSpeed;
|
|
|
+this.sss = 6;
|
|
|
+this.isDoAct = !1;
|
|
|
};
|
|
|
i([ u({
|
|
|
displayName: "图片节点1",
|
|
|
@@ -18622,7 +18700,7 @@ displayName: "1与2的之间的距离"
|
|
|
}) ], e.prototype, "distance", void 0);
|
|
|
i([ u({
|
|
|
displayName: "速率"
|
|
|
-}) ], e.prototype, "speed", void 0);
|
|
|
+}) ], e.prototype, "curSpeed", void 0);
|
|
|
i([ u({
|
|
|
displayName: "刷新次数"
|
|
|
}) ], e.prototype, "refreshTimes", void 0);
|
|
|
@@ -18648,6 +18726,10 @@ i([ u({
|
|
|
displayName: "回调",
|
|
|
type: cc.Component.EventHandler
|
|
|
}) ], e.prototype, "callBack", void 0);
|
|
|
+i([ u({
|
|
|
+displayName: "文字节点",
|
|
|
+type: cc.Node
|
|
|
+}) ], e.prototype, "node_describ", void 0);
|
|
|
return i([ p ], e);
|
|
|
}(cc.Component);
|
|
|
a.default = d;
|
|
|
@@ -18891,7 +18973,7 @@ value: !0
|
|
|
a.ServerUrl = a.HttpData = void 0;
|
|
|
var o, n = function() {
|
|
|
function t() {
|
|
|
-this.serverType = 0;
|
|
|
+this.serverType = 1;
|
|
|
}
|
|
|
t.prototype.getServerUrl = function() {
|
|
|
switch (this.serverType) {
|
|
|
@@ -20236,7 +20318,7 @@ value: !0
|
|
|
a.LogTagColor = void 0;
|
|
|
var n, i = function() {
|
|
|
function t() {
|
|
|
-this.ifShowLog = !0;
|
|
|
+this.ifShowLog = !1;
|
|
|
this._tagChar = "...";
|
|
|
this._frontChar = " ";
|
|
|
this._keyValueChar = " = ";
|
|
|
@@ -22494,6 +22576,7 @@ var e = null !== t && t.apply(this, arguments) || this;
|
|
|
e._moreGameList = null;
|
|
|
e.init_moreGameList = !1;
|
|
|
e.init_newOpenRedBag = !1;
|
|
|
+e.openType = -1;
|
|
|
e.testData = {
|
|
|
normal: [ {
|
|
|
nebulaAppId: "wxd2e694c55d457ded",
|
|
|
@@ -23407,6 +23490,9 @@ return e;
|
|
|
}
|
|
|
e.prototype.onLoad = function() {};
|
|
|
e.prototype.start = function() {};
|
|
|
+e.prototype.onEnable = function() {
|
|
|
+mk.ad.showNative();
|
|
|
+};
|
|
|
e.prototype.update = function() {
|
|
|
if (gData.receiptNotice.init_style) {
|
|
|
gData.receiptNotice.init_style = !1;
|
|
|
@@ -23421,6 +23507,7 @@ e.prototype.clickCloseBtn = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
gData.cashPro.openCashPro(gData.receiptNotice.receip_rmb);
|
|
|
gData.cashPro.init_success = !0;
|
|
|
+mk.ad.destroyNativeAd();
|
|
|
};
|
|
|
i([ c({
|
|
|
displayName: "提现金额",
|
|
|
@@ -23604,7 +23691,6 @@ mk.event.register("refreshCoin", this.initCashOutStyle.bind(this), this);
|
|
|
};
|
|
|
e.prototype.showElectUI = function() {
|
|
|
this.sendRecommendList();
|
|
|
-mk.data.sendDataEvent(u.DataEventId.htRedBag_second, "互推红包弹出次数");
|
|
|
};
|
|
|
e.prototype.sendRecommendList = function() {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
@@ -23678,7 +23764,23 @@ mk.audio.playEffect("button");
|
|
|
mk.ui.closePanel(this.name);
|
|
|
if (this.sp_icon.node.active) {
|
|
|
this.creatorDownLoadTask();
|
|
|
-mk.data.sendDataEvent(u.DataEventId.htRedBag_second, "互推红包领取次数");
|
|
|
+switch (gData.moreGame.openType) {
|
|
|
+case 0:
|
|
|
+mk.data.sendDataEvent(u.DataEventId.htRedBag_eject, "点击可收获-领取");
|
|
|
+break;
|
|
|
+
|
|
|
+case 1:
|
|
|
+mk.data.sendDataEvent(u.DataEventId.htRedBag_eject, "关闭提现界面-领取");
|
|
|
+break;
|
|
|
+
|
|
|
+case 2:
|
|
|
+mk.data.sendDataEvent(u.DataEventId.htRedBag_eject, "关闭福利界面-领取");
|
|
|
+break;
|
|
|
+
|
|
|
+case 3:
|
|
|
+mk.data.sendDataEvent(u.DataEventId.htRedBag_eject, "关闭农场等级奖励界面-领取");
|
|
|
+}
|
|
|
+gData.moreGame.openType = -1;
|
|
|
} else mk.ad.watchAd(function(e) {
|
|
|
return r(t, void 0, void 0, function() {
|
|
|
return s(this, function(t) {
|
|
|
@@ -29773,7 +29875,6 @@ mk.data.sendDataEvent(l.DataEventId.cashLimit, "提现触发上限");
|
|
|
}
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
-0 == a.CashMode || a.CashMode;
|
|
|
gData.gameData.addCashOutTimes();
|
|
|
o = Math.round(100 * e.videoRedMoney.videoRewardList[0].rewardNum);
|
|
|
gData.receiptNotice.receip_rmb = o;
|
|
|
@@ -34615,8 +34716,10 @@ e.prototype.clickCloseBtn = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
};
|
|
|
e.prototype.onDisable = function() {
|
|
|
-gData.adData.checkShowFullInter(4);
|
|
|
+if (gData.adData.checkShowFullInter(4)) {
|
|
|
+gData.moreGame.openType = 1;
|
|
|
mk.data.sendDataEvent(l.DataEventId.htRedBag_scene, "关闭提现界面");
|
|
|
+}
|
|
|
};
|
|
|
i([ h({
|
|
|
displayName: "公告组件",
|