PamGram/resources/starrail/player_card/weapon.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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">
<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.Rank }}
</div>
</div>
</div>
</div>