[F] Chuni rating display

pull/50/head
Clansty 2024-08-05 23:34:02 +08:00
parent fc10c05731
commit 17a0209c8c
No known key found for this signature in database
GPG Key ID: 3A6BE8BAF2EDE134
2 changed files with 10 additions and 2 deletions

View File

@ -56,7 +56,11 @@
<span>{user.name}</span>
{/if}
</span>
<span class="rating">{user.rating.toLocaleString()}</span>
<span class="rating">{
game === 'chu3' ?
(user.rating / 100).toFixed(2) :
user.rating.toLocaleString()
}</span>
<span class="accuracy">{(+user.accuracy).toFixed(2)}%</span>
<span class="fc">{user.fullCombo}</span>
<span class="ap">{user.allPerfect}</span>

View File

@ -131,7 +131,11 @@
<div class="info-top">
<div class="rating">
<span>{game === 'mai2' ? t("UserHome.DXRating"): t("UserHome.Rating")}</span>
<span>{d.user.rating.toLocaleString()}</span>
<span>{
game === 'chu3' ?
(d.user.rating / 100).toFixed(2) :
d.user.rating.toLocaleString()
}</span>
</div>
<div class="rank">