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
cb7e42e1
Commit
cb7e42e1
authored
Aug 09, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
a8f5dee5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
shareInfo.do.json
project/mock/webNet/shareAssist/shareInfo.do.json
+2
-2
centerTextField.ts
project/src/centerTextField.ts
+5
-0
ShareScene.ts
project/src/scenes/ShareScene.ts
+3
-0
No files found.
project/mock/webNet/shareAssist/shareInfo.do.json
View file @
cb7e42e1
{
{
"code"
:
null
,
"code"
:
null
,
"data"
:
{
"data"
:
{
"experienceAmount"
:
1
000
,
"experienceAmount"
:
1
23456
,
"preIncom"
:
0.41
,
"preIncom"
:
0.41
,
"remainAssist"
:
9
"remainAssist"
:
1234567890
},
},
"message"
:
null
,
"message"
:
null
,
"success"
:
true
"success"
:
true
...
...
project/src/centerTextField.ts
0 → 100644
View file @
cb7e42e1
export
default
(
txt
)
=>
{
txt
.
x
=
0
;
txt
.
textWidth
=
750
;
txt
.
textAlign
=
'center'
;
}
\ No newline at end of file
project/src/scenes/ShareScene.ts
View file @
cb7e42e1
import
{
showPanel
}
from
"../../module/ctrls"
;
import
{
showPanel
}
from
"../../module/ctrls"
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
centerTextField
from
"../centerTextField"
;
import
Marquee
from
"../common/Marquee"
;
import
Marquee
from
"../common/Marquee"
;
import
getObject
from
"../getObject"
;
import
getObject
from
"../getObject"
;
import
getQueryParams
from
"../getQueryParams"
;
import
getQueryParams
from
"../getQueryParams"
;
...
@@ -79,6 +80,8 @@ export class ShareScene extends Scene {
...
@@ -79,6 +80,8 @@ export class ShareScene extends Scene {
initUi
()
{
initUi
()
{
super
.
initUi
();
super
.
initUi
();
centerTextField
(
getObject
(
this
,
'share_tips1'
));
centerTextField
(
getObject
(
this
,
'share_tips2'
));
}
}
}
}
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