MibooGram/resources/zzz/player_card/weapon.html
2024-08-02 17:34:30 +08:00

18 lines
729 B
HTML

<div class="flex-1 flex justify-evenly bg-black bg-opacity-20 rounded-lg bg-contain bg-no-repeat">
<div class="flex flex-col items-center justify-center space-y-2">
<img class="w-24 h-24" src="{{ images.equipment }}" alt=""/>
</div>
<div class="flex flex-col items-center justify-center space-y-2">
<div class="text-2xl">{{ weapon_detail.name }}</div>
<div class="star star-{{ weapon_detail.rank.int }}"></div>
<div class="flex space-x-3 items-center">
<div class="italic">Lv.{{ weapon.level }}</div>
<div
class="rounded px-2 text-base {% if weapon.rank == 5 %} bg-red-600 {% else %} bg-gray-600 {% endif %}"
>
精{{ weapon.star }}
</div>
</div>
</div>
</div>