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
764b4f81
Commit
764b4f81
authored
Oct 14, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
785360ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
MapSkin.exml
egret/resource/skins/MapSkin.exml
+1
-1
StartPanel.ts
egret/src/panels/StartPanel.ts
+3
-0
levelNumRank.json
mock/happyclear/levelNumRank.json
+10
-0
No files found.
egret/resource/skins/MapSkin.exml
View file @
764b4f81
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
</e:Button>
</e:Button>
<e:Group
x=
"84.67"
y=
"0"
>
<e:Group
x=
"84.67"
y=
"0"
>
<e:Image
id=
"inviteTipsBg"
source=
"invite_txtbg_png"
x=
"0"
y=
"0"
touchEnabled=
"false"
/>
<e:Image
id=
"inviteTipsBg"
source=
"invite_txtbg_png"
x=
"0"
y=
"0"
touchEnabled=
"false"
/>
<e:Label
id=
"inviteTips"
text=
"
待领取取
"
horizontalCenter=
"0"
verticalCenter=
"0"
verticalAlign=
"middle"
textAlign=
"center"
textColor=
"0xffffff"
size=
"16"
/>
<e:Label
id=
"inviteTips"
text=
"
立即到账
"
horizontalCenter=
"0"
verticalCenter=
"0"
verticalAlign=
"middle"
textAlign=
"center"
textColor=
"0xffffff"
size=
"16"
/>
</e:Group>
</e:Group>
</e:Group>
</e:Group>
<e:Group
x=
"30"
scaleX=
"1.4"
scaleY=
"1.4"
bottom=
"23"
>
<e:Group
x=
"30"
scaleX=
"1.4"
scaleY=
"1.4"
bottom=
"23"
>
...
...
egret/src/panels/StartPanel.ts
View file @
764b4f81
...
@@ -38,6 +38,9 @@ export default class StartPanel extends Panel {
...
@@ -38,6 +38,9 @@ export default class StartPanel extends Panel {
this
.
friendlist
.
visible
=
true
;
this
.
friendlist
.
visible
=
true
;
if
(
friends
.
length
>
5
)
if
(
friends
.
length
>
5
)
friends
.
length
=
5
;
friends
.
length
=
5
;
friends
.
forEach
((
ele
,
index
)
=>
{
ele
.
rank
=
index
+
1
;
});
const
ac
=
new
eui
.
ArrayCollection
(
friends
);
const
ac
=
new
eui
.
ArrayCollection
(
friends
);
this
.
friendlist
.
dataProvider
=
ac
;
this
.
friendlist
.
dataProvider
=
ac
;
}
}
...
...
mock/happyclear/levelNumRank.json
View file @
764b4f81
...
@@ -15,6 +15,16 @@
...
@@ -15,6 +15,16 @@
"levelNum"
:
null
,
"levelNum"
:
null
,
"consumerId"
:
null
"consumerId"
:
null
}
}
,
{
"nickName"
:
"https://wx.qlogo.cn/mmopen/vi_32/5icsJibet91SjpqD2GygMAA5twUoqVTiaOqS3NQNia0Jbuia2fZxlh03AIyiaaVTRRKOxo1Ym17icjBBkiaMhicv3zhXgRQ/132"
,
"avatar"
:
"https://wx.qlogo.cn/mmopen/vi_32/5icsJibet91SjpqD2GygMAA5twUoqVTiaOqS3NQNia0Jbuia2fZxlh03AIyiaaVTRRKOxo1Ym17icjBBkiaMhicv3zhXgRQ/132"
,
"stars"
:
3
,
"maxScore"
:
31940
,
"rank"
:
null
,
"levelNum"
:
null
,
"consumerId"
:
null
}
]
]
}
}
}
}
\ 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