|
@@ -14478,7 +14478,6 @@ this.initInfo();
|
|
|
this.runGuideWeak();
|
|
this.runGuideWeak();
|
|
|
this.initLeftTimes();
|
|
this.initLeftTimes();
|
|
|
this.initFarmExpUI();
|
|
this.initFarmExpUI();
|
|
|
-"1" == gData.gameData.funOpenData[11] && mk.guide.open(10) && mk.event.register("event_guide", this.initGuideEvent.bind(this), this);
|
|
|
|
|
if (!mk.storage.getStorage("loadingFinish")) {
|
|
if (!mk.storage.getStorage("loadingFinish")) {
|
|
|
mk.storage.setStorage("loadingFinish", 1);
|
|
mk.storage.setStorage("loadingFinish", 1);
|
|
|
mk.data.sendDataEvent(d.DataEventId.loading, "loading结束");
|
|
mk.data.sendDataEvent(d.DataEventId.loading, "loading结束");
|
|
@@ -15328,7 +15327,7 @@ this.node_getOrderReward.setGray(!1, !0);
|
|
|
this.node_getOrderReward.getComponent(cc.Animation).play();
|
|
this.node_getOrderReward.getComponent(cc.Animation).play();
|
|
|
this.node_orderHand.active = !0;
|
|
this.node_orderHand.active = !0;
|
|
|
mk.ui.closeAllUI();
|
|
mk.ui.closeAllUI();
|
|
|
-"1" == gData.gameData.funOpenData[11] && mk.guide.open(12) || mk.tip.pop("订单已完成,快领奖吧!");
|
|
|
|
|
|
|
+mk.tip.pop("订单已完成,快领奖吧!");
|
|
|
}
|
|
}
|
|
|
if (i = e.orderTaskList[t]) if (i.completeCount == i.taskCount) {
|
|
if (i = e.orderTaskList[t]) if (i.completeCount == i.taskCount) {
|
|
|
this.lbl_progress[t].node.active = !1;
|
|
this.lbl_progress[t].node.active = !1;
|
|
@@ -24538,25 +24537,7 @@ this.node_1.active = !1;
|
|
|
this.node_2.active = !0;
|
|
this.node_2.active = !0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-if (e >= 11) mk.ad.showNative(); else {
|
|
|
|
|
-this.btnCanClick = !1;
|
|
|
|
|
-this.lbl_taskTimes.string = "1";
|
|
|
|
|
-this.node_Uncomplete.active = !0;
|
|
|
|
|
-this.node_complete.active = !1;
|
|
|
|
|
-this.sp_taskProgress.fillRange = .99;
|
|
|
|
|
-this.lbl_progress.string = "99%";
|
|
|
|
|
-this.scheduleOnce(function() {
|
|
|
|
|
-t.btnCanClick = !0;
|
|
|
|
|
-var e = gData.gameData.playerProp.orderData, a = e.orderTaskList, o = gData.gameData.playerProp.copyOrderData;
|
|
|
|
|
-if (e && a && o) {
|
|
|
|
|
-for (var n = 0, i = 0; i != a.length; ++i) n += a[i].taskCount - o[i];
|
|
|
|
|
-if ("1" == gData.gameData.funOpenData[11]) {
|
|
|
|
|
-var r = "<color=8A4312>再生产" + n + "次,就可以收获\n啦,完成订单立即<color=ff0000>提现</color>!</color>";
|
|
|
|
|
-mk.guide.open(11, r);
|
|
|
|
|
-}
|
|
|
|
|
-}
|
|
|
|
|
-}, .2);
|
|
|
|
|
-}
|
|
|
|
|
|
|
+mk.ad.showNative();
|
|
|
};
|
|
};
|
|
|
e.prototype.update = function() {
|
|
e.prototype.update = function() {
|
|
|
if (gData.gameData.init_productTask) {
|
|
if (gData.gameData.init_productTask) {
|