🐛 fix abyss HTML template

Co-authored-by: zhxy-CN <admin@owo.cab>
This commit is contained in:
Karako 2023-01-08 13:25:29 +08:00 committed by GitHub
parent 764834de2f
commit bb260260cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,18 +67,30 @@
<img src="{{ data.ranks.strongest_strike[0].side_icon }}" alt=""/>
</div>
<div class="rank">
{% if data.ranks.most_damage_taken is defined and data.ranks.most_damage_taken|length > 0 %}
<span>最多承伤: {{ data.ranks.most_damage_taken[0].value }}</span>
<img src="{{ data.ranks.most_damage_taken[0].side_icon }}" alt=""/>
{% else %}
<span>最多承伤: </span>
{% endif %}
</div>
</div>
<div style="background-color: rgb(61 76 86 / 60%);">
<div class="rank">
{% if data.ranks.most_bursts_used is defined and data.ranks.most_bursts_used|length > 0 %}
<span>元素爆发: {{ data.ranks.most_bursts_used[0].value }}</span>
<img src="{{ data.ranks.most_bursts_used[0].side_icon }}" alt=""/>
{% else %}
<span>元素爆发: </span>
{% endif %}
</div>
<div class="rank">
{% if data.ranks.most_skills_used is defined and data.ranks.most_skills_used|length > 0 %}
<span>元素战技: {{ data.ranks.most_skills_used[0].value }}</span>
<img src="{{ data.ranks.most_skills_used[0].side_icon }}" alt=""/>
{% else %}
<span>元素战技: </span>
{% endif %}
</div>
</div>
</div>