chore(cp排行榜): 样式调整

This commit is contained in:
hzj 2026-01-19 23:00:05 +08:00
parent d0f437ae24
commit 85c693924f

View File

@ -967,7 +967,7 @@
v-smart-img
:src="record?.prize?.prizeImage || ''"
alt=""
style="width: 10vw; object-fit: cover; display: block; aspect-ratio: 1/1"
style="width: 10vw; min-width: 0; object-fit: cover; display: block"
/>
<div style="font-weight: 590; font-size: 0.9em">
{{ record?.prize?.prizeName }}
@ -1026,26 +1026,38 @@
align-items: center;
"
>
<div style="display: flex; align-items: center; gap: 4px">
<div style="min-width: 0; display: flex; align-items: center; gap: 4px">
<img
v-smart-img
v-if="record.itemType == 'cp_fragment'"
:src="imageUrl('debris')"
alt=""
style="width: 10vw; object-fit: cover; display: block; aspect-ratio: 1/1"
style="
width: 10vw;
min-width: 0;
object-fit: cover;
display: block;
"
/>
<img
v-smart-img
v-else-if="record.itemType == 'lottery_ticket'"
:src="imageUrl('crystal')"
alt=""
style="width: 10vw; object-fit: cover; display: block; aspect-ratio: 1/1"
style="
width: 10vw;
min-width: 0;
object-fit: cover;
display: block;
"
/>
<div style="font-weight: 590; font-size: 0.9em">
<div style="min-width: 0; font-weight: 590; font-size: 0.9em">
{{ record.changeType == 2 ? '-' : '+' }}{{ record.changeAmount }}
</div>
</div>
<div style="font-weight: 510; font-size: 0.8em">
<div style="min-width: 0; font-weight: 510; font-size: 0.8em">
{{ formatUTCCustom(record.createdAt) }}
</div>
</div>