|
|
@@ -17975,7 +17975,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) {
|
|
|
@@ -19300,7 +19300,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 = " = ";
|
|
|
@@ -19954,16 +19954,6 @@ return [ 2 ];
|
|
|
});
|
|
|
};
|
|
|
e.prototype.update = function() {
|
|
|
-if (!this.hasDeviceBackInit) {
|
|
|
-this.hasDeviceBackInit = !0;
|
|
|
-this.getAppVersion();
|
|
|
-}
|
|
|
-if (gData.appData.updateState == u.UpdateState.ForceUpdateFinish) {
|
|
|
-gData.appData.updateState = u.UpdateState.CheckHot;
|
|
|
-this.checkHotUpdate();
|
|
|
-}
|
|
|
-if (gData.appData.updateState != u.UpdateState.IsUpdate) {
|
|
|
-if (gData.appData.updateState == u.UpdateState.UpdateFinish) {
|
|
|
if (!this.hasCheckPrivacy) {
|
|
|
this.hasCheckPrivacy = !0;
|
|
|
this.checkPrivacy();
|
|
|
@@ -19974,6 +19964,16 @@ this.hasCheckPermission = !0;
|
|
|
l.default.checkPermission();
|
|
|
}
|
|
|
if (gData.appData.getDeviceInfoCompelete) {
|
|
|
+if (!this.hasDeviceBackInit) {
|
|
|
+this.hasDeviceBackInit = !0;
|
|
|
+this.getAppVersion();
|
|
|
+}
|
|
|
+if (gData.appData.updateState == u.UpdateState.ForceUpdateFinish) {
|
|
|
+gData.appData.updateState = u.UpdateState.CheckHot;
|
|
|
+this.checkHotUpdate();
|
|
|
+}
|
|
|
+if (gData.appData.updateState != u.UpdateState.IsUpdate) {
|
|
|
+if (gData.appData.updateState == u.UpdateState.UpdateFinish) {
|
|
|
if (gData.loginData.popIdentifySwitch) {
|
|
|
if (!this.hasCheckAnti) {
|
|
|
this.hasCheckAnti = !0;
|
|
|
@@ -19993,13 +19993,13 @@ this.loadMain();
|
|
|
gData.gameData.dataFinish = !1;
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
-}
|
|
|
} else {
|
|
|
this.lbl_progress.node.active = !0;
|
|
|
this.node_load.active = !1;
|
|
|
this.setProgress(100 * gData.appData.updatePercent);
|
|
|
}
|
|
|
+}
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.loadMain = function() {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
@@ -23901,7 +23901,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, .2) : t.tableView.moveButtom());
|
|
|
+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() {};
|