2022-09-17 16:28:51 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<!--suppress HtmlUnknownTag, SpellCheckingInspection -->
|
|
|
|
<html lang="zh">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>每日素材</title>
|
|
|
|
<link type="text/css" href="./style.css" rel="stylesheet"/>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<main class="container">
|
|
|
|
<div class="title">{{ data.title }}可培养角色</div>
|
|
|
|
<div class="user-info">
|
|
|
|
{% if data.uid != none %}
|
|
|
|
<span>UID: {{ data.uid }}</span>
|
|
|
|
{% else %}
|
|
|
|
<span>暂未绑定UID</span>
|
|
|
|
{% endif %}
|
|
|
|
<span>{{ data.time }}</span>
|
|
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div class="box">
|
|
|
|
{% for area in data.character %}
|
|
|
|
<div class="area">
|
|
|
|
<div class="area-head">
|
2022-09-20 15:00:08 +00:00
|
|
|
<span class="area-name">
|
|
|
|
<img src="./bg/area/{{ loop.index0 }}.png" alt="{{ area.name }}"/>
|
|
|
|
<div>{{ area.name }}</div>
|
|
|
|
</span>
|
|
|
|
<span class="material-name">{{ area.material_name }}</span>
|
2022-09-17 16:28:51 +00:00
|
|
|
<span class="materials">
|
|
|
|
{% for material in area.materials %}
|
|
|
|
<div class="material">
|
|
|
|
<div class="material-icon"
|
2022-10-12 09:34:55 +00:00
|
|
|
style="background-image: url(../../background/rarity/half/{{ material.rarity }}.png)">
|
2022-09-17 16:28:51 +00:00
|
|
|
<img alt="{{ material.name }}" src="{{ material.icon }}"/>
|
|
|
|
</div>
|
|
|
|
<div class="material-star">
|
|
|
|
{% for _ in range(material.rarity) %}
|
2022-10-12 09:34:55 +00:00
|
|
|
<img alt="star" src="../../background/rarity/star.webp"/>
|
2022-09-17 16:28:51 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="area-content">
|
|
|
|
{% for item in area.items %}
|
2022-09-22 03:11:23 +00:00
|
|
|
<div
|
2022-09-20 15:00:08 +00:00
|
|
|
{% if data.uid != none and item.level == none %}
|
2022-09-22 03:11:23 +00:00
|
|
|
class="item character item-not-owned"
|
|
|
|
{% else %}
|
|
|
|
class="item character"
|
2022-09-20 15:00:08 +00:00
|
|
|
{% endif %}
|
|
|
|
>
|
2022-09-17 16:28:51 +00:00
|
|
|
<div class="item-icon"
|
2022-10-12 09:34:55 +00:00
|
|
|
style="background-image: url(../../background/rarity/full/{{ item.rarity }}.png)">
|
2022-09-17 16:28:51 +00:00
|
|
|
{% if item.level != none %}
|
|
|
|
<div>Lv.{{ item.level }}</div>
|
|
|
|
{% endif %}
|
|
|
|
{% if item.constellation != none %}
|
|
|
|
{% if item.constellation == 6 %}
|
|
|
|
<div style="background-color: rgba(255,20,147, 0.8);backdrop-filter: blur(3px);">
|
|
|
|
6命
|
|
|
|
</div>
|
|
|
|
{% elif item.constellation != 0 %}
|
|
|
|
<div style="background-color: rgba(103,167,230, 0.8);backdrop-filter: blur(3px);">{{ item.constellation }}命</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
<img src="{{ item.icon }}" alt="{{ item.name }}"/>
|
2022-10-28 07:58:07 +00:00
|
|
|
{% if item.level != none and item.skills != none %}
|
|
|
|
<div class="item-icon-character-talent">
|
|
|
|
<span>{{ item.skills[0] }}/{{ item.skills[1] }}/{{ item.skills[2] }}</span>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2022-09-17 16:28:51 +00:00
|
|
|
</div>
|
|
|
|
<div class="item-name">
|
|
|
|
<div>{{ item.name }}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|