Commit 018812f3 authored by wildfirecode's avatar wildfirecode

1

parent 061c08d1
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="InviteItemSkin" width="90" height="90" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image id="img" source="" top="0" left="0" bottom="0" right="0"/>
<e:Group width="90" height="90">
<e:Image id="img" y="0" width="90" height="90" x="0" source=""/>
<e:Rect id="avatarMask" width="90" height="90" y="0" ellipseWidth="90" ellipseHeight="90"/>
</e:Group>
</e:Skin>
\ No newline at end of file
......@@ -215,6 +215,7 @@ class InviteItem extends eui.ItemRenderer {
constructor() {
super();
this.skinName = getSkinPath('InviteItem');
this['img'].mask = this['avatarMask'];
}
dataChanged() {
......
......@@ -5,7 +5,7 @@
"timestamp": 1572403459420,
"data": {
"invitationId": null,
"invitationCount": 1,
"invitationCount": 4,
"sysTime": 1572403459405,
"endTime": 1572489858000,
"completeFlag": 0,
......@@ -14,6 +14,11 @@
"prizeName": null,
"prizeImg": "//yun.dui88.com/images/201910/s0yhv1nlil.jpeg",
"facePrice": "3651404_286462788044574721",
"invitationUser": []
"invitationUser": [
{
"nickname": "nickname",
"avatar": "//yun.dui88.com/images/201910/s0yhv1nlil.jpeg"
}
]
}
}
\ 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