Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wfc13
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
wfc13
Commits
2660873b
Commit
2660873b
authored
Aug 19, 2021
by
shunx 马
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c89d1f9a
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
678 additions
and
20 deletions
+678
-20
ResJson.ts
project/src/ResJson.ts
+670
-15
prize.ts
project/src/panels/prize.ts
+1
-1
BoxGroup.ts
project/src/scenes/BoxGroup.ts
+6
-3
IndexScene.ts
project/src/scenes/IndexScene.ts
+1
-1
No files found.
project/src/ResJson.ts
View file @
2660873b
This diff is collapsed.
Click to expand it.
project/src/panels/prize.ts
View file @
2660873b
...
...
@@ -24,7 +24,7 @@ export class PrizePanel extends Panel {
click_prize_open
()
{
sendLog
(
"click"
,
2
);
console
.
log
(
'click_prize_open'
);
location
.
href
=
this
[
'opt'
].
url
;
location
.
href
=
'f34481928.html'
;
}
get
groupNames
()
{
return
[
"prize"
]
}
...
...
project/src/scenes/BoxGroup.ts
View file @
2660873b
...
...
@@ -122,9 +122,12 @@ export class BoxGroup extends FYGE.Sprite {
prizeData
=
await
sendWebNetWithToken
(
WebNetName
.
drawPrize
);
setTimeout
(()
=>
{
sendWebNet
(
WebNetName
.
index
).
then
(
res
=>
{
layers
.
stage
.
dispatchEvent
(
'updateIndexData'
)
})
},
2000
);
if
(
prizeData
&&
prizeData
.
success
)
{
if
(
prizeData
.
data
&&
prizeData
.
data
.
options
)
{
...
...
project/src/scenes/IndexScene.ts
View file @
2660873b
...
...
@@ -116,7 +116,7 @@ export class IndexScene extends Scene {
}
onRestartFrame
()
{
if
(
boxGroup
.
indexsvga
.
parent
)
if
(
boxGroup
&&
boxGroup
.
indexsvga
&&
boxGroup
.
indexsvga
.
parent
)
boxGroup
.
removeChild
(
boxGroup
.
indexsvga
);
if
(
!
this
.
hasEventListener
(
FYGE
.
Event
.
ENTER_FRAME
))
this
.
addEventListener
(
FYGE
.
Event
.
ENTER_FRAME
,
this
.
onEnterFrame
,
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