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
4ff39d29
Commit
4ff39d29
authored
Aug 03, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
31db33f5
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8558 additions
and
234 deletions
+8558
-234
output.js
output.js
+162
-115
output.js.map
output.js.map
+1
-1
圆圈.png
resource/FreePowerPanel/圆圈.png
+0
-0
res.json
resource/res.json
+52
-52
ResJson.ts
src/ResJson.ts
+8338
-61
MapUI.ts
src/scene/map/MapUI.ts
+5
-5
No files found.
output.js
View file @
4ff39d29
This diff is collapsed.
Click to expand it.
output.js.map
View file @
4ff39d29
This diff is collapsed.
Click to expand it.
resource/FreePowerPanel/圆圈.png
View replaced file @
31db33f5
View file @
4ff39d29
145 KB
|
W:
|
H:
146 KB
|
W:
|
H:
2-up
Swipe
Onion skin
resource/res.json
View file @
4ff39d29
This diff is collapsed.
Click to expand it.
src/ResJson.ts
View file @
4ff39d29
This diff is collapsed.
Click to expand it.
src/scene/map/MapUI.ts
View file @
4ff39d29
...
@@ -58,7 +58,7 @@ export default class MapUI extends Container {
...
@@ -58,7 +58,7 @@ export default class MapUI extends Container {
console
.
log
(
'我的奖品'
);
console
.
log
(
'我的奖品'
);
sendTbNet
(
sendTbNet
(
TbNetName
.
navigateTo
,
TbNetName
.
navigateTo
,
{
url
:
'/pages/myPrize/myPrize'
},
{
url
:
'/pages/myPrize/myPrize'
},
()
=>
{
()
=>
{
},
},
true
true
...
@@ -243,7 +243,7 @@ class PrizeBox extends Button {
...
@@ -243,7 +243,7 @@ class PrizeBox extends Button {
this
[
"frames"
]
=
null
this
[
"frames"
]
=
null
// s.scale.x = s.scale.y = 0.9
// s.scale.x = s.scale.y = 0.9
Tween
.
removeTweens
(
this
);
Tween
.
removeTweens
(
this
);
Tween
.
get
(
this
).
to
({
scaleX
:
1
,
scaleY
:
1
},
50
);
Tween
.
get
(
this
).
to
({
scaleX
:
1
,
scaleY
:
1
},
50
);
}
}
}
else
{
}
else
{
// @ts-ignore
// @ts-ignore
...
@@ -254,7 +254,7 @@ class PrizeBox extends Button {
...
@@ -254,7 +254,7 @@ class PrizeBox extends Button {
this
[
"frames"
]
=
this
[
"framesOri"
]
this
[
"frames"
]
=
this
[
"framesOri"
]
// s.scale.x = s.scale.y = 1
// s.scale.x = s.scale.y = 1
Tween
.
removeTweens
(
this
);
Tween
.
removeTweens
(
this
);
Tween
.
get
(
this
).
to
({
scaleX
:
1.2
,
scaleY
:
1.2
},
50
);
Tween
.
get
(
this
).
to
({
scaleX
:
1.2
,
scaleY
:
1.2
},
50
);
}
}
}
}
}
}
...
@@ -329,7 +329,7 @@ class PrizeBox extends Button {
...
@@ -329,7 +329,7 @@ class PrizeBox extends Button {
//有需要,到时再改
//有需要,到时再改
Tools
.
btnDelay
(
this
);
Tools
.
btnDelay
(
this
);
showToast
(
index
.
topAward
.
openPrizeStatus
showToast
(
index
.
topAward
.
openPrizeStatus
?
'已开奖'
:
this
.
tip
.
text
)
?
'已开奖'
:
/* this.tip.text*/
'8月31日10点开奖'
)
},
this
)
},
this
)
}
else
{
}
else
{
let
lowerLevel
=
120
;
let
lowerLevel
=
120
;
...
@@ -344,7 +344,7 @@ class PrizeBox extends Button {
...
@@ -344,7 +344,7 @@ class PrizeBox extends Button {
this
.
prizeImg
.
texture
=
Texture
.
fromUrl
(
Tools
.
baseInfo
.
levelPrize
[
`level_
${
lowerLevel
}
`
]);
this
.
prizeImg
.
texture
=
Texture
.
fromUrl
(
Tools
.
baseInfo
.
levelPrize
[
`level_
${
lowerLevel
}
`
]);
this
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
()
=>
{
this
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
()
=>
{
Tools
.
btnDelay
(
this
);
Tools
.
btnDelay
(
this
);
changeScene
(
LotteryScene
,
{
level
:
lowerLevel
})
changeScene
(
LotteryScene
,
{
level
:
lowerLevel
})
},
this
)
},
this
)
}
}
}
}
...
...
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