Miao-Yunzai/plugins/genshin/resources/StarRail/html/gachaLog/gachaLog.html

79 lines
2.6 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<link rel="shortcut icon" href="#"/>
2023-08-18 10:19:48 +08:00
<link rel="stylesheet" type="text/css" href="{{pluResPath}}html/gachaLog/gachaLog.css"/>
<link rel="preload" href="{{resPath}}font/tttgbnumber.ttf" as="font">
2023-08-18 10:19:48 +08:00
<link rel="preload" href="{{pluResPath}}img/worldcard/星穹列车.png" as="image">
{{@headStyle}}
</head>
<body id="container" class="body_box">
<div class="container">
<div class="info_box">
<div class="head_box">
<div class="id_text">
ID: {{uid}}
</div>
<h2 class="day_text">
{{allNum}}抽
<span class="label label_{{type}}">{{typeName}}池</span>
</h2>
2023-08-18 10:19:48 +08:00
<img class="starrail_logo" src="{{pluResPath}}img/other/logo.png"/>
</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">
<div class="num">{{item.num}}<span class="unit">{{item.unit}}</span></div>
<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}}
<div class="item star5 {{val.num<=10?'gold': (val.num<max*0.5 ? 'good' : (num<max*0.83) ? 'normal': 'bad')}}">
{{ if val.isUp && typeName == '角色' }}
<span class="minimum">UP</span>
{{/if}}
<img class="role"
2023-08-18 10:19:48 +08:00
src="{{pluResPath}}img/{{val.item_type=='角色'?'role':'weapon'}}/{{val.name}}.webp"
onerror="whenError(this,'{{val.item_type=='角色'?'role':'weapon'}}')"/>
<!-- <div class="num">{{val.num}}</div>-->
2023-10-13 02:52:36 +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>
</div>
{{/each}}
</div>
{{if hasMore }}
<div class="hasMore">*完整数据请私聊查看</div>
{{/if}}
</div>
2023-08-29 23:23:49 +08:00
<div class="logo"> Created By Miao-Yunzai</div>
</div>
</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>