Commit e9493a66 authored by wjf's avatar wjf

l

parent e5156445
...@@ -10304,7 +10304,7 @@ exports.ResJson = { ...@@ -10304,7 +10304,7 @@ exports.ResJson = {
} }
} }
], ],
"path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/1609839558/resource/" "path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/1615866493/resource/"
}; };
...@@ -19532,6 +19532,7 @@ var PlayScene = (function (_super) { ...@@ -19532,6 +19532,7 @@ var PlayScene = (function (_super) {
this.elementContainer = new FYGE.Container(); this.elementContainer = new FYGE.Container();
this.addChild(this.elementContainer); this.addChild(this.elementContainer);
var mask = aaa_1.drawShape(path); var mask = aaa_1.drawShape(path);
mask.hitTestByPixel = false;
this.elementContainer.mask = mask; this.elementContainer.mask = mask;
mask.updateShape(); mask.updateShape();
this.addChild(mask); this.addChild(mask);
...@@ -20154,6 +20155,12 @@ var PlayScene = (function (_super) { ...@@ -20154,6 +20155,12 @@ var PlayScene = (function (_super) {
PlayScene.prototype.fall = function (callback) { PlayScene.prototype.fall = function (callback) {
var _this = this; var _this = this;
Tool_1.Tool.removeReapty(this.emptys); Tool_1.Tool.removeReapty(this.emptys);
for (var i = this.emptys.length - 1; i >= 0; i--) {
if (this.lattices[this.emptys[i]].element) {
console.warn("该格子索引空格有误:" + this.emptys[i]);
this.emptys.splice(i, 1);
}
}
if (Tool_1.Tool.judgeOutOne(this.emptys, this.lattices)) { if (Tool_1.Tool.judgeOutOne(this.emptys, this.lattices)) {
var anis = this.fallVerticalEx(); var anis = this.fallVerticalEx();
if (!anis.length) { if (!anis.length) {
...@@ -22803,14 +22810,14 @@ var PrizeBox = (function (_super) { ...@@ -22803,14 +22810,14 @@ var PrizeBox = (function (_super) {
else if (prizes.length == 1 && +prizes[0].level == 120) { else if (prizes.length == 1 && +prizes[0].level == 120) {
var index_1 = TaoBaoNet_1.getTbData(TaoBaoNet_1.TbNetName.getIndex).data; var index_1 = TaoBaoNet_1.getTbData(TaoBaoNet_1.TbNetName.getIndex).data;
this.checkTip.text = index_1.topAward.openPrizeStatus this.checkTip.text = index_1.topAward.openPrizeStatus
? '已开奖' : '2月20日10点开奖'; ? '已开奖' : '4月30日10点开奖';
this.checkTip.size = 18; this.checkTip.size = 18;
this.tip.text = ""; this.tip.text = "";
this.prizeImg.texture = Texture.fromUrl(Tools_1.Tools.baseInfo.levelPrize['level_120']); this.prizeImg.texture = Texture.fromUrl(Tools_1.Tools.baseInfo.levelPrize['level_120']);
this.addEventListener(FYGE.MouseEvent.CLICK, function () { this.addEventListener(FYGE.MouseEvent.CLICK, function () {
Tools_1.Tools.btnDelay(_this); Tools_1.Tools.btnDelay(_this);
ctrls_1.showToast(index_1.topAward.openPrizeStatus ctrls_1.showToast(index_1.topAward.openPrizeStatus
? '已开奖' : '2月20日10点开奖'); ? '已开奖' : '4月30日10点开奖');
}, this); }, this);
} }
else { else {
This diff is collapsed.
...@@ -8442,5 +8442,5 @@ export const ResJson = { ...@@ -8442,5 +8442,5 @@ export const ResJson = {
} }
} }
], ],
"path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/1609839558/resource/" "path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/1615866493/resource/"
} }
\ No newline at end of file
...@@ -395,7 +395,7 @@ class PrizeBox extends Button { ...@@ -395,7 +395,7 @@ class PrizeBox extends Button {
const index = getTbData(TbNetName.getIndex).data const index = getTbData(TbNetName.getIndex).data
this.checkTip.text = index.topAward.openPrizeStatus this.checkTip.text = index.topAward.openPrizeStatus
? '已开奖' : '2月20日10点开奖'; ? '已开奖' : '4月30日10点开奖';
this.checkTip.size = 18; this.checkTip.size = 18;
// ? '已开奖' : '等待开奖'; // ? '已开奖' : '等待开奖';
// this.tip.text = `8月31日10点`; // this.tip.text = `8月31日10点`;
...@@ -406,7 +406,7 @@ class PrizeBox extends Button { ...@@ -406,7 +406,7 @@ class PrizeBox extends Button {
//有需要,到时再改 //有需要,到时再改
Tools.btnDelay(this); Tools.btnDelay(this);
showToast(index.topAward.openPrizeStatus showToast(index.topAward.openPrizeStatus
? '已开奖' : '2月20日10点开奖') ? '已开奖' : '4月30日10点开奖')
}, this) }, this)
} else { } else {
let lowerLevel = 120; let lowerLevel = 120;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment