|
|
@@ -4231,6 +4231,7 @@ case 1:
|
|
|
if (0 != (e = o.sent()).errcode) return [ 2 ];
|
|
|
this.isPlayAniUpdate = !0;
|
|
|
this.videoRbData = e.data.userWelFareTaskInfo;
|
|
|
+mk.tip.pop("已增加所有的提现进度");
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|
|
|
@@ -4460,6 +4461,7 @@ e.slider = null;
|
|
|
e.btnCashed = null;
|
|
|
e.btnCanCash = null;
|
|
|
e.btnNoFinish = null;
|
|
|
+e.ani_fadeUp = null;
|
|
|
e.data = null;
|
|
|
e.lastNum = 0;
|
|
|
e.totalTime = 0;
|
|
|
@@ -4468,11 +4470,13 @@ e.delta = 0;
|
|
|
e.curValue = 0;
|
|
|
e.curTime = 0;
|
|
|
e.isPlayAni = !1;
|
|
|
+e.isInit = !0;
|
|
|
return e;
|
|
|
}
|
|
|
e.prototype.setItemData = function(t) {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
return c(this, function() {
|
|
|
+this.ani_fadeUp.opacity = 0;
|
|
|
this.Init(t.data, t.isPlayAniUpdate, t.isPlayInitAni);
|
|
|
return [ 2 ];
|
|
|
});
|
|
|
@@ -4561,6 +4565,21 @@ this.txtSlider.string = this.curValue.toFixed(2) + "%";
|
|
|
this.slider.fillRange = .01 * this.curValue;
|
|
|
}
|
|
|
};
|
|
|
+e.prototype.doAni = function() {
|
|
|
+if (this.isInit) this.isInit = !1; else {
|
|
|
+var t = 100 * this.data.progressRate - this.lastNum;
|
|
|
+if (t > 0) {
|
|
|
+this.ani_fadeUp.scale = 0;
|
|
|
+this.ani_fadeUp.opacity = 255;
|
|
|
+cc.tween(this.ani_fadeUp).to(.2, {
|
|
|
+scale: 1
|
|
|
+}).delay(.6).to(.2, {
|
|
|
+opacity: 0
|
|
|
+}).start();
|
|
|
+this.ani_fadeUp.getComponent(cc.Label).string = "+" + t.toFixed(1);
|
|
|
+}
|
|
|
+}
|
|
|
+};
|
|
|
e.prototype.OnExit = function() {
|
|
|
this.txtSlider.string = "0.00%";
|
|
|
this.slider.fillRange = 0;
|
|
|
@@ -4587,6 +4606,7 @@ i([ p(cc.Sprite) ], e.prototype, "slider", void 0);
|
|
|
i([ p(cc.Node) ], e.prototype, "btnCashed", void 0);
|
|
|
i([ p(cc.Node) ], e.prototype, "btnCanCash", void 0);
|
|
|
i([ p(cc.Node) ], e.prototype, "btnNoFinish", void 0);
|
|
|
+i([ p(cc.Node) ], e.prototype, "ani_fadeUp", void 0);
|
|
|
return i([ l ], e);
|
|
|
}(cc.Component);
|
|
|
o.default = u;
|
|
|
@@ -9675,7 +9695,7 @@ gData.farmMapData.setChooseType(c.ProductType.nzw);
|
|
|
var e = gData.gameData.getProductArrByType(c.ProductType.nzw);
|
|
|
this.scroll_view.node.emit("srollview-init", e);
|
|
|
this.scroll_view.vertical = !1;
|
|
|
-cc.tween(this.node).delay(.1).call(function() {
|
|
|
+cc.tween(this.node).delay(.06).call(function() {
|
|
|
for (var e = t.tableview.getFrontPositionItemByCount(5), o = 0; o != e.length; ++o) {
|
|
|
e[o].x = 600;
|
|
|
cc.tween(e[o]).delay(.1 * o + .2).to(.3, {
|
|
|
@@ -9697,10 +9717,10 @@ for (var n = gData.gameData.getProductArrByType(c.ProductType[e]), a = !1, i = 0
|
|
|
a = !0;
|
|
|
break;
|
|
|
}
|
|
|
-this.itemName[t].setShowUIState(!1, a);
|
|
|
+this.itemName[t].setShowUIState(!1, a, c.ProductType[e]);
|
|
|
} else {
|
|
|
this.itemName[t].toggle.interactable = !1;
|
|
|
-this.itemName[t].setShowUIState(!0, !1);
|
|
|
+this.itemName[t].setShowUIState(!0, !1, c.ProductType[e]);
|
|
|
}
|
|
|
++t;
|
|
|
}
|
|
|
@@ -10065,7 +10085,7 @@ return e;
|
|
|
}
|
|
|
e.prototype.start = function() {
|
|
|
this.clips = this.animation.getClips();
|
|
|
-this.refreshTime = gData.gameData.configs.ServerConfig.AutoTime;
|
|
|
+this.refreshTime = gData.gameData.configs.ServerConfig.AutoTime + 5;
|
|
|
};
|
|
|
e.prototype.update = function(t) {
|
|
|
this.walk.curTargetPoint && this.walk.curTargetPoint.x > this.node.position.x ? this.node.setScale(cc.v3(-1, 1, 1)) : this.node.setScale(cc.v3(1, 1, 1));
|
|
|
@@ -12192,28 +12212,27 @@ return [ 2, t ];
|
|
|
t.prototype.updateNewTaskProgress = function(t) {
|
|
|
void 0 === t && (t = !1);
|
|
|
return n(this, void 0, void 0, function() {
|
|
|
-var e, o, n, i;
|
|
|
+var t, e, o, n;
|
|
|
return a(this, function(a) {
|
|
|
switch (a.label) {
|
|
|
case 0:
|
|
|
if (this.playerProp.userFarmTaskInfo) {
|
|
|
-e = this.playerProp.userFarmTaskInfo.completeCount;
|
|
|
-o = this.playerProp.userFarmTaskInfo.taskCount;
|
|
|
-if (e >= o) return [ 2, !1 ];
|
|
|
+t = this.playerProp.userFarmTaskInfo.completeCount;
|
|
|
+e = this.playerProp.userFarmTaskInfo.taskCount;
|
|
|
+if (t >= e) return [ 2, !1 ];
|
|
|
}
|
|
|
-n = {};
|
|
|
-return [ 4, mk.http.sendData("farmTask/updateUserFarmTaskInfo", n) ];
|
|
|
+o = {};
|
|
|
+return [ 4, mk.http.sendData("farmTask/updateUserFarmTaskInfo", o) ];
|
|
|
|
|
|
case 1:
|
|
|
-i = a.sent();
|
|
|
-mk.console.logSingle("refrehTask=>", i);
|
|
|
-if (0 != i.errcode) return [ 2, !1 ];
|
|
|
-this.playerProp.userFarmTaskInfo = i.data.userFarmTaskInfo;
|
|
|
+n = a.sent();
|
|
|
+mk.console.logSingle("refrehTask=>", n);
|
|
|
+if (0 != n.errcode) return [ 2, !1 ];
|
|
|
+this.playerProp.userFarmTaskInfo = n.data.userFarmTaskInfo;
|
|
|
if (this.playerProp.userFarmTaskInfo.completeCount >= this.playerProp.userFarmTaskInfo.taskCount) {
|
|
|
mk.ui.closeAllUI();
|
|
|
-mk.guide.open(5);
|
|
|
+mk.guide.open(3);
|
|
|
}
|
|
|
-t && (gData.gameData.init_task = !0);
|
|
|
return [ 2, !0 ];
|
|
|
}
|
|
|
});
|
|
|
@@ -13159,6 +13178,7 @@ e.sp_levelPer = null;
|
|
|
e.ani_add = null;
|
|
|
e.node_hand = null;
|
|
|
e.sp_gradeName = null;
|
|
|
+e.ani_add2 = null;
|
|
|
e.lastTimeSpan = 0;
|
|
|
e.span = 0;
|
|
|
return e;
|
|
|
@@ -13409,9 +13429,8 @@ mk.data.sendDataEvent(l.DataEventId.button_click, "任务红包icon");
|
|
|
};
|
|
|
e.prototype.onClickPlant = function() {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
-var t;
|
|
|
-return c(this, function(e) {
|
|
|
-switch (e.label) {
|
|
|
+return c(this, function(t) {
|
|
|
+switch (t.label) {
|
|
|
case 0:
|
|
|
mk.audio.playEffect("button");
|
|
|
if (gData.gameData.leftTimes <= 0) {
|
|
|
@@ -13425,17 +13444,26 @@ return [ 2 ];
|
|
|
return [ 4, gData.gameData.makeProduct() ];
|
|
|
|
|
|
case 1:
|
|
|
-if (e.sent()) {
|
|
|
-t = this.node_taskHb.parent.convertToWorldSpaceAR(this.node_taskHb.getPosition());
|
|
|
-mk.fly.PlayCoinAnim(1, 3, this.btn_product, t, function() {
|
|
|
-gData.gameData.init_task = !0;
|
|
|
-}, .8);
|
|
|
-}
|
|
|
+t.sent() && this.dpFlyRedAni();
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
+e.prototype.dpFlyRedAni = function(t) {
|
|
|
+void 0 === t && (t = null);
|
|
|
+if (t) {
|
|
|
+var e = this.node_taskHb.parent.convertToWorldSpaceAR(this.node_taskHb.getPosition());
|
|
|
+mk.fly.PlayCoinAnim(1, 5, t, e, function() {
|
|
|
+gData.gameData.init_task = !0;
|
|
|
+}, .8);
|
|
|
+} else {
|
|
|
+e = this.node_taskHb.parent.convertToWorldSpaceAR(this.node_taskHb.getPosition());
|
|
|
+mk.fly.PlayCoinAnim(1, 5, this.btn_product, e, function() {
|
|
|
+gData.gameData.init_task = !0;
|
|
|
+}, .8);
|
|
|
+}
|
|
|
+};
|
|
|
e.prototype.doFlyExpAni = function(t, e, o) {
|
|
|
var n = this, a = this.lbl_farmLevel.node.parent.convertToWorldSpaceAR(this.lbl_farmLevel.node.getPosition());
|
|
|
mk.fly.PlayCoinAnim(2, 3, e, a, function() {
|
|
|
@@ -13456,10 +13484,17 @@ s.default.callBack = function() {
|
|
|
mk.ui.openPanel("module/speedUpUI/productReward2");
|
|
|
};
|
|
|
};
|
|
|
-e.prototype.playAdd = function(t) {
|
|
|
+e.prototype.playAdd = function(t, e) {
|
|
|
+void 0 === e && (e = 1);
|
|
|
+if (1 == e) {
|
|
|
this.ani_add.node.getComponent(cc.Label).string = "+" + t;
|
|
|
this.ani_add.node.active = !0;
|
|
|
this.ani_add.play();
|
|
|
+} else {
|
|
|
+this.ani_add2.node.getComponent(cc.Label).string = "+" + t;
|
|
|
+this.ani_add2.node.active = !0;
|
|
|
+this.ani_add2.play();
|
|
|
+}
|
|
|
};
|
|
|
i([ d({
|
|
|
type: cc.Node,
|
|
|
@@ -13537,6 +13572,10 @@ i([ d({
|
|
|
type: cc.Sprite,
|
|
|
displayName: "等级名字"
|
|
|
}) ], e.prototype, "sp_gradeName", void 0);
|
|
|
+i([ d({
|
|
|
+type: cc.Animation,
|
|
|
+displayName: "增加效果文本2"
|
|
|
+}) ], e.prototype, "ani_add2", void 0);
|
|
|
return i([ u ], e);
|
|
|
}(cc.Component);
|
|
|
o.default = f;
|
|
|
@@ -14507,7 +14546,9 @@ Object.defineProperty(o, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
var n = t("../../game/data/GameData"), a = t("./UISystem"), i = function() {
|
|
|
-function t() {}
|
|
|
+function t() {
|
|
|
+this.curDes = "";
|
|
|
+}
|
|
|
t.prototype.open = function(t) {
|
|
|
if ("0" != gData.gameData.configs.ServerConfig.NewUserGuide) {
|
|
|
this.crtGuideID = gData.gameData.getProp(n.GameProp.guideID);
|
|
|
@@ -15005,9 +15046,15 @@ this.node_person.active = !1;
|
|
|
this.node_head.node.active = !1;
|
|
|
this.node_person.active = !0;
|
|
|
}
|
|
|
+if ("" != mk.guide.curDes) {
|
|
|
+this.rich_dialog.string = mk.guide.curDes;
|
|
|
+this.rich_dialog1.string = mk.guide.curDes;
|
|
|
+mk.guide.curDes = "";
|
|
|
+} else {
|
|
|
this.rich_dialog.string = this.crtGuide.dialog;
|
|
|
this.rich_dialog1.string = this.crtGuide.dialog;
|
|
|
}
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.clickNodeClick = function() {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
@@ -16261,7 +16308,7 @@ return i > 3 && r && Object.defineProperty(e, o, r), r;
|
|
|
Object.defineProperty(o, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
-var r = cc._decorator, c = r.ccclass, s = r.property, l = function(t) {
|
|
|
+var r = t("../../data/GameData"), c = cc._decorator, s = c.ccclass, l = c.property, p = function(t) {
|
|
|
a(e, t);
|
|
|
function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
@@ -16269,35 +16316,49 @@ e.toggle = null;
|
|
|
e.lbl_name = null;
|
|
|
e.sp_luck = null;
|
|
|
e.node_redPoint = null;
|
|
|
+e.btn_luck = null;
|
|
|
+e.pt = r.ProductType.nzw;
|
|
|
return e;
|
|
|
}
|
|
|
e.prototype.start = function() {};
|
|
|
e.prototype.InitUI = function() {};
|
|
|
-e.prototype.setShowUIState = function(t, e) {
|
|
|
+e.prototype.setShowUIState = function(t, e, o) {
|
|
|
this.sp_luck.active = t;
|
|
|
+this.btn_luck.node.active = t;
|
|
|
this.node_redPoint.active = e;
|
|
|
+this.pt = o;
|
|
|
};
|
|
|
-i([ s({
|
|
|
+e.prototype.clickLuckBtn = function() {
|
|
|
+var t = gData.gameData.getProductArrByType(this.pt);
|
|
|
+t && t.length > 0 && 2 == t[0].unlock && mk.tip.pop("完成" + t[0].value + "次任务红包后解锁");
|
|
|
+};
|
|
|
+i([ l({
|
|
|
displayName: "复选组件",
|
|
|
type: cc.Toggle
|
|
|
}) ], e.prototype, "toggle", void 0);
|
|
|
-i([ s({
|
|
|
+i([ l({
|
|
|
displayName: "名字",
|
|
|
type: cc.Label
|
|
|
}) ], e.prototype, "lbl_name", void 0);
|
|
|
-i([ s({
|
|
|
+i([ l({
|
|
|
displayName: "是否解锁标识",
|
|
|
type: cc.Node
|
|
|
}) ], e.prototype, "sp_luck", void 0);
|
|
|
-i([ s({
|
|
|
+i([ l({
|
|
|
displayName: "红点",
|
|
|
type: cc.Node
|
|
|
}) ], e.prototype, "node_redPoint", void 0);
|
|
|
-return i([ c ], e);
|
|
|
+i([ l({
|
|
|
+displayName: "按钮",
|
|
|
+type: cc.Button
|
|
|
+}) ], e.prototype, "btn_luck", void 0);
|
|
|
+return i([ s ], e);
|
|
|
}(cc.Component);
|
|
|
-o.default = l;
|
|
|
+o.default = p;
|
|
|
cc._RF.pop();
|
|
|
-}, {} ],
|
|
|
+}, {
|
|
|
+"../../data/GameData": "GameData"
|
|
|
+} ],
|
|
|
JsbSystem: [ function(t, e, o) {
|
|
|
"use strict";
|
|
|
cc._RF.push(e, "144031h5xRBsa+umFGEHyuG", "JsbSystem");
|
|
|
@@ -21353,6 +21414,8 @@ gData.gameData.nextMake = null;
|
|
|
gData.gameData.setNextProduct(!1);
|
|
|
} else gData.factorySystem.make(this.data.picture);
|
|
|
gData.gameData.updateNewTaskProgress(!0);
|
|
|
+var t = this.nameIcon.node.parent.convertToWorldSpaceAR(this.nameIcon.node.getPosition());
|
|
|
+gData.gameData.gameStyle.dpFlyRedAni(t);
|
|
|
}
|
|
|
};
|
|
|
e.prototype.getDesByType = function() {
|
|
|
@@ -22056,21 +22119,25 @@ e.lbl_progress = null;
|
|
|
e.sp_taskProgress = null;
|
|
|
e.node_complete = null;
|
|
|
e.node_Uncomplete = null;
|
|
|
+e.node_1 = null;
|
|
|
+e.node_2 = null;
|
|
|
return e;
|
|
|
}
|
|
|
e.prototype.onEnable = function() {
|
|
|
var t = this;
|
|
|
-this.scheduleOnce(function() {
|
|
|
-mk.guide.open(4);
|
|
|
-}, .5);
|
|
|
this.lbl_times.string = "生产次数+" + gData.gameData.configs.ServerConfig.ProductionAd;
|
|
|
gData.gameData.init_productTask = !1;
|
|
|
if (gData.gameData.playerProp.userFarmTaskInfo) {
|
|
|
var e = gData.gameData.playerProp.userFarmTaskInfo.completeCount, o = gData.gameData.playerProp.userFarmTaskInfo.taskCount;
|
|
|
+if (o <= 10) {
|
|
|
if (o > e) {
|
|
|
this.lbl_taskTimes.string = (o - e).toString();
|
|
|
this.node_Uncomplete.active = !0;
|
|
|
this.node_complete.active = !1;
|
|
|
+this.scheduleOnce(function() {
|
|
|
+mk.guide.curDes = "<color=8A4312>再<color=ff0000>生产" + (o - e) + "次</color>,即可<color=ff0000>提现</color>,\n快领取次数吧!</color>";
|
|
|
+mk.guide.open(2);
|
|
|
+}, .5);
|
|
|
} else {
|
|
|
this.node_Uncomplete.active = !1;
|
|
|
this.node_complete.active = !0;
|
|
|
@@ -22086,12 +22153,17 @@ t.lbl_progress.string = e + "/" + o;
|
|
|
}).call(function() {
|
|
|
t.lbl_progress.string = e + "/" + o;
|
|
|
}).start();
|
|
|
+} else {
|
|
|
+this.node_1.active = !1;
|
|
|
+this.node_2.active = !1;
|
|
|
+}
|
|
|
}
|
|
|
};
|
|
|
e.prototype.update = function() {
|
|
|
if (gData.gameData.init_productTask) {
|
|
|
if (gData.gameData.playerProp.userFarmTaskInfo) {
|
|
|
var t = gData.gameData.playerProp.userFarmTaskInfo.completeCount, e = gData.gameData.playerProp.userFarmTaskInfo.taskCount;
|
|
|
+if (e <= 10) {
|
|
|
if (e > t) {
|
|
|
this.lbl_taskTimes.string = (e - t).toString();
|
|
|
this.node_Uncomplete.active = !0;
|
|
|
@@ -22103,6 +22175,7 @@ this.node_complete.active = !0;
|
|
|
this.lbl_progress.string = t + "/" + e;
|
|
|
this.sp_taskProgress.fillRange = t / e;
|
|
|
}
|
|
|
+}
|
|
|
gData.gameData.init_productTask = !1;
|
|
|
}
|
|
|
};
|
|
|
@@ -22125,7 +22198,9 @@ mk.ui.openPanel("module/reward/reward");
|
|
|
});
|
|
|
};
|
|
|
e.prototype.addTimes = function() {
|
|
|
-gData.gameData.changeLeftTimes(parseInt(gData.gameData.configs.ServerConfig.ProductionAd));
|
|
|
+var t = parseInt(gData.gameData.configs.ServerConfig.ProductionAd);
|
|
|
+gData.gameData.changeLeftTimes(t);
|
|
|
+gData.gameData.gameStyle.playAdd(t, 2);
|
|
|
};
|
|
|
e.prototype.clickCloseBtn = function() {
|
|
|
mk.audio.playEffect("closeButton");
|
|
|
@@ -22155,6 +22230,14 @@ i([ l({
|
|
|
type: cc.Node,
|
|
|
displayName: "未完成节点"
|
|
|
}) ], e.prototype, "node_Uncomplete", void 0);
|
|
|
+i([ l({
|
|
|
+type: cc.Node,
|
|
|
+displayName: "节点1"
|
|
|
+}) ], e.prototype, "node_1", void 0);
|
|
|
+i([ l({
|
|
|
+type: cc.Node,
|
|
|
+displayName: "节点2"
|
|
|
+}) ], e.prototype, "node_2", void 0);
|
|
|
return i([ s ], e);
|
|
|
}(cc.Component);
|
|
|
o.default = p;
|
|
|
@@ -24625,11 +24708,17 @@ gData.reward.data = [];
|
|
|
e.prototype.flyCoinAnim = function(t) {
|
|
|
var e = this;
|
|
|
void 0 === t && (t = null);
|
|
|
-if (gData.reward.data && gData.reward.data.length) for (var o = gData.reward.data.length, n = 0; n < o; n++) if (gData.reward.data[n].rewardType !== r.RewardType.rmb && gData.reward.data[n].rewardType !== r.RewardType.productTimes && 0 != gData.reward.data[n].rewardNum) {
|
|
|
+if (gData.reward.data && gData.reward.data.length) for (var o = gData.reward.data.length, n = 0; n < o; n++) if (gData.reward.data[n].rewardType !== r.RewardType.rmb && 0 != gData.reward.data[n].rewardNum) {
|
|
|
mk.audio.playEffect("redmoney");
|
|
|
-mk.fly.PlayCoinAnim(gData.reward.data[n].rewardType, 10, t, "", function() {
|
|
|
+var a = "", i = 10, c = -1;
|
|
|
+if (gData.reward.data[n].rewardType === r.RewardType.productTimes) {
|
|
|
+a = "Canvas/主界面层/game/功能按钮/底部按钮/中间按钮";
|
|
|
+i = 5;
|
|
|
+c = .8;
|
|
|
+}
|
|
|
+mk.fly.PlayCoinAnim(gData.reward.data[n].rewardType, i, t, a, function() {
|
|
|
e.addReward();
|
|
|
-});
|
|
|
+}, c);
|
|
|
}
|
|
|
};
|
|
|
return e;
|
|
|
@@ -30476,8 +30565,10 @@ gData.gameData.playerProp.redMoneyCashPayRecordList = o.data.redMoneyCashPayReco
|
|
|
this.init_cashOut = !0;
|
|
|
if (n = gData.gameData.configs.CashCfg) {
|
|
|
gData.gameData.playerProp.redMoney -= n[t - 1].redMoney;
|
|
|
+console.log("-----------------1===>" + t + "====" + n.length);
|
|
|
gData.cashPro.cashPro_money = n[t - 1].money;
|
|
|
gData.cashPro.init_success = !0;
|
|
|
+console.log("-----------------2");
|
|
|
}
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
@@ -30553,7 +30644,7 @@ n.length >= 2 && n[1].length > 4 ? this.lbl_noviceValue.string = o.toFixed(4) +
|
|
|
this.intV = Math.round(e);
|
|
|
this.lbl_tipUp.string = "进度加满后必得" + this.intV + "元现金";
|
|
|
this.lbl_cashOut.string = "满" + this.intV + "元提现";
|
|
|
-t.progressRate >= 1 ? this.btn_addProgress.setGray(!0) : this.btn_addProgress.setGray(!1);
|
|
|
+t.progressRate >= 1 ? this.btn_addProgress.setGray(!0, !0) : this.btn_addProgress.setGray(!1, !0);
|
|
|
}
|
|
|
};
|
|
|
e.prototype.multiply = function(t, e) {
|
|
|
@@ -30583,22 +30674,22 @@ var t = gData.gameData.configs.CashCfg[this.curChooseIndex];
|
|
|
if (gData.gameData.playerProp.redMoney - t.redMoney >= 0) {
|
|
|
if (-1 != this.curChooseIndex) {
|
|
|
this.isCanCash = !0;
|
|
|
-this.btn_cashOut.setGray(!1);
|
|
|
+this.btn_cashOut.setGray(!1, !0);
|
|
|
} else {
|
|
|
this.isCanCash = !1;
|
|
|
-this.btn_cashOut.setGray(!0);
|
|
|
+this.btn_cashOut.setGray(!0, !0);
|
|
|
}
|
|
|
var e = t.money / 100, o = (gData.gameData.playerProp.redMoney / 1e6).toFixed(3) + "元";
|
|
|
this.lbl_tip.string = "需要" + e + "元,当前有" + o;
|
|
|
} else {
|
|
|
this.isCanCash = !1;
|
|
|
-this.btn_cashOut.setGray(!0);
|
|
|
+this.btn_cashOut.setGray(!0, !0);
|
|
|
e = t.money / 100, o = (gData.gameData.playerProp.redMoney / 1e6).toFixed(3) + "元";
|
|
|
this.lbl_tip.string = "需要" + e + "元,当前只有" + o;
|
|
|
}
|
|
|
} else {
|
|
|
this.isCanCash = !1;
|
|
|
-this.btn_cashOut.setGray(!0);
|
|
|
+this.btn_cashOut.setGray(!0, !0);
|
|
|
this.lbl_tip.string = "";
|
|
|
}
|
|
|
};
|
|
|
@@ -30620,7 +30711,7 @@ if (gData.walletCashOutData.init_cashOut) {
|
|
|
if (this.check_button[this.curChooseIndex].setRemaineTimes()) {
|
|
|
this.curChooseIndex = -1;
|
|
|
this.isCanCash = !1;
|
|
|
-this.btn_cashOut.setGray(!0);
|
|
|
+this.btn_cashOut.setGray(!0, !0);
|
|
|
this.lbl_tip.string = "";
|
|
|
}
|
|
|
gData.walletCashOutData.init_cashOut = !1;
|
|
|
@@ -30642,7 +30733,7 @@ console.log("=========>", this.isCanCash);
|
|
|
if (this.isCanCash) if (this.checkShowTip()) mk.tip.pop("请先提现完前一档次数"); else {
|
|
|
gData.adData.checkPopCashFull();
|
|
|
gData.walletCashOutData.HttpCashOut2(this.curChooseIndex + 1);
|
|
|
-}
|
|
|
+} else mk.tip.pop("红包币不足");
|
|
|
};
|
|
|
e.prototype.checkShowTip = function() {
|
|
|
if (this.curChooseIndex >= 1) {
|