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
f0fa1fde
Commit
f0fa1fde
authored
Aug 20, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
c89d1f9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
IndexScene.ts
project/src/scenes/IndexScene.ts
+2
-2
No files found.
project/src/scenes/IndexScene.ts
View file @
f0fa1fde
...
@@ -68,7 +68,7 @@ export class IndexScene extends Scene {
...
@@ -68,7 +68,7 @@ export class IndexScene extends Scene {
this
.
addChild
(
hand
);
this
.
addChild
(
hand
);
this
.
getIndex
();
this
.
getIndex
();
const
result
=
getWebData
(
WebNetName
.
index
)
const
result
=
getWebData
(
WebNetName
.
index
)
const
array
=
result
.
data
.
options
.
filter
(
i
=>
i
.
id
!=
'thanks'
)
;
const
array
=
result
.
data
.
options
;
list
.
updateData
(
array
);
list
.
updateData
(
array
);
hand
&&
FYGE
.
Tween
.
get
(
hand
,
{
loop
:
true
}).
to
({
scaleX
:
1.5
,
scaleY
:
1.5
},
1000
).
to
({
scaleX
:
1
,
scaleY
:
1
},
1000
);
hand
&&
FYGE
.
Tween
.
get
(
hand
,
{
loop
:
true
}).
to
({
scaleX
:
1.5
,
scaleY
:
1.5
},
1000
).
to
({
scaleX
:
1
,
scaleY
:
1
},
1000
);
this
.
stage
.
addEventListener
(
"restartEnterFrame"
,
this
.
onRestartFrame
,
this
);
this
.
stage
.
addEventListener
(
"restartEnterFrame"
,
this
.
onRestartFrame
,
this
);
...
@@ -177,7 +177,7 @@ export class IndexScene extends Scene {
...
@@ -177,7 +177,7 @@ export class IndexScene extends Scene {
}
else
{
}
else
{
if
(
result
.
data
.
surplusCount
>
0
)
{
if
(
result
.
data
.
surplusCount
>
0
)
{
needCredits
.
text
=
'免费拆盒
1次
'
;
needCredits
.
text
=
'免费拆盒'
;
reDegree
.
text
=
`
${
result
.
data
.
surplusCount
}
`
;
reDegree
.
text
=
`
${
result
.
data
.
surplusCount
}
`
;
getBoxButton
.
visible
=
true
;
getBoxButton
.
visible
=
true
;
shareButton
.
visible
=
false
;
shareButton
.
visible
=
false
;
...
...
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