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
c23cee52
Commit
c23cee52
authored
Aug 25, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
0ba573ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
ResJson.ts
project/src/ResJson.ts
+1
-1
IndexScene.ts
project/src/scenes/IndexScene.ts
+7
-4
No files found.
project/src/ResJson.ts
View file @
c23cee52
...
...
@@ -720,5 +720,5 @@ export const ResJson = {
}
}
],
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/1629
775432
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/1629
872946
/resource/"
}
\ No newline at end of file
project/src/scenes/IndexScene.ts
View file @
c23cee52
...
...
@@ -147,14 +147,17 @@ export class IndexScene extends Scene {
}
getIndex
=
async
()
=>
{
const
result
=
await
getWebData
(
WebNetName
.
index
);
const
needCredits
=
getObject
(
this
,
'index_costtips'
);
if
(
!
isMember
()){
getObject
(
this
,
'index_sharetips'
).
visible
=
false
;
getObject
(
this
,
'index_sharehand'
).
visible
=
false
;
scrollList
.
visible
=
false
;
createPrizeTxt
(
this
);
// scrollList.visible=false;
// createPrizeTxt(this);
needCredits
.
text
=
`
${
result
.
data
.
needCredits
}
`
+
"积分/次"
;
return
;
}
const
result
=
await
getWebData
(
WebNetName
.
index
);
indexData
=
result
;
hand
.
visible
=
false
;
if
(
result
&&
result
.
data
)
{
...
...
@@ -166,7 +169,7 @@ export class IndexScene extends Scene {
}
else
{
credits
.
text
=
`
${
result
.
data
.
credits
}
`
;
}
const
needCredits
=
getObject
(
this
,
'index_costtips'
);
needCredits
.
text
=
`
${
result
.
data
.
needCredits
}
`
+
"积分/次"
;
if
(
result
.
data
.
type
==
1
)
{
reDegree
.
text
=
`
${
result
.
data
.
surplusCount
}
`
;
...
...
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