mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-23 07:17:43 +01:00
parent
82968f6697
commit
c71acf4fb2
1 changed files with 5 additions and 2 deletions
|
@ -45,11 +45,14 @@
|
|||
/>
|
||||
</div>
|
||||
<div
|
||||
class="absolute top-0 right-0 bg-black bg-opacity-75 rounded-full flex items-center shadow-md"
|
||||
class="absolute top-0 right-0 bg-black bg-opacity-75 rounded-full flex items-center shadow-md {constellation &&
|
||||
Math.max(0, constellation.default + constellation.wish + constellation.manual - 1) >= 6
|
||||
? 'text-legendary-from'
|
||||
: 'text-white'}"
|
||||
style="padding: 4px; margin: -10px;"
|
||||
>
|
||||
{#if constellation}
|
||||
<span class="mx-1 text-white text-xs font-semibold">
|
||||
<span class="mx-1 text-xs font-semibold">
|
||||
C{Math.max(0, constellation.default + constellation.wish + constellation.manual - 1)}
|
||||
</span>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue