|
@@ -22,7 +22,10 @@
|
|
|
:bottom="item.rank == 1 ? 66 : 40"
|
|
:bottom="item.rank == 1 ? 66 : 40"
|
|
|
center
|
|
center
|
|
|
>
|
|
>
|
|
|
- <Avatar :url="item.image" :size="item.rank == 1 ? 100 : 90" mode="aspectFill" radius="radius.md" />
|
|
|
|
|
|
|
+ <Avatar
|
|
|
|
|
+ :url="item.image" :size="item.rank == 1 ? 100 : 90" mode="aspectFill" radius="radius.md"
|
|
|
|
|
+ defaultAvatar="https://xy.wenlvti.net/app_static/images/village/PlaceholderVolunteer.png"
|
|
|
|
|
+ />
|
|
|
<Height :height="item.rank == 1 ? 15 : 10" />
|
|
<Height :height="item.rank == 1 ? 15 : 10" />
|
|
|
<Text fontConfig="h4" :text="item.title" color="white" />
|
|
<Text fontConfig="h4" :text="item.title" color="white" />
|
|
|
<Text fontConfig="h2" :text="item.score" :color="scoreColors[item.rank - 1]" />
|
|
<Text fontConfig="h2" :text="item.score" :color="scoreColors[item.rank - 1]" />
|