|
|
@@ -2963,12 +2963,8 @@ mk.ui.openPanel("module/warnTip/WarnTipPanel");
|
|
|
return !0;
|
|
|
}
|
|
|
if (t < e) {
|
|
|
-console.log("AdSystem======curSolution=>" + gData.warnTipData.curSolution);
|
|
|
-console.log("AdSystem======needTime=>" + e + "====gap_time_stamp=>" + t);
|
|
|
-var a = Math.ceil((e - t) / 1e3);
|
|
|
-console.log("AdSystem======time=>" + a);
|
|
|
-var o = mk.time.formatWithUnit(a);
|
|
|
-mk.tip.pop("当前看视频太频繁了,请" + o + "后再试");
|
|
|
+var a = Math.ceil((e - t) / 1e3), o = mk.time.formatWithUnit(a);
|
|
|
+mk.tip.pop("视频内点击太频繁了,请" + o + "后再试");
|
|
|
return !0;
|
|
|
}
|
|
|
gData.warnTipData.setSolution(0);
|
|
|
@@ -8588,13 +8584,16 @@ if (!e || !e.orderTaskList) return this.doSameCheckLogic(t);
|
|
|
if (1 != t.state) return this.doSameCheckLogic(t);
|
|
|
for (var o = e.orderTaskList, n = gData.gameData.configs.Product, i = 0; i != o.length; ++i) {
|
|
|
var c = o[i];
|
|
|
-if (a[i] < c.taskCount && c.Id <= n.length) for (var s = n[c.Id - 1], l = this.factoryIcons.length, p = 0; p < l; p++) {
|
|
|
+if (c.Id <= n.length) {
|
|
|
+if (a[i] < c.taskCount) for (var s = n[c.Id - 1], l = this.factoryIcons.length, p = 0; p < l; p++) {
|
|
|
var u = gData.gameData.getTabByConfigID(this.factoryIcons[p].configID), d = gData.gameData.getMaxProduct(u);
|
|
|
if (u == s.tab && this.factoryIcons[p].data.state == r.FactroyState.Empty && s.picture <= d) {
|
|
|
gData.gameData.nextCanProduct = gData.gameData.getProductMap(s.picture);
|
|
|
-gData.gameData.nextMake = this.factoryIcons[h];
|
|
|
+gData.gameData.nextMake = this.factoryIcons[p];
|
|
|
gData.gameData.nextType = 3;
|
|
|
-return this.factoryIcons[h];
|
|
|
+console.log("nextFactory ===== successs");
|
|
|
+return this.factoryIcons[p];
|
|
|
+}
|
|
|
}
|
|
|
} else {
|
|
|
l = this.factoryIcons.length;
|
|
|
@@ -8602,6 +8601,7 @@ for (var h = 0; h < l; h++) if (this.factoryIcons[h].data.state == r.FactroyStat
|
|
|
gData.gameData.nextCanProduct = gData.gameData.getRandomFactoryConfig(this.factoryIcons[h].configID);
|
|
|
gData.gameData.nextMake = this.factoryIcons[h];
|
|
|
gData.gameData.nextType = 3;
|
|
|
+console.log("nextFactory ===== successs===");
|
|
|
return this.factoryIcons[h];
|
|
|
}
|
|
|
}
|
|
|
@@ -9557,6 +9557,8 @@ gData.farmSystem.currSelectFarm = null;
|
|
|
this.data.state = s.FarmState.Empty;
|
|
|
this.data.productID = 0;
|
|
|
this.data.growSpan = 0;
|
|
|
+t = this.node.getChildByName("hb");
|
|
|
+this.node.removeChild(t);
|
|
|
gData.gameData.setFarmDataMap(this.configID, this.data);
|
|
|
return [ 4, gData.gameData.gameStyle.doCropFlyLogic(this.plantID, this.node, !0) ];
|
|
|
|
|
|
@@ -9564,8 +9566,6 @@ case 1:
|
|
|
e.sent();
|
|
|
gData.gameData.setNextProduct(!1);
|
|
|
0 == gData.harvestData.getType ? gData.farmGradeData.addGradeExp(s.ExpAddType.EAT_harvest, this.node) : gData.farmGradeData.addGradeExp(s.ExpAddType.EAT_others, this.node);
|
|
|
-t = this.node.getChildByName("hb");
|
|
|
-this.node.removeChild(t);
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|
|
|
@@ -10507,8 +10507,10 @@ for (var e = this.farms.length, a = 0; a < e; a++) if (this.farms[a] != this.cur
|
|
|
t.state = 0;
|
|
|
var o = gData.gameData.getRandomPlantConfig(t);
|
|
|
if (o) {
|
|
|
+if (1 == gData.gameData.nextType) {
|
|
|
gData.gameData.nextCanProduct = o;
|
|
|
gData.gameData.nextMake = this.farms[a];
|
|
|
+}
|
|
|
mk.console.logSingle("getCanPlantFarm ", this.farms[a].data);
|
|
|
return this.farms[a];
|
|
|
}
|
|
|
@@ -12387,7 +12389,7 @@ Object.defineProperty(a, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
a.Fun = void 0;
|
|
|
-var o, n = 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"), F = t("../../before/view/data/ADClearSickData"), x = t("../../before/main/PastureSystem"), M = t("../../before/main/FactorySystem"), N = t("./module/FarmMapData"), j = t("./module/GradeRewardData"), E = t("./module/WalletCashOutData"), L = t("./module/LineUpUIData"), B = t("./module/WarnTipData"), U = function() {
|
|
|
+var o, n = 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"), F = t("../../before/view/data/ADClearSickData"), M = t("../../before/main/PastureSystem"), x = t("../../before/main/FactorySystem"), N = t("./module/FarmMapData"), j = t("./module/GradeRewardData"), E = t("./module/WalletCashOutData"), L = t("./module/LineUpUIData"), B = t("./module/WarnTipData"), U = function() {
|
|
|
function t() {
|
|
|
this.init();
|
|
|
}
|
|
|
@@ -12420,8 +12422,8 @@ this.adUnlockData = new I.default();
|
|
|
this.plantData = new T.default();
|
|
|
this.harvestData = new C.default();
|
|
|
this.adClearSickData = new F.default();
|
|
|
-this.pastureSystem = new x.default();
|
|
|
-this.factorySystem = new M.default();
|
|
|
+this.pastureSystem = new M.default();
|
|
|
+this.factorySystem = new x.default();
|
|
|
this.farmSystem = new R.FarmSystem();
|
|
|
this.farmMapData = new N.FarmMapData();
|
|
|
this.farmGradeData = new j.GradeRewardData();
|
|
|
@@ -12880,8 +12882,9 @@ this.playerProp.redMoneyCashPayRecordList = t.redMoneyCashPayRecordList;
|
|
|
mk.console.logSingle("userNoviceWeFareInfo==>", t.userNoviceWeFareInfo);
|
|
|
this.playerProp.userFarmTaskInfo = t.userFarmTaskInfo;
|
|
|
this.playerProp.speedUpLeftTimes = t.speedUpLeftTimes;
|
|
|
-this.playerProp.completeFarmTaskTimes = 3;
|
|
|
+this.playerProp.completeFarmTaskTimes = t.completeFarmTaskTimes;
|
|
|
this.playerProp.orderData = t.userOrderTaskInfo;
|
|
|
+this.playerProp.lineRedMoney = t.lineRedMoney;
|
|
|
console.log("==============initPlayerProp");
|
|
|
console.log(t.userOrderTaskInfo);
|
|
|
mk.console.logSingle("userOrderTaskInfo", t.userOrderTaskInfo);
|
|
|
@@ -13075,6 +13078,7 @@ var e = 0, a = !0, o = !1, n = !1, i = !1, c = [], s = [], l = this.playerProp.o
|
|
|
if (l && h) {
|
|
|
for (var f = this.configs.Product, y = 0; y != h.length; ++y) {
|
|
|
var g = h[y];
|
|
|
+console.log("getRandomPlantConfig======= " + this.playerProp.copyOrderData[y]);
|
|
|
if (this.playerProp.copyOrderData[y] < g.taskCount) {
|
|
|
if (!(g.Id <= f.length)) {
|
|
|
n = !0;
|
|
|
@@ -13101,7 +13105,7 @@ if (v = this.doFarmMapDataCheck(0)) e = v; else {
|
|
|
e = r.default.rnd(10001, this.getMaxProduct(u.nzw));
|
|
|
this.nextType = 1;
|
|
|
}
|
|
|
-console.log("订单数据没有匹配成功");
|
|
|
+console.log("订单数据没有匹配成功====1");
|
|
|
}
|
|
|
} else {
|
|
|
n = !0;
|
|
|
@@ -13116,7 +13120,7 @@ if (n) return this.getProductMap(e);
|
|
|
if (a) {
|
|
|
if (o) {
|
|
|
var b = !1;
|
|
|
-for (y = 0; y != c.length; ++y) for (var D = gData.factorySystem.factoryIcons, w = D.length, S = 0; S < w; S++) if (this.getTabByConfigID(D[S].configID) == c[S] && D[S].data.state == d.Empty) {
|
|
|
+for (y = 0; y != c.length; ++y) for (var D = gData.factorySystem.factoryIcons, w = D.length, S = 0; S < w; S++) if (this.getTabByConfigID(D[S].configID) == c[y] && D[S].data.state == d.Empty) {
|
|
|
b = !0;
|
|
|
t.state = 1;
|
|
|
break;
|
|
|
@@ -13129,10 +13133,17 @@ t.state = 2;
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
-return b ? null : this.getProductMap(e);
|
|
|
+if (b) {
|
|
|
+console.log("getRandomPlantConfig====0");
|
|
|
+return null;
|
|
|
}
|
|
|
+console.log("getRandomPlantConfig====1");
|
|
|
return this.getProductMap(e);
|
|
|
}
|
|
|
+console.log("getRandomPlantConfig====2");
|
|
|
+return this.getProductMap(e);
|
|
|
+}
|
|
|
+console.log("getRandomPlantConfig====3");
|
|
|
return this.getProductMap(e);
|
|
|
};
|
|
|
t.prototype.doJudgeOrderLogic = function(t) {
|
|
|
@@ -13143,15 +13154,20 @@ if (this.playerProp.copyOrderData[n] < i.taskCount && i.Id <= o.length) {
|
|
|
var r = o[i.Id - 1];
|
|
|
if (r.tab == u.nzw) continue;
|
|
|
if (r.tab == u.dw) {
|
|
|
+console.log("doJudgeOrderLogic=====" + i.Id);
|
|
|
for (var c = gData.pastureSystem.pastureIcons, s = c.length, l = 0; l < s; l++) if (c[l].data.productID == r.picture && c[l].data.state == p.Empty) {
|
|
|
t.state = 2;
|
|
|
-break;
|
|
|
+console.log("doJudgeOrderLogic====2");
|
|
|
+console.log("doJudgeOrderLogic====22");
|
|
|
+return;
|
|
|
}
|
|
|
} else {
|
|
|
var h = gData.factorySystem.factoryIcons;
|
|
|
for (s = h.length, l = 0; l < s; l++) if (this.getTabByConfigID(h[l].configID) == r.tab && h[l].data.state == d.Empty) {
|
|
|
t.state = 1;
|
|
|
-break;
|
|
|
+console.log("doJudgeOrderLogic====1");
|
|
|
+console.log("doJudgeOrderLogic====11");
|
|
|
+return;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -13174,7 +13190,7 @@ if (n) for (var i = this.getProductArrByType(u[o]), r = 0; r != i.length; ++r) {
|
|
|
var c = i[r].picture - 1;
|
|
|
if (1 == i[r].unlock && c == n && 0 == this.getFarmMapRewardState(this.getIndex(i[r]))) switch (u[o]) {
|
|
|
case u.nzw:
|
|
|
-console.log("图鉴数据匹配成功");
|
|
|
+console.log("图鉴数据匹配成功=====1");
|
|
|
this.nextType = 1;
|
|
|
return c;
|
|
|
|
|
|
@@ -13182,7 +13198,7 @@ case u.dw:
|
|
|
for (var s = gData.pastureSystem.pastureIcons, l = s.length, h = 0; h < l; h++) if (s[h].data.state == p.Empty) {
|
|
|
e && t == a && (e.state = !0);
|
|
|
if (c == s[h].data.productID) {
|
|
|
-console.log("图鉴数据匹配成功");
|
|
|
+console.log("图鉴数据匹配成功====2");
|
|
|
this.nextCanProduct = this.getProductMap(s[h].data.productID);
|
|
|
this.nextMake = s[h];
|
|
|
this.nextType = 2;
|
|
|
@@ -13196,7 +13212,7 @@ var f = gData.factorySystem.factoryIcons;
|
|
|
for (l = f.length, h = 0; h < l; h++) if (f[h].data.state == d.Empty) {
|
|
|
e && (e.state = !0);
|
|
|
if (this.getTabByConfigID(f[h].configID) == u[o]) {
|
|
|
-console.log("图鉴数据匹配成功");
|
|
|
+console.log("图鉴数据匹配成功=====3");
|
|
|
this.nextCanProduct = this.getProductMap(c);
|
|
|
this.nextMake = f[h];
|
|
|
this.nextType = 3;
|
|
|
@@ -13850,6 +13866,7 @@ this.speedUpLeftTimes = 0;
|
|
|
this.completeFarmTaskTimes = 0;
|
|
|
this.orderData = null;
|
|
|
this.copyOrderData = null;
|
|
|
+this.lineRedMoney = 0;
|
|
|
}
|
|
|
Object.defineProperty(t.prototype, "isSignInToday", {
|
|
|
get: function() {
|
|
|
@@ -14531,9 +14548,9 @@ this.lbl_redMoney.string = gData.gameData.playerProp.redMoney / 100 + "";
|
|
|
gData.gameData.init_coin = !1;
|
|
|
if (gData.gameData.addHb > 0) {
|
|
|
var e = Math.round(gData.gameData.addHb / 100);
|
|
|
-this.lbl_addHb.string = "+" + e.toString();
|
|
|
gData.gameData.addHb = 0;
|
|
|
if (e > 0) {
|
|
|
+this.lbl_addHb.string = "+" + e.toString();
|
|
|
cc.Tween.stopAllByTarget(this.node_addHb);
|
|
|
this.node_addHb.active = !0;
|
|
|
this.node_addHb.scale = 0;
|
|
|
@@ -18882,17 +18899,26 @@ e.personCount = 0;
|
|
|
e.cashId = 0;
|
|
|
e.refresh = !1;
|
|
|
e.redMoney = 0;
|
|
|
+e.refresh2 = !1;
|
|
|
return e;
|
|
|
}
|
|
|
e.prototype.showTips = function() {
|
|
|
var t = this;
|
|
|
-cc.tween(this).delay(.5).call(function() {
|
|
|
+console.log("showTips======" + gData.gameData.playerProp.lineRedMoney);
|
|
|
+if (gData.gameData.playerProp.lineRedMoney > 0) cc.tween(this).delay(.5).call(function() {
|
|
|
var e = Math.round(t.redMoney / 100);
|
|
|
mk.tip.pop("插队成功,并获得" + e + "红包币");
|
|
|
+}).start(); else {
|
|
|
+console.log("showTips================");
|
|
|
+cc.tween(this).delay(.5).call(function() {
|
|
|
+console.log("showTips================2");
|
|
|
+mk.tip.pop("插队成功");
|
|
|
}).start();
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.setAdData = function(e) {
|
|
|
t.prototype.setAdData.call(this, e);
|
|
|
+console.log("LineUpUIData=========" + e);
|
|
|
this.redMoney = 0;
|
|
|
for (var a = this.adData.videoRedMoney.videoRewardList, o = 0; o != a.length; ++o) if (a[o].rewardType == r.RewardType.redBag) {
|
|
|
this.redMoney = a[o].rewardNum;
|
|
|
@@ -18900,6 +18926,8 @@ gData.gameData.playerProp.redMoney += this.redMoney;
|
|
|
break;
|
|
|
}
|
|
|
this.showTips();
|
|
|
+gData.gameData.playerProp.lineRedMoney = e.lineRedMoney;
|
|
|
+this.refresh2 = !0;
|
|
|
};
|
|
|
return e;
|
|
|
}(i.Data);
|
|
|
@@ -19051,11 +19079,13 @@ n(e, t);
|
|
|
function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
e.lbl_tip = null;
|
|
|
+e.node_hb = null;
|
|
|
return e;
|
|
|
}
|
|
|
e.prototype.start = function() {
|
|
|
gData.lineUpUIData.refresh = !1;
|
|
|
this.lbl_tip.string = "<color=#8A4312>提现排队中,你前面还有</c><color=#EF2417>" + gData.lineUpUIData.personCount + "</color><color=#8A4312>人</color>";
|
|
|
+gData.gameData.playerProp.lineRedMoney > 0 ? this.node_hb.active = !0 : this.node_hb.active = !1;
|
|
|
};
|
|
|
e.prototype.onEnable = function() {
|
|
|
mk.ad.showNative();
|
|
|
@@ -19071,6 +19101,10 @@ scale: 1.4
|
|
|
scale: 1
|
|
|
}).call(function() {}).start();
|
|
|
}
|
|
|
+if (gData.lineUpUIData.refresh2) {
|
|
|
+gData.lineUpUIData.refresh2 = !1;
|
|
|
+gData.gameData.playerProp.lineRedMoney > 0 ? this.node_hb.active = !0 : this.node_hb.active = !1;
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.clickVideoBtn = function() {
|
|
|
var t = this;
|
|
|
@@ -19081,17 +19115,25 @@ return c(this, function(t) {
|
|
|
switch (t.label) {
|
|
|
case 0:
|
|
|
mk.console.log("watchAD:" + e);
|
|
|
-if (!e) return [ 3, 2 ];
|
|
|
+if (!e) return [ 3, 4 ];
|
|
|
mk.data.sendDataEvent(l.DataEventId.queue, "进行插队人数");
|
|
|
+if (!(gData.gameData.playerProp.lineRedMoney > 0)) return [ 3, 2 ];
|
|
|
mk.ad.videoAdType = l.VideoAdType.video_init_20;
|
|
|
return [ 4, gData.adData.watchVideo(s.AdFun.lineUp) ];
|
|
|
|
|
|
case 1:
|
|
|
t.sent();
|
|
|
-gData.walletCashOutData.HttpCashOut2(gData.walletCashOutData.curID);
|
|
|
-t.label = 2;
|
|
|
+return [ 3, 3 ];
|
|
|
|
|
|
case 2:
|
|
|
+gData.lineUpUIData.showTips();
|
|
|
+t.label = 3;
|
|
|
+
|
|
|
+case 3:
|
|
|
+gData.walletCashOutData.HttpCashOut2(gData.walletCashOutData.curID);
|
|
|
+t.label = 4;
|
|
|
+
|
|
|
+case 4:
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|
|
|
@@ -19105,6 +19147,7 @@ e.prototype.clickCloseBtn = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
};
|
|
|
i([ d(cc.RichText) ], e.prototype, "lbl_tip", void 0);
|
|
|
+i([ d(cc.Node) ], e.prototype, "node_hb", void 0);
|
|
|
return i([ u ], e);
|
|
|
}(cc.Component);
|
|
|
a.default = h;
|
|
|
@@ -23330,7 +23373,11 @@ gData.gameData.nextType = 2;
|
|
|
return this.pastureIcons[p];
|
|
|
}
|
|
|
}
|
|
|
-return 1 == t.state ? null : this.doSameCheckLogic(t);
|
|
|
+if (1 == t.state) {
|
|
|
+console.log("nextPasture=======null");
|
|
|
+return null;
|
|
|
+}
|
|
|
+return this.doSameCheckLogic(t);
|
|
|
}
|
|
|
return this.doSameCheckLogic(t);
|
|
|
};
|
|
|
@@ -23653,12 +23700,7 @@ this.awardLabel.string = (t.menuRedBagCoin / 100).toString();
|
|
|
this.timeLabel.string = t.time;
|
|
|
i = !1;
|
|
|
r = 0;
|
|
|
-if (1 == t.unlock) {
|
|
|
-(r = gData.gameData.getProductMakeTimesById(t.picture - 1)) >= t.value && (i = !0);
|
|
|
-console.log("PlantItem=====>picture===" + t.picture);
|
|
|
-console.log("PlantItem=====>times===" + r);
|
|
|
-console.log("PlantItem=====>value===" + t.value);
|
|
|
-} else 2 == t.unlock && gData.gameData.playerProp.completeFarmTaskTimes >= t.value && (i = !0);
|
|
|
+1 == t.unlock ? (r = gData.gameData.getProductMakeTimesById(t.picture - 1)) >= t.value && (i = !0) : 2 == t.unlock && gData.gameData.playerProp.completeFarmTaskTimes >= t.value && (i = !0);
|
|
|
this.mainNode.active = i;
|
|
|
this.lockNode.active = !i;
|
|
|
if (!i) {
|
|
|
@@ -23849,7 +23891,7 @@ var t = this;
|
|
|
this.list_data = gData.plantData.productArr;
|
|
|
this.tableView.node.emit("srollview-init", this.list_data);
|
|
|
gData.plantData.productIndex > 1 && cc.tween(this).delay(.2).call(function() {
|
|
|
-t.list_data.length > 4 && (gData.plantData.productIndex <= t.list_data.length - 4 ? t.tableView.contentMoveByIndex(gData.plantData.productIndex - 1, .1) : t.tableView.contentMoveByIndex(t.list_data.length - 4, .1));
|
|
|
+t.list_data.length > 4 && (gData.plantData.productIndex <= t.list_data.length - 4 ? t.tableView.contentMoveByIndex(gData.plantData.productIndex - 1, .2) : t.tableView.contentMoveByIndex(t.list_data.length - 4, .2, !0));
|
|
|
}).start();
|
|
|
};
|
|
|
e.prototype.onDestroy = function() {};
|
|
|
@@ -28929,10 +28971,14 @@ return;
|
|
|
}
|
|
|
this.addItemNode(t, e);
|
|
|
};
|
|
|
-e.prototype.contentMoveByIndex = function(t, e) {
|
|
|
+e.prototype.contentMoveByIndex = function(t, e, a) {
|
|
|
void 0 === e && (e = .5);
|
|
|
-var a = this.itemPosMap.get(t).startPos;
|
|
|
-this.direction == r.vertical ? this.scrollView.scrollToOffset(new cc.Vec2(this.content.x, a), e) : this.scrollView.scrollToOffset(new cc.Vec2(a, this.content.y), e);
|
|
|
+void 0 === a && (a = !1);
|
|
|
+var o = this.itemPosMap.get(t).startPos;
|
|
|
+if (this.direction == r.vertical) this.scrollView.scrollToOffset(new cc.Vec2(this.content.x, o), e); else {
|
|
|
+a && (o += 20);
|
|
|
+this.scrollView.scrollToOffset(new cc.Vec2(o, this.content.y), e);
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.moveButtom = function() {
|
|
|
var t = this.scrollView.getMaxScrollOffset();
|
|
|
@@ -32342,7 +32388,7 @@ value: !0
|
|
|
var n = cc._decorator.ccclass, i = function() {
|
|
|
function t() {
|
|
|
this.curSolution = 0;
|
|
|
-this.tipArr = [ "", "您点击广告太频繁了,请降低点击广告频率以免被封!", "您点击广告太频繁了,封禁广告30分钟!", "您点击广告太频繁了,封禁广告12小时!", "系统检测到您的账号存在异常,禁止登陆游戏!" ];
|
|
|
+this.tipArr = [ "", "您点击广告太频繁了,请降低点击广告频率以免被封!", "您点击广告太频繁了,禁止看广告30分钟!", "您点击广告太频繁了,禁止看广告12小时!", "系统检测到您的账号存在异常,禁止登陆游戏!" ];
|
|
|
}
|
|
|
t.prototype.setSolution = function(t) {
|
|
|
if (this.curSolution != t) {
|