|
|
@@ -9860,6 +9860,7 @@ return e;
|
|
|
e.prototype.onLoad = function() {};
|
|
|
e.prototype.start = function() {
|
|
|
if (null != gData.guideData.crtID) {
|
|
|
+this.reset();
|
|
|
this.guides = gData.guideData.getGuidesByID(gData.guideData.crtID);
|
|
|
this.crtStep = -1;
|
|
|
this.nextStep();
|
|
|
@@ -9920,7 +9921,7 @@ if (null != n && null != o && null != i && null != a) if (0 == this.crtGuide.dis
|
|
|
this.node_bg.x = this.node_bg.y = this.node_display.x = this.node_display.y = 0;
|
|
|
this.node_display.width = this.node.width;
|
|
|
this.node_display.height = this.node.height;
|
|
|
-cc.tween(this.node_display).to(.1, {
|
|
|
+cc.tween(this.node_display).to(.2, {
|
|
|
x: n,
|
|
|
y: o,
|
|
|
width: i,
|
|
|
@@ -9936,7 +9937,7 @@ this.node_bg.x = this.node_display.x = n;
|
|
|
this.node_bg.y = this.node_display.y = o;
|
|
|
this.node_display.width = this.node_display.height = this.node_bg.width = this.node_bg.height = 2 * this.node.height;
|
|
|
var l = this.crtGuide.display_type;
|
|
|
-cc.tween(this.node_display).to(.1, {
|
|
|
+cc.tween(this.node_display).to(.2, {
|
|
|
width: l,
|
|
|
height: l
|
|
|
}).start();
|
|
|
@@ -9945,7 +9946,8 @@ if (null != this.crtGuide.dialog_pos && this.crtGuide.dialog_pos.length > 0) {
|
|
|
r = this.crtGuide.dialog_pos.split(":");
|
|
|
for (var u = this.node_dialog.getComponent(cc.Widget), p = 0; p < this.widgets.length; p++) u[this.widgets[p]] = "" == r[p] ? null : parseInt(r[p]);
|
|
|
} else {
|
|
|
-r = this.crtGuide.dialog_pos1.split(",");
|
|
|
+for (r = this.crtGuide.dialog_pos1.split(","), u = this.node_dialog.getComponent(cc.Widget),
|
|
|
+p = 0; p < this.widgets.length; p++) u[this.widgets[p]] = null;
|
|
|
this.node_dialog.x = n + parseInt(r[0]);
|
|
|
this.node_dialog.y = o + parseInt(r[1]);
|
|
|
}
|
|
|
@@ -11615,9 +11617,9 @@ return c(this, function(n) {
|
|
|
switch (n.label) {
|
|
|
case 0:
|
|
|
t = {
|
|
|
-appId: "wxcf31f0e54f7fefda",
|
|
|
-channel: "1",
|
|
|
-version: "1.0.0"
|
|
|
+appId: gData.appData.appId,
|
|
|
+channel: gData.appData.tfChannel,
|
|
|
+version: gData.appData.appVersion
|
|
|
};
|
|
|
return [ 4, mk.http.sendRequest("getForceVersionInfo", "POST", JSON.stringify(t), !1, !1) ];
|
|
|
|
|
|
@@ -12717,7 +12719,7 @@ var t = mk.math.random(0, this.moreGameList.normal.length - 1);
|
|
|
return this.moreGameList.normal[t];
|
|
|
};
|
|
|
e.prototype.popMoreGamePopNode = function() {
|
|
|
-mk.guide.isGuiding || Math.random() <= gData.gameData.configs.ServerConfig.popMoreGame && mk.ui.openPanel("module/moreGame/moreGamePopNode");
|
|
|
+mk.guide.isGuiding || mk.ui.getCurOnPanel("reward") || Math.random() <= gData.gameData.configs.ServerConfig.popMoreGame && mk.ui.openPanel("module/moreGame/moreGamePopNode");
|
|
|
};
|
|
|
e.prototype.popNodeGetRedBag = function() {
|
|
|
return a(this, void 0, void 0, function() {
|
|
|
@@ -17238,7 +17240,7 @@ done: !0
|
|
|
Object.defineProperty(n, "__esModule", {
|
|
|
value: !0
|
|
|
});
|
|
|
-var s = t("../../../mk/system/JsbSystem"), l = cc._decorator, u = l.ccclass, p = l.property, d = function(t) {
|
|
|
+var s = t("../../../before/util/Util"), l = t("../../../mk/system/JsbSystem"), u = cc._decorator, p = u.ccclass, d = u.property, h = function(t) {
|
|
|
i(e, t);
|
|
|
function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
@@ -17294,7 +17296,7 @@ return [ 2 ];
|
|
|
};
|
|
|
e.prototype.clickCopy = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
-s.default.setClipboard(gData.wechatData.unionid);
|
|
|
+l.default.setClipboard(gData.wechatData.unionid);
|
|
|
mk.tip.pop("复制成功");
|
|
|
};
|
|
|
e.prototype.clickMusic = function() {
|
|
|
@@ -17335,11 +17337,15 @@ return [ 2 ];
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
-e.prototype.clickUpdate = function() {};
|
|
|
+e.prototype.clickUpdate = function() {
|
|
|
+mk.audio.playEffect("button");
|
|
|
+var t = gData.appData.installVersion;
|
|
|
+s.default.versionCompareHandle(gData.appData.appVersion, t) < 0 ? mk.ui.openPanel("module/forceUpdate/forceUpdate") : mk.tip.pop("当前已是最新版本");
|
|
|
+};
|
|
|
e.prototype.onClickWxAuth = function() {
|
|
|
if (!gData.loginData.isAuth) {
|
|
|
mk.ui.closePanel(this.node.name);
|
|
|
-s.default.WxAuth();
|
|
|
+l.default.WxAuth();
|
|
|
this.onClickClose();
|
|
|
}
|
|
|
};
|
|
|
@@ -17357,35 +17363,36 @@ e.prototype.onClickClose = function() {
|
|
|
mk.ad.destroyNativeAd();
|
|
|
mk.ad.checkShowInterByChance();
|
|
|
};
|
|
|
-a([ p({
|
|
|
+a([ d({
|
|
|
type: cc.Sprite,
|
|
|
displayName: "头像"
|
|
|
}) ], e.prototype, "img_head", void 0);
|
|
|
-a([ p({
|
|
|
+a([ d({
|
|
|
type: cc.Label,
|
|
|
displayName: "昵称"
|
|
|
}) ], e.prototype, "lbl_nickname", void 0);
|
|
|
-a([ p({
|
|
|
+a([ d({
|
|
|
type: cc.Label,
|
|
|
displayName: "ID"
|
|
|
}) ], e.prototype, "lbl_id", void 0);
|
|
|
-a([ p({
|
|
|
+a([ d({
|
|
|
type: cc.Sprite,
|
|
|
displayName: "音乐开关"
|
|
|
}) ], e.prototype, "img_music", void 0);
|
|
|
-a([ p({
|
|
|
+a([ d({
|
|
|
type: cc.Sprite,
|
|
|
displayName: "音效开关"
|
|
|
}) ], e.prototype, "img_effect", void 0);
|
|
|
-a([ p({
|
|
|
+a([ d({
|
|
|
type: cc.Label,
|
|
|
displayName: "版本号"
|
|
|
}) ], e.prototype, "lbl_version", void 0);
|
|
|
-return a([ u ], e);
|
|
|
+return a([ p ], e);
|
|
|
}(cc.Component);
|
|
|
-n.default = d;
|
|
|
+n.default = h;
|
|
|
cc._RF.pop();
|
|
|
}, {
|
|
|
+"../../../before/util/Util": "Util",
|
|
|
"../../../mk/system/JsbSystem": "JsbSystem"
|
|
|
} ],
|
|
|
SignData: [ function(t, e, n) {
|