Commit 764b4f81 authored by wildfirecode's avatar wildfirecode

1

parent 785360ae
......@@ -96,7 +96,7 @@
</e:Button>
<e:Group x="84.67" y="0">
<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 x="30" scaleX="1.4" scaleY="1.4" bottom="23">
......
......@@ -38,6 +38,9 @@ export default class StartPanel extends Panel {
this.friendlist.visible = true;
if (friends.length > 5)
friends.length = 5;
friends.forEach((ele,index) => {
ele.rank = index + 1;
});
const ac = new eui.ArrayCollection(friends);
this.friendlist.dataProvider = ac;
}
......
......@@ -15,6 +15,16 @@
"levelNum": 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment