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
bd970d7a
Commit
bd970d7a
authored
Nov 08, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
40e61fc4
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
472 additions
and
29 deletions
+472
-29
MapScene.ts
egret/src/mapScene/MapScene.ts
+7
-0
home.json
mock/happyclear/home.json
+464
-28
mapRank.json
mock/happyclear/mapRank.json
+1
-1
No files found.
egret/src/mapScene/MapScene.ts
View file @
bd970d7a
...
@@ -316,6 +316,13 @@ export default class MapScene extends Scene {
...
@@ -316,6 +316,13 @@ export default class MapScene extends Scene {
if
(
icon
.
parent
)
if
(
icon
.
parent
)
count
++
;
count
++
;
}
}
if
(
this
.
_avatarsCache
)
{
this
.
_avatarsCache
.
forEach
((
item
)
=>
{
if
(
item
.
parent
)
item
.
parent
.
addChild
(
item
);
});
}
}
}
// 添加图标
// 添加图标
...
...
mock/happyclear/home.json
View file @
bd970d7a
This diff is collapsed.
Click to expand it.
mock/happyclear/mapRank.json
View file @
bd970d7a
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"timestamp"
:
1571322224593
,
"timestamp"
:
1571322224593
,
"data"
:
[
"data"
:
[
{
{
"levelNum"
:
2
1
,
"levelNum"
:
10
1
,
"rank"
:
[
"rank"
:
[
{
{
"nickName"
:
null
,
"nickName"
:
null
,
...
...
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