PamGram/resources/starrail/player_card/weapon.html

18 lines
727 B
HTML
Raw Normal View History

2023-05-11 15:09:39 +00:00
<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.rarity }}"></div>
<div class="flex space-x-3 items-center">
2023-06-07 06:24:36 +00:00
<div class="italic">Lv.{{ weapon.level }}</div>
2023-05-11 15:09:39 +00:00
<div
2023-06-07 06:24:36 +00:00
class="rounded px-2 text-base {% if weapon.rank == 5 %} bg-red-600 {% else %} bg-gray-600 {% endif %}"
2023-05-11 15:09:39 +00:00
>
2023-06-07 06:24:36 +00:00
精{{ weapon.rank }}
2023-05-11 15:09:39 +00:00
</div>
</div>
</div>
</div>