2022-05-22 13:10:10 +00:00
|
|
|
|
{{extend defaultLayout}}
|
2022-04-04 21:36:44 +00:00
|
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
|
{{block 'css'}}
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/stat/common.css?v=1.0"/>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/stat/character.css?v=1.0"/>
|
|
|
|
|
{{/block}}
|
|
|
|
|
|
|
|
|
|
<% let pct = function (num) {
|
|
|
|
|
return (num * 100).toFixed(2);
|
|
|
|
|
} %>
|
|
|
|
|
|
|
|
|
|
{{block 'main'}}
|
|
|
|
|
|
2022-06-21 22:07:12 +00:00
|
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
|
<div class="info_box">
|
|
|
|
|
<div class="head-box type{{bgType}}">
|
|
|
|
|
{{if mode === "char"}}
|
|
|
|
|
<div class="title">角色持有率统计</div>
|
|
|
|
|
<div class="label">全角色综合持有率统计</div>
|
|
|
|
|
{{else}}
|
|
|
|
|
<div class="title">角色{{conNum == -1 ? "命座" : "零一二三四五满"[conNum]+"命"}}分布统计</div>
|
|
|
|
|
<div class="label">统计所有角色命座,无论角色是否出场</div>
|
|
|
|
|
{{/if}}
|
2022-04-04 21:36:44 +00:00
|
|
|
|
|
2022-07-23 20:32:10 +00:00
|
|
|
|
<img class="genshin_logo" src="{{_res_path}}/common/cont/logo.png"/>
|
2022-05-22 13:10:10 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
2022-06-21 22:07:12 +00:00
|
|
|
|
<div class="cont msg-cont">
|
|
|
|
|
<div class="cont-title">角色持有率说明</div>
|
|
|
|
|
<div class="cont-body">
|
|
|
|
|
<ul class="cont-msg">
|
2022-07-03 20:51:27 +00:00
|
|
|
|
<li>数据来自SG团队<strong>胡桃API</strong>,为Snap Genshin / Miao-Plugin 用户自主上传的角色池信息</li>
|
2022-06-21 22:07:12 +00:00
|
|
|
|
<li>百分比基于全部上传用户的数据进行统计,能够一定程度上反映角色持有情况,结果供参考</li>
|
2022-07-03 20:51:27 +00:00
|
|
|
|
<li>您可以通过<strong>#上传深渊数据</strong>命令来上传角色记录,来帮助我们统计的更加全面</li>
|
|
|
|
|
<li>上传命令<strong>仅会上传您的角色列表及当期深渊挑战数据</strong>,不会上传其他额外信息</li>
|
|
|
|
|
<li>由于是用户自主上传,数据可能有一定滞后。新角色的持有率会在卡池结束后一段时间逐步稳定</li>
|
2022-08-06 19:23:22 +00:00
|
|
|
|
<li><strong>未经胡桃API开发团队允许,不得擅自使用或大范围传播此数据</strong>。详情咨询群910780153</li>
|
2022-08-06 22:36:05 +00:00
|
|
|
|
<li>{{if totalCount}}统计用户数:<strong>{{totalCount}}</strong>,{{/if}}数据最后更新时间:{{lastUpdate}}</li>
|
2022-06-21 22:07:12 +00:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
|
<div class="data-box">
|
|
|
|
|
<div class="char-list">
|
|
|
|
|
<div class="avatar th">
|
|
|
|
|
<div class="index">#</div>
|
|
|
|
|
<div class="name">
|
|
|
|
|
角色
|
|
|
|
|
</div>
|
|
|
|
|
<div class="lvl">持有率</div>
|
|
|
|
|
<div class="char-cons">
|
|
|
|
|
<div class="cons-pct">
|
|
|
|
|
<div class="cons-n0">0命</div>
|
|
|
|
|
<div class="cons-1">1命</div>
|
|
|
|
|
<div class="cons-2">2命</div>
|
|
|
|
|
<div class="cons-3">3命</div>
|
|
|
|
|
<div class="cons-4">4命</div>
|
|
|
|
|
<div class="cons-5">5命</div>
|
|
|
|
|
<div class="cons-6">6命</div>
|
|
|
|
|
{{if mode === "char"}}
|
|
|
|
|
<div class="life_bg">无</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
</div>
|
2022-04-04 21:36:44 +00:00
|
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{each chars char idx}}
|
|
|
|
|
<div class="avatar">
|
|
|
|
|
<div class="index star{{char.star}}">{{idx+1}}</div>
|
|
|
|
|
<div class="name_cont star{{char.star}}">
|
|
|
|
|
<div class="name">
|
|
|
|
|
<div class="avatar_img">
|
2022-08-06 19:06:12 +00:00
|
|
|
|
<img src="{{_res_path}}/meta/character/{{char.name}}/side.png" onerror="whenError(this)"/>
|
2022-04-04 21:36:44 +00:00
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
|
<div class="avatar_name">
|
|
|
|
|
{{abbr[char.name] || char.name}}
|
2022-04-04 21:36:44 +00:00
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pct">{{pct(char.hold)}}</div>
|
|
|
|
|
<div class="char-cons">
|
|
|
|
|
<div class="cons-pct">
|
|
|
|
|
{{each char.cons con idx}}
|
|
|
|
|
<div>{{pct(con.value)}}</div>
|
|
|
|
|
{{/each}}
|
|
|
|
|
{{if mode ==="char"}}
|
|
|
|
|
<div>{{pct(1-char.hold)}}</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cons-bg">
|
|
|
|
|
{{each char.cons con idx}}
|
|
|
|
|
<div class="cons-{{con.id ===0?'n0':con.id}}" style='{{"width:"+pct(con.value)+"%"}}'></div>
|
2022-04-04 21:36:44 +00:00
|
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
|
{{/each}}
|
2022-04-04 21:36:44 +00:00
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/block}}
|