|
|
@@ -5012,7 +5012,10 @@ a.default.Inst.initScore();
|
|
|
var g = l.default.Inst.getPoolPrefab(l.NODEPOOLPREFABTYPE.ScoreEnergy);
|
|
|
g.getComponent(h.default).init(y, _, u);
|
|
|
a.default.Inst.node_effectUI.addChild(g);
|
|
|
-this.spr_redPackIcon.node.active && a.default.Inst.finalGetScore < a.default.Inst.targetScore && mk.ui.openPanel("module/reward/rewardLuck");
|
|
|
+if (this.spr_redPackIcon.node.active && a.default.Inst.finalGetScore < a.default.Inst.targetScore) {
|
|
|
+gData.reward.subType = 2;
|
|
|
+mk.ui.openPanel("module/reward/rewardLuck");
|
|
|
+}
|
|
|
}
|
|
|
}
|
|
|
this.spr_redPackIcon.node.active && (this.spr_redPackIcon.node.active = !1);
|
|
|
@@ -6285,13 +6288,13 @@ case 3:
|
|
|
l = c.sent();
|
|
|
a.getComponent(cc.Sprite).spriteFrame = l;
|
|
|
a.setParent(this.node);
|
|
|
-a.scale = mk.math.random(.8, 1.2, !1);
|
|
|
+a.scale = mk.math.random(.56, .84, !1);
|
|
|
a.angle = mk.math.random(-45, 45, !1);
|
|
|
u = (u = cc.v2(mk.math.random(-1, 1, !1), mk.math.random(-1, 1, !1))).normalize();
|
|
|
p = cc.v2(mk.math.random(10, 160, !1) * u.x, mk.math.random(10, 160, !1) * u.y);
|
|
|
d = n.add(p);
|
|
|
a.setPosition(n);
|
|
|
-this.FlyIn(a, d, o, i);
|
|
|
+this.FlyIn(t, a, d, o, i);
|
|
|
c.label = 4;
|
|
|
|
|
|
case 4:
|
|
|
@@ -6304,40 +6307,56 @@ return [ 2 ];
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
-e.prototype.FlyIn = function(t, e, n, o) {
|
|
|
-var i = this;
|
|
|
-void 0 === n && (n = null);
|
|
|
+e.prototype.FlyIn = function(t, e, n, o, i) {
|
|
|
+var r = this;
|
|
|
void 0 === o && (o = null);
|
|
|
-cc.tween(t).to(mk.math.random(.3, .6, !1), {
|
|
|
-position: cc.v3(e)
|
|
|
+void 0 === i && (i = null);
|
|
|
+cc.tween(e).to(mk.math.random(.3, .6, !1), {
|
|
|
+position: cc.v3(n)
|
|
|
}, cc.easeSineInOut()).call(function() {
|
|
|
-i.FlyOut(t, n, o);
|
|
|
+r.FlyOut(t, e, o, i);
|
|
|
}).start();
|
|
|
};
|
|
|
-e.prototype.FlyOut = function(t, e, n) {
|
|
|
-void 0 === n && (n = null);
|
|
|
-var o = mk.math.random(.3, 1, !1);
|
|
|
-cc.tween(t).to(o, {
|
|
|
+e.prototype.FlyOut = function(t, e, n, o) {
|
|
|
+var i = this;
|
|
|
+void 0 === o && (o = null);
|
|
|
+var r = mk.math.random(.3, 1, !1);
|
|
|
+cc.tween(e).to(r, {
|
|
|
scale: .8
|
|
|
}).start();
|
|
|
-var i = null, r = null;
|
|
|
-if ("string" == typeof e) {
|
|
|
-var a = (r = cc.find(e)).parent.convertToWorldSpaceAR(r.getPosition());
|
|
|
-i = this.node.convertToNodeSpaceAR(a);
|
|
|
-} else i = e;
|
|
|
-cc.tween(t).to(o, {
|
|
|
-position: cc.v3(i)
|
|
|
+var a = null, c = null;
|
|
|
+if ("string" == typeof n) {
|
|
|
+var s = (c = cc.find(n)).parent.convertToWorldSpaceAR(c.getPosition());
|
|
|
+a = this.node.convertToNodeSpaceAR(s);
|
|
|
+} else a = n;
|
|
|
+cc.tween(e).to(r, {
|
|
|
+position: cc.v3(a)
|
|
|
}, cc.easeSineOut()).call(function() {
|
|
|
-console.log("end_pos ", t.position);
|
|
|
-mk.pool.return("game/prefab/coin", t);
|
|
|
-r && cc.tween(r).to(.1, {
|
|
|
+console.log("end_pos ", e.position);
|
|
|
+mk.pool.return("game/prefab/coin", e);
|
|
|
+c && cc.tween(c).to(.1, {
|
|
|
scale: 1.2
|
|
|
}).to(.05, {
|
|
|
scale: 1
|
|
|
}).start();
|
|
|
-null != n && n();
|
|
|
+if (null != o) {
|
|
|
+o();
|
|
|
+i.iconScale(t);
|
|
|
+}
|
|
|
}).start();
|
|
|
};
|
|
|
+e.prototype.iconScale = function(t) {
|
|
|
+var e;
|
|
|
+1 === t ? e = gData.gameData.gameStyle.icon_hb : 3 === t && (e = gData.gameData.gameStyle.icon_zb);
|
|
|
+if (e) {
|
|
|
+var n = cc.tween().to(.05, {
|
|
|
+scale: .9
|
|
|
+}), o = cc.tween().to(.05, {
|
|
|
+scale: 1
|
|
|
+}), i = cc.tween().sequence(n, o);
|
|
|
+cc.tween(e).then(i).repeat(2).start();
|
|
|
+}
|
|
|
+};
|
|
|
return r([ s ], e);
|
|
|
}(cc.Component);
|
|
|
n.default = l;
|
|
|
@@ -7139,9 +7158,9 @@ t[t.redBag_cash_bar = 220] = "redBag_cash_bar";
|
|
|
var c = function() {
|
|
|
function t() {
|
|
|
this.gameUserData = 0;
|
|
|
-this.isSignInToday = 0;
|
|
|
+this._isSignInToday = 0;
|
|
|
this._piggyBank = 0;
|
|
|
-this.isWithdrawable = 0;
|
|
|
+this._isWithdrawable = 0;
|
|
|
this.piggyBankCashTimes = 0;
|
|
|
this.totalPiggyBankCashTimes = 0;
|
|
|
this.cashIndex = 0;
|
|
|
@@ -7149,7 +7168,7 @@ this.lastTime = 0;
|
|
|
this.loginDays = 0;
|
|
|
this.newPlayer = 0;
|
|
|
this._redMoney = 0;
|
|
|
-this.signInDay = 0;
|
|
|
+this._signInDay = 0;
|
|
|
this.turntableTimes = 0;
|
|
|
this.versioncfg = 0;
|
|
|
this.userTuCaoInfo = 0;
|
|
|
@@ -7158,6 +7177,17 @@ this.hammerPropNum = 0;
|
|
|
this.resetPropNum = 0;
|
|
|
this.changePropNum = 0;
|
|
|
}
|
|
|
+Object.defineProperty(t.prototype, "isSignInToday", {
|
|
|
+get: function() {
|
|
|
+return this._isSignInToday;
|
|
|
+},
|
|
|
+set: function(t) {
|
|
|
+this._isSignInToday = t;
|
|
|
+gData.sign.init_data = !0;
|
|
|
+},
|
|
|
+enumerable: !1,
|
|
|
+configurable: !0
|
|
|
+});
|
|
|
Object.defineProperty(t.prototype, "piggyBank", {
|
|
|
get: function() {
|
|
|
return this._piggyBank;
|
|
|
@@ -7165,6 +7195,20 @@ return this._piggyBank;
|
|
|
set: function(t) {
|
|
|
this._piggyBank = t;
|
|
|
gData.gameData.init_coin = !0;
|
|
|
+gData.pigbank.init_data = !0;
|
|
|
+},
|
|
|
+enumerable: !1,
|
|
|
+configurable: !0
|
|
|
+});
|
|
|
+Object.defineProperty(t.prototype, "isWithdrawable", {
|
|
|
+get: function() {
|
|
|
+return this._isWithdrawable;
|
|
|
+},
|
|
|
+set: function(t) {
|
|
|
+if (this._isWithdrawable != t) {
|
|
|
+this._isWithdrawable = t;
|
|
|
+gData.pigbank.init_data = !0;
|
|
|
+}
|
|
|
},
|
|
|
enumerable: !1,
|
|
|
configurable: !0
|
|
|
@@ -7180,6 +7224,17 @@ gData.gameData.init_coin = !0;
|
|
|
enumerable: !1,
|
|
|
configurable: !0
|
|
|
});
|
|
|
+Object.defineProperty(t.prototype, "signInDay", {
|
|
|
+get: function() {
|
|
|
+return this._signInDay;
|
|
|
+},
|
|
|
+set: function(t) {
|
|
|
+this._signInDay = t;
|
|
|
+gData.sign.init_data = !0;
|
|
|
+},
|
|
|
+enumerable: !1,
|
|
|
+configurable: !0
|
|
|
+});
|
|
|
return t;
|
|
|
}();
|
|
|
(function(t) {
|
|
|
@@ -8464,7 +8519,10 @@ e.prototype.onClickStart = function() {
|
|
|
this.node_gameplay.active = !0;
|
|
|
};
|
|
|
e.prototype.onClickShare = function() {
|
|
|
-gData.loginData.isAuth ? s.default.sharePic() : mk.tip.pop("请先点击头像,在设置界面授权");
|
|
|
+if (gData.loginData.isAuth) {
|
|
|
+console.log("=== 分享图片");
|
|
|
+s.default.sharePic();
|
|
|
+} else mk.tip.pop("请先点击头像,在设置界面授权");
|
|
|
};
|
|
|
r([ d({
|
|
|
type: cc.Node,
|
|
|
@@ -9051,9 +9109,7 @@ var e = null !== t && t.apply(this, arguments) || this;
|
|
|
e.lbl_desc = null;
|
|
|
return e;
|
|
|
}
|
|
|
-e.prototype.start = function() {
|
|
|
-mk.audio.playEffect("button");
|
|
|
-};
|
|
|
+e.prototype.start = function() {};
|
|
|
e.prototype.update = function() {
|
|
|
gData.help.init_desc_name && (this.lbl_desc.string = gData.help.des);
|
|
|
};
|
|
|
@@ -9433,7 +9489,7 @@ t.ShareToMiniGame = function() {
|
|
|
cc.sys.os == cc.sys.OS_ANDROID ? this.callStaticMethod(this._JSB_ANDROID_PATH, "ShareToMiniGame", "()V") : cc.sys.os == cc.sys.OS_IOS && this.callStaticMethod("AppController", "WxAuth", "");
|
|
|
};
|
|
|
t.sharePic = function() {
|
|
|
-cc.sys.platform != cc.sys.WECHAT_GAME && (cc.sys.os == cc.sys.OS_ANDROID ? jsb.reflection.callStaticMethod("org/cocos2dx/javascript/config/TTAdManagerHolder", "sharePic", "()V") : cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("GameConfig", "sharePic:", ""));
|
|
|
+cc.sys.platform != cc.sys.WECHAT_GAME && (cc.sys.os == cc.sys.OS_ANDROID ? jsb.reflection.callStaticMethod(this._JSB_ANDROID_PATH, "sharePic", "()V") : cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("GameConfig", "sharePic:", ""));
|
|
|
};
|
|
|
t.downFile2Local = function(t, e, n, o, i) {
|
|
|
var r = jsb.fileUtils.getWritablePath() + e;
|
|
|
@@ -11955,26 +12011,10 @@ i(e, t);
|
|
|
function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
e.init_data = !0;
|
|
|
-e._cash_enable = 0;
|
|
|
e.cash_min_limit = .3;
|
|
|
return e;
|
|
|
}
|
|
|
-e.prototype.init = function() {
|
|
|
-this.cash_enable = gData.gameData.gameData.isWithdrawable;
|
|
|
-};
|
|
|
-Object.defineProperty(e.prototype, "cash_enable", {
|
|
|
-get: function() {
|
|
|
-return this._cash_enable;
|
|
|
-},
|
|
|
-set: function(t) {
|
|
|
-if (this._cash_enable != t) {
|
|
|
-this._cash_enable = t;
|
|
|
-this.init_data = !0;
|
|
|
-}
|
|
|
-},
|
|
|
-enumerable: !1,
|
|
|
-configurable: !0
|
|
|
-});
|
|
|
+e.prototype.init = function() {};
|
|
|
e.prototype.cashOP = function() {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
var t, e;
|
|
|
@@ -11994,7 +12034,7 @@ gData.receiptNotice.receip_rmb = gData.gameData.gameData.piggyBank;
|
|
|
gData.cashNormal.receip_total_rmb += gData.receiptNotice.receip_rmb;
|
|
|
mk.ui.openPanel("module/receiptNotice/receiptNotice");
|
|
|
} else e.CashMode;
|
|
|
-this.cash_enable = 0;
|
|
|
+gData.gameData.gameData.isWithdrawable = 0;
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
});
|
|
|
@@ -12168,7 +12208,7 @@ gData.pigbank.init_data = !1;
|
|
|
gData.pigbank.adData = null;
|
|
|
};
|
|
|
e.prototype.initCashDesc = function() {
|
|
|
-if (gData.pigbank.cash_enable) {
|
|
|
+if (gData.gameData.gameData.isWithdrawable) {
|
|
|
this.lbl_get_desc.string = "直接提现";
|
|
|
this.node_tip_anim.active = !1;
|
|
|
this.anim_btn_cash.play();
|
|
|
@@ -12186,10 +12226,10 @@ this.lbl_deposit.string = t + "元";
|
|
|
};
|
|
|
e.prototype.clickCashOP = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
-if (gData.pigbank.cash_enable) {
|
|
|
+if (gData.gameData.gameData.isWithdrawable) if (gData.gameData.gameData.piggyBank < gData.pigbank.cash_min_limit) mk.tip.pop("满" + gData.pigbank.cash_min_limit + "元可提现"); else {
|
|
|
gData.pigbank.cashOP();
|
|
|
mk.ui.closePanel(this.node.name);
|
|
|
-} else mk.tip.pop("满" + gData.pigbank.cash_min_limit + "元可提现");
|
|
|
+} else mk.tip.pop("明日可提现");
|
|
|
};
|
|
|
e.prototype.clickOpenHelpCall = function() {
|
|
|
return a(this, void 0, void 0, function() {
|
|
|
@@ -12588,10 +12628,8 @@ t[t.BonusTip = 5] = "BonusTip";
|
|
|
t[t.ScoreEnergy = 6] = "ScoreEnergy";
|
|
|
t[t.Hammer = 7] = "Hammer";
|
|
|
t[t.Change = 8] = "Change";
|
|
|
-t[t.CashOutItem = 9] = "CashOutItem";
|
|
|
t[t.TipItemUI = 10] = "TipItemUI";
|
|
|
t[t.GetTargetScoreTip = 11] = "GetTargetScoreTip";
|
|
|
-t[t.LevelRedPacketItem = 12] = "LevelRedPacketItem";
|
|
|
t[t.GetScore = 13] = "GetScore";
|
|
|
t[t.TipSpriteItemUI = 14] = "TipSpriteItemUI";
|
|
|
})(i = n.NODEPOOLPREFABTYPE || (n.NODEPOOLPREFABTYPE = {}));
|
|
|
@@ -14431,6 +14469,7 @@ function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
e.init_cash_style = !0;
|
|
|
e._data = [];
|
|
|
+e.subType = 1;
|
|
|
return e;
|
|
|
}
|
|
|
Object.defineProperty(e.prototype, "data", {
|
|
|
@@ -14660,12 +14699,15 @@ this.spr_cash_out.fillRange = gData.gameData.gameData.redMoney / e.type_value;
|
|
|
};
|
|
|
e.prototype.clickWatchVideo = function() {
|
|
|
cc.log("看广告请求");
|
|
|
-gData.reward.data[0] && gData.reward.data[0].rewardType === p.RewardType.redBag ? mk.ad.watchAd(function(t) {
|
|
|
+this.lid_type === s.mission ? mk.ad.watchAd(function(t) {
|
|
|
mk.console.log("watchAD:" + t);
|
|
|
t && gData.adData.watchVideo(u.AdFun.settlement);
|
|
|
}) : mk.ad.watchAd(function(t) {
|
|
|
mk.console.log("watchAD:" + t);
|
|
|
-t && gData.adData.watchVideo(u.AdFun.bubble);
|
|
|
+if (t) {
|
|
|
+gData.adData.watchVideo(2 === gData.reward.subType ? u.AdFun.checkpoint : u.AdFun.bubble);
|
|
|
+gData.reward.subType = null;
|
|
|
+}
|
|
|
});
|
|
|
};
|
|
|
e.prototype.watchVideoCall = function() {
|
|
|
@@ -15808,8 +15850,6 @@ function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
e.init_data = !1;
|
|
|
e._c_sign = [];
|
|
|
-e._sign_last_bar = 0;
|
|
|
-e._sign_can = 1;
|
|
|
e.list_data = [];
|
|
|
return e;
|
|
|
}
|
|
|
@@ -15820,8 +15860,6 @@ for (var e in t) t[e] = parseInt(t[e]);
|
|
|
});
|
|
|
this.c_sign = gData.gameData.configs.SignIn;
|
|
|
}
|
|
|
-this.sign_last_bar = gData.gameData.gameData.signInDay;
|
|
|
-this.sign_can = gData.gameData.gameData.isSignInToday;
|
|
|
};
|
|
|
Object.defineProperty(e.prototype, "c_sign", {
|
|
|
get: function() {
|
|
|
@@ -15834,28 +15872,6 @@ this.init_data = !0;
|
|
|
enumerable: !1,
|
|
|
configurable: !0
|
|
|
});
|
|
|
-Object.defineProperty(e.prototype, "sign_last_bar", {
|
|
|
-get: function() {
|
|
|
-return this._sign_last_bar;
|
|
|
-},
|
|
|
-set: function(t) {
|
|
|
-this._sign_last_bar = t;
|
|
|
-this.init_data = !0;
|
|
|
-},
|
|
|
-enumerable: !1,
|
|
|
-configurable: !0
|
|
|
-});
|
|
|
-Object.defineProperty(e.prototype, "sign_can", {
|
|
|
-get: function() {
|
|
|
-return this._sign_can;
|
|
|
-},
|
|
|
-set: function(t) {
|
|
|
-this._sign_can = t;
|
|
|
-this.init_data = !0;
|
|
|
-},
|
|
|
-enumerable: !1,
|
|
|
-configurable: !0
|
|
|
-});
|
|
|
e.prototype.initListData = function() {
|
|
|
for (var t = [], e = 0; e < 30; ) {
|
|
|
for (var n = [], o = 0; o < 3; o++) {
|
|
|
@@ -15868,60 +15884,50 @@ t.push(n);
|
|
|
this.list_data = t;
|
|
|
};
|
|
|
e.prototype.getStateByDay = function(t) {
|
|
|
-return t <= this.sign_last_bar ? s.RewardState.none : this.sign_can && t == this.sign_last_bar + 1 ? s.RewardState.unlock : s.RewardState.lock;
|
|
|
+return t <= gData.gameData.gameData.signInDay ? s.RewardState.none : 0 == gData.gameData.gameData.isSignInToday && t == gData.gameData.gameData.signInDay + 1 ? s.RewardState.unlock : s.RewardState.lock;
|
|
|
};
|
|
|
e.prototype.haveSignDay = function() {
|
|
|
-return !(this.sign_last_bar >= this.c_sign.length);
|
|
|
+return !(gData.gameData.gameData.signInDay >= this.c_sign.length);
|
|
|
};
|
|
|
e.prototype.signComplete = function() {
|
|
|
return r(this, void 0, void 0, function() {
|
|
|
-var t, e, n, o;
|
|
|
-return a(this, function(i) {
|
|
|
-switch (i.label) {
|
|
|
+var t, e, n;
|
|
|
+return a(this, function(o) {
|
|
|
+switch (o.label) {
|
|
|
case 0:
|
|
|
-this.sign_can = 0;
|
|
|
-this.sign_last_bar++;
|
|
|
gData.gameData.gameData.signInDay++;
|
|
|
-gData.gameData.gameData.isSignInToday = 0;
|
|
|
-t = [ {
|
|
|
-key: s.GameProp.sign_can,
|
|
|
-value: this.sign_can
|
|
|
-}, {
|
|
|
-key: s.GameProp.sign_last_bar,
|
|
|
-value: this.sign_last_bar
|
|
|
-} ];
|
|
|
-gData.gameData.setProps(t);
|
|
|
-if ((e = this.c_sign[this.sign_last_bar - 1]).rewardType !== s.RewardType.redBag) return [ 3, 1 ];
|
|
|
-gData.reward.data = [ e ];
|
|
|
+gData.gameData.gameData.isSignInToday = 1;
|
|
|
+if ((t = this.c_sign[gData.gameData.gameData.signInDay - 1]).rewardType !== s.RewardType.redBag) return [ 3, 1 ];
|
|
|
+gData.reward.data = [ t ];
|
|
|
mk.ui.openPanel("module/reward/reward");
|
|
|
return [ 3, 4 ];
|
|
|
|
|
|
case 1:
|
|
|
-if (e.rewardType !== s.RewardType.rmb) return [ 3, 3 ];
|
|
|
-n = {};
|
|
|
-return [ 4, mk.http.sendRequest("readyCash", "POST", JSON.stringify(n)) ];
|
|
|
+if (t.rewardType !== s.RewardType.rmb) return [ 3, 3 ];
|
|
|
+e = {};
|
|
|
+return [ 4, mk.http.sendRequest("readyCash", "POST", JSON.stringify(e)) ];
|
|
|
|
|
|
case 2:
|
|
|
-if (0 != (o = i.sent()).errcode) {
|
|
|
+if (0 != (n = o.sent()).errcode) {
|
|
|
mk.tip.pop("系统异常");
|
|
|
return [ 2 ];
|
|
|
}
|
|
|
-if (0 == o.CashMode) {
|
|
|
-gData.receiptNotice.receip_rmb = e.rewardNum;
|
|
|
+if (0 == n.CashMode) {
|
|
|
+gData.receiptNotice.receip_rmb = t.rewardNum;
|
|
|
gData.cashNormal.receip_total_rmb += gData.receiptNotice.receip_rmb;
|
|
|
mk.ui.openPanel("module/receiptNotice/receiptNotice");
|
|
|
-} else o.CashMode;
|
|
|
+} else n.CashMode;
|
|
|
return [ 3, 4 ];
|
|
|
|
|
|
case 3:
|
|
|
-if (e.rewardType === s.RewardType.pigRmb) {
|
|
|
+if (t.rewardType === s.RewardType.pigRmb) {
|
|
|
gData.reward.data = [ {
|
|
|
-rewardNum: e.rewardNum,
|
|
|
-rewardType: e.rewardType
|
|
|
+rewardNum: t.rewardNum,
|
|
|
+rewardType: t.rewardType
|
|
|
} ];
|
|
|
mk.ui.openPanel("module/reward/reward");
|
|
|
}
|
|
|
-i.label = 4;
|
|
|
+o.label = 4;
|
|
|
|
|
|
case 4:
|
|
|
return [ 2 ];
|
|
|
@@ -15932,7 +15938,7 @@ return [ 2 ];
|
|
|
e.prototype.getItemIndexByCanSign = function() {
|
|
|
for (var t = 0, e = this.list_data.length, n = 0; n < e; n++) for (var o = this.list_data[n].length, i = 0; i < o; i++) {
|
|
|
var r = this.getStateByDay(this.list_data[n][i].loginDay);
|
|
|
-if (this.sign_can) {
|
|
|
+if (0 == gData.gameData.gameData.isSignInToday) {
|
|
|
if (r === s.RewardState.unlock) return n;
|
|
|
} else if (r === s.RewardState.lock) return n;
|
|
|
}
|
|
|
@@ -16419,7 +16425,7 @@ gData.sign.adData = null;
|
|
|
};
|
|
|
e.prototype.clickReceiveReward = function() {
|
|
|
mk.audio.playEffect("button");
|
|
|
-gData.sign.sign_can && gData.sign.haveSignDay() && mk.ad.watchAd(function(t) {
|
|
|
+1 != gData.gameData.gameData.isSignInToday && gData.sign.haveSignDay() && mk.ad.watchAd(function(t) {
|
|
|
mk.console.log("watchAD:" + t);
|
|
|
t && gData.adData.watchVideo(a.AdFun.sign);
|
|
|
});
|
|
|
@@ -16430,7 +16436,7 @@ gData.sign.signComplete();
|
|
|
this.tableview.resetItemData(t, gData.sign.list_data[t]);
|
|
|
};
|
|
|
e.prototype.initBtnStyle = function() {
|
|
|
-if (gData.sign.sign_can && gData.sign.haveSignDay()) {
|
|
|
+if (0 == gData.gameData.gameData.isSignInToday && gData.sign.haveSignDay()) {
|
|
|
this.anim_btn.play();
|
|
|
this.anim_btn.getComponent("SetGray").setGray(!1);
|
|
|
} else {
|