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
c31397fe
Commit
c31397fe
authored
Sep 27, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5163e0f6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
7 deletions
+17
-7
index.do.json
project/mock/webNet/dazzle/index.do.json
+3
-3
ResJson.ts
project/src/ResJson.ts
+1
-1
notEnoughMoneyShareHasTimes.ts
project/src/panels/notEnoughMoneyShareHasTimes.ts
+2
-0
IndexScene.ts
project/src/scenes/IndexScene.ts
+11
-3
No files found.
project/mock/webNet/dazzle/index.do.json
View file @
c31397fe
...
...
@@ -3,10 +3,10 @@
"data"
:
{
"needPop"
:
0
,
"activityOver"
:
false
,
"surplusCount"
:
0
,
"credits"
:
2
22
,
"surplusCount"
:
1
,
"credits"
:
2
,
"needCredits"
:
111
,
"type"
:
2
,
"type"
:
1
,
"options"
:
[{
"degree"
:
null
,
"icon"
:
"//yun.duiba.com.cn/images/202108/ma00scey0f.png"
,
...
...
project/src/ResJson.ts
View file @
c31397fe
...
...
@@ -831,5 +831,5 @@ export const ResJson = {
}
}
],
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/16327
10327
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/16327
31459
/resource/"
}
\ No newline at end of file
project/src/panels/notEnoughMoneyShareHasTimes.ts
View file @
c31397fe
...
...
@@ -13,6 +13,8 @@ export class notEnoughMoneyShareHasTimesPanel extends Panel {
hidePanel
()
{
this
.
stage
.
dispatchEvent
(
"restartEnterFrame"
,
{})
this
.
stage
.
dispatchEvent
(
"updateShareTips"
,
{})
super
.
hidePanel
();
}
...
...
project/src/scenes/IndexScene.ts
View file @
c31397fe
...
...
@@ -116,6 +116,7 @@ export class IndexScene extends Scene {
list
.
updateData
(
arrayNew
);
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
(
"updateShareTips"
,
this
.
updateShareTips
,
this
);
boxGroup
.
addEventListener
(
"stopIndexEnterFrame"
,
this
.
removeEvent
,
this
);
shareButton
=
getObject
(
this
,
'index_sharetips'
);
shareButton
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
()
=>
{
...
...
@@ -249,9 +250,9 @@ export class IndexScene extends Scene {
getBoxButton
.
visible
=
true
;
shareButton
.
visible
=
false
;
if
(
result
.
data
.
needCredits
>
result
.
data
.
credits
)
{
hand
.
visible
=
true
;
getBoxButton
.
visible
=
false
;
shareButton
.
visible
=
true
;
//
hand.visible = true;
//
getBoxButton.visible = false;
//
shareButton.visible = true;
}
}
}
else
{
...
...
@@ -275,5 +276,12 @@ export class IndexScene extends Scene {
}
}
updateShareTips
(){
const
getBoxButton
=
getObject
(
this
,
'index_opentips'
);
hand
.
visible
=
true
;
getBoxButton
.
visible
=
false
;
shareButton
.
visible
=
true
;
}
}
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