Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
xiaoxiaole
Commits
785360ae
Commit
785360ae
authored
Oct 14, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c28b5656
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
48 deletions
+19
-48
StartPanel.ts
egret/src/panels/StartPanel.ts
+2
-1
levelNumRank.json
mock/happyclear/levelNumRank.json
+17
-47
No files found.
egret/src/panels/StartPanel.ts
View file @
785360ae
...
@@ -32,7 +32,8 @@ export default class StartPanel extends Panel {
...
@@ -32,7 +32,8 @@ export default class StartPanel extends Panel {
this
[
'empty'
].
visible
=
false
;
this
[
'empty'
].
visible
=
false
;
NetManager
.
ins
.
hc_levelNumRank
(()
=>
{
NetManager
.
ins
.
hc_levelNumRank
(()
=>
{
const
{
data
:
friends
}
=
DataManager
.
ins
.
getData
(
'hc_levelNumRank'
);
let
{
data
:
friends
}
=
DataManager
.
ins
.
getData
(
'hc_levelNumRank'
);
friends
=
friends
.
rank
;
if
(
friends
&&
friends
.
length
>
0
)
{
if
(
friends
&&
friends
.
length
>
0
)
{
this
.
friendlist
.
visible
=
true
;
this
.
friendlist
.
visible
=
true
;
if
(
friends
.
length
>
5
)
if
(
friends
.
length
>
5
)
...
...
mock/happyclear/levelNumRank.json
View file @
785360ae
{
{
"success"
:
true
,
"success"
:
true
,
"code"
:
null
,
"code"
:
"0000000000"
,
"desc"
:
null
,
"desc"
:
"OK"
,
"timestamp"
:
1566199822308
,
"timestamp"
:
1571044339755
,
"data"
:
[
"data"
:
{
"levelNum"
:
1
,
"rank"
:
[
{
{
"nickName"
:
"奈何本人没文化,一句卧槽行天下"
,
"nickName"
:
"https://wx.qlogo.cn/mmopen/vi_32/5icsJibet91SjpqD2GygMAA5twUoqVTiaOqS3NQNia0Jbuia2fZxlh03AIyiaaVTRRKOxo1Ym17icjBBkiaMhicv3zhXgRQ/132"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"avatar"
:
"https://wx.qlogo.cn/mmopen/vi_32/5icsJibet91SjpqD2GygMAA5twUoqVTiaOqS3NQNia0Jbuia2fZxlh03AIyiaaVTRRKOxo1Ym17icjBBkiaMhicv3zhXgRQ/132"
,
"stars"
:
1
,
"stars"
:
3
,
"maxScore"
:
1234567
,
"maxScore"
:
31940
,
"rank"
:
"1"
"rank"
:
null
,
},
"levelNum"
:
null
,
{
"consumerId"
:
null
"nickName"
:
"2奈何本人没文化,一句卧槽行天下"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
1234567
,
"rank"
:
"2"
},
{
"nickName"
:
"3奈何本人没文化,一句卧槽行天下"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
1234567
,
"rank"
:
"3"
},
{
"nickName"
:
"4奈何本人没文化,一句卧槽行天下"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
1234567
,
"rank"
:
"4"
},
{
"nickName"
:
"5奈何本人没文化,一句卧槽行天下"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
123
,
"rank"
:
"5"
},
{
"nickName"
:
"6奈何本人没文化,一句卧槽行天下"
,
"avatar"
:
"http://yun.dui88.com/images/201604/c6s5l4dgea.jpg"
,
"stars"
:
1
,
"maxScore"
:
555555
,
"rank"
:
"6"
}
}
]
]
}
}
}
\ No newline at end of file
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