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
788993b4
Commit
788993b4
authored
Aug 05, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e403a9cc
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1165 additions
and
5 deletions
+1165
-5
skin.json
project/resource/skin.json
+1153
-1
SkinJson.ts
project/src/SkinJson.ts
+2
-2
IndexScene.ts
project/src/scenes/IndexScene.ts
+10
-2
No files found.
project/resource/skin.json
View file @
788993b4
This diff is collapsed.
Click to expand it.
project/src/SkinJson.ts
View file @
788993b4
...
...
@@ -1030,7 +1030,7 @@ export const SkinJson ={
},
{
"name"
:
"index_sumIncomeTips"
,
"x"
:
1
2
3
,
"x"
:
1
9
3
,
"y"
:
560
,
"type"
:
"text"
,
"props"
:
{
...
...
@@ -1054,7 +1054,7 @@ export const SkinJson ={
},
{
"name"
:
"index_sevenDayAnnualizationTips"
,
"x"
:
563
,
"x"
:
469
,
"y"
:
560
,
"type"
:
"text"
,
"props"
:
{
...
...
project/src/scenes/IndexScene.ts
View file @
788993b4
...
...
@@ -24,8 +24,13 @@ const checkUpdateShare = () => {
}
export
class
IndexScene
extends
Scene
{
page
:
FYGE
.
ScrollPage
;
onclick_index_drawBtn
(){
showPanel
(
DrawPanel
);
}
page
:
FYGE
.
ScrollPage
;
initUi
()
{
super
.
initUi
();
...
...
@@ -36,6 +41,7 @@ export class IndexScene extends Scene {
this
.
page
.
view
.
addChild
(
getObject
(
this
,
'index_wrapper'
));
getObject
(
this
,
'index_millionSharesTips'
).
visible
=
false
;
getObject
(
this
,
'index_drawGrayBtn'
).
visible
=
false
;
getObject
(
this
.
page
,
'index_task1'
).
visible
=
false
;
// getObject(this.page,'task2new').visible=false;
...
...
@@ -108,12 +114,14 @@ export class IndexScene extends Scene {
initEvents
()
{
super
.
initEvents
();
watchPageVisibility
(
this
.
onPageVisibilityChange
)
watchPageVisibility
(
this
.
onPageVisibilityChange
);
getObject
(
this
,
'index_drawBtn'
).
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
onclick_index_drawBtn
,
this
)
}
removeEvents
()
{
super
.
removeEvents
();
unwatchPageVisibility
(
this
.
onPageVisibilityChange
)
getObject
(
this
,
'index_drawBtn'
).
removeEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
onclick_index_drawBtn
,
this
)
}
get
groupNames
()
{
return
[
"index"
]
}
...
...
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