Miao-Yunzai/plugins/genshin/resources/html/logCount/logCount.html

66 lines
2.4 KiB
HTML
Raw Normal View History

2023-03-04 14:30:13 +08:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link rel="shortcut icon" href="#" />
<link rel="stylesheet" type="text/css" href="{{pluResPath}}html/logCount/logCount.css"/>
<link rel="preload" href="{{resPath}}/font/HYWenHei-55W.ttf" as="font">
<link rel="preload" href="{{resPath}}/font/tttgbnumber.ttf" as="font">
<link rel="preload" href="{{pluResPath}}img/other/bg5.png" as="image">
<link rel="preload" href="{{pluResPath}}img/other/bg4.png" as="image">
{{@headStyle}}
</head>
<body id="container" class="body_box">
<div class="container">
<div class="head_box">
<div class="id_text">ID: {{uid}}</div>
<h2 class="day_text">抽卡统计-{{typeName}}</h2>
<img class="genshin_logo" src="{{pluResPath}}img/other/原神.png"/>
</div>
{{each pool val}}
{{if val.roleNum > 0}}
<div class="pool_box">
<div class="title_box">
<div class="name_box">
<div class="title"><h2>「{{val.five}}」</h2></div>
<span class="label label_301">{{val.count}}抽</span>
</div>
{{if typeName != "常驻"}}
<span class="date">{{val.start}} - {{val.end}}</span>
{{/if}}
</div>
<div class="list_box">
{{each val.role v}}
<div class="item">
<div class="bg{{v.rank_type}}"></div>
<span class="num {{if v.count>=5 && v.rank_type ==5}}life5{{/if}}">{{v.count}}</span>
{{if v.item_type=='角色'}}
<img class="role_img" src="{{pluResPath}}img/role/{{v.name}}.png" onerror="whenError(this,'role')"/>
{{/if}}
{{if v.item_type=='武器'}}
<img class="role_img" src="{{pluResPath}}img/weapon/{{v.name}}.png" onerror="whenError(this)"/>
{{/if}}
</div>
{{/each}}
</div>
</div>
{{/if}}
{{/each}}
{{if isGroup }}
<div class="hasMore">*完整数据请私聊查看</div>
{{/if}}
2023-08-29 23:23:49 +08:00
<div class="logo">Created By Miao-Yunzai</div>
2023-03-04 14:30:13 +08:00
</div>
</body>
<script type="text/javascript">
function whenError(a, type) {
// a.onerror = null;
// if (type == "role") {
// a.src = "{{_res_path}}/genshin/logo/role/荧.png";
// } else {
// a.src = "{{_res_path}}/genshin/logo/weapon/旅行剑.png";
// }
}
</script>
</html>