Miao-Yunzai/resources/html/gacha/gacha-log.html

77 lines
2.1 KiB
HTML
Raw Normal View History

2024-06-17 23:04:18 +08:00
{{extend genshinLayout}} {{block 'css'}}
<link
rel="stylesheet"
type="text/css"
href="{{_res_path}}html/gacha/gacha-log.css"
/>
2024-06-14 10:44:18 +08:00
{{if game === 'sr'}}
2024-06-17 23:04:18 +08:00
<link
rel="stylesheet"
type="text/css"
href="{{_res_path}}html/gacha/gacha-log-sr.css"
/>
{{/if}} {{/block}} {{block 'main'}}
2024-06-14 10:44:18 +08:00
<div class="info_box">
<div class="head_box">
2024-06-17 23:04:18 +08:00
<div class="id_text">ID: {{uid}}</div>
2024-06-14 10:44:18 +08:00
<h2 class="day_text">
{{allNum}}抽
<span class="label label_{{type}}">{{typeName}}池</span>
</h2>
{{if game === 'gs'}}
2024-06-17 23:04:18 +08:00
<img class="genshin_logo" src="{{_res_path}}img/other/原神.png" />
2024-06-14 10:44:18 +08:00
{{else}}
2024-06-17 23:04:18 +08:00
<img
class="starrail_logo"
src="{{pluResPath}}StarRail/img/other/logo.png"
/>
2024-06-14 10:44:18 +08:00
{{/if}}
</div>
<div class="data_box">
<div class="tab_lable">数据总览</div>
{{each line val}}
<div class="data_line">
{{each val item}}
<div class="data_line_item">
2024-06-17 23:04:18 +08:00
<div class="num">
{{item.num}}<span class="unit">{{item.unit}}</span>
</div>
2024-06-14 10:44:18 +08:00
<div class="lable">{{item.lable}}</div>
</div>
{{/each}}
</div>
{{/each}}
<div class="line_box">
<span class="line"></span>
<span class="text">五星历史 {{firstTime}} ~ {{lastTime}}</span>
<span class="line"></span>
</div>
<div class="card_list">
{{each fiveLog val}}
2024-06-17 23:04:18 +08:00
<div
class="item star5 {{val.num<=10?'gold': (val.num<max*0.5 ? 'good' : (val.num<max*0.83) ? 'normal': 'bad')}}"
>
2024-06-14 10:44:18 +08:00
{{ if val.isUp && typeName == '角色' }}
<span class="minimum">UP</span>
{{/if}}
2024-06-17 23:04:18 +08:00
<span
class="role_img"
style="background-image:url({{_miao_path}}{{val.icon}})"
></span>
2024-06-14 10:44:18 +08:00
<!-- <div class="num">{{val.num}}</div>-->
2024-06-17 23:04:18 +08:00
<div
class="num_name {{val.num<=10?'gold': (val.num<max*0.5 ? 'good' : (val.num<max*0.83) ? 'normal': 'bad')}}"
>
{{val.num}}
</div>
2024-06-14 10:44:18 +08:00
</div>
{{/each}}
</div>
{{if hasMore }}
<div class="hasMore">*完整数据请私聊查看</div>
{{/if}}
</div>
</div>
{{/block}}