Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
翁阳
babycare_xiaoxiao
Commits
e9493a66
Commit
e9493a66
authored
Mar 30, 2021
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
e5156445
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
7 deletions
+14
-7
output.js
output.js
+10
-3
output.js.map
output.js.map
+1
-1
开奖按钮120.png
resource/SuccessPanel/开奖按钮120.png
+0
-0
ResJson.ts
src/ResJson.ts
+1
-1
MapUI.ts
src/scene/map/MapUI.ts
+2
-2
No files found.
output.js
View file @
e9493a66
...
@@ -10304,7 +10304,7 @@ exports.ResJson = {
...
@@ -10304,7 +10304,7 @@ exports.ResJson = {
}
}
}
}
],
],
"path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/16
09839558
/resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/16
15866493
/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月2
0日10点开奖';
? '已开奖' : '
4月3
0日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月2
0日10点开奖');
? '已开奖' : '
4月3
0日10点开奖');
}, this);
}, this);
}
}
else {
else {
output.js.map
View file @
e9493a66
This source diff could not be displayed because it is too large. You can
view the blob
instead.
resource/SuccessPanel/开奖按钮120.png
View replaced file @
e5156445
View file @
e9493a66
23.9 KB
|
W:
|
H:
21.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/ResJson.ts
View file @
e9493a66
...
@@ -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/16
09839558
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/16
15866493
/resource/"
}
}
\ No newline at end of file
src/scene/map/MapUI.ts
View file @
e9493a66
...
@@ -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月2
0日10点开奖'
;
?
'已开奖'
:
'
4月3
0日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月2
0日10点开奖'
)
?
'已开奖'
:
'
4月3
0日10点开奖'
)
},
this
)
},
this
)
}
else
{
}
else
{
let
lowerLevel
=
120
;
let
lowerLevel
=
120
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment