2023-02-26 15:42:56 +00:00
|
|
|
{{extend elemLayout}}
|
|
|
|
{{block 'css'}}
|
2024-05-23 15:37:38 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/common/tpl.css?v=1.0" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/avatar-list.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/gacha/gacha-detail.css?v=1.0" />
|
2023-02-26 15:42:56 +00:00
|
|
|
{{/block}}
|
2024-05-23 15:37:38 +00:00
|
|
|
{{if game === 'gs'}}
|
2023-02-27 21:16:42 +00:00
|
|
|
{{ set statMap = { allNum:'抽卡总数', fiveNum:'金卡数',wai:'歪 T.T',fourNum:'紫卡数', fiveAvg:'平均出金', upYs:'UP原石' } }}
|
2024-05-23 15:37:38 +00:00
|
|
|
{{else}}
|
|
|
|
{{ set statMap = { allNum:'抽卡总数', fiveNum:'金卡数',wai:'歪 T.T',fourNum:'紫卡数', fiveAvg:'平均出金', upYs:'UP星琼' } }}
|
|
|
|
{{/if}}
|
2023-02-26 15:42:56 +00:00
|
|
|
{{block 'main'}}
|
2024-05-23 15:37:38 +00:00
|
|
|
{{ set gameHash = game === 'gs' ? '#' : '*'}}
|
2023-02-26 15:42:56 +00:00
|
|
|
<div class="basic">
|
|
|
|
<div class="user-banner" style="background-image:url({{_res_path}}{{face?.banner}})">
|
|
|
|
<div class="face">
|
|
|
|
<span style="background-image:url({{_res_path}}{{face?.qFace||face?.face}})"></span>
|
|
|
|
</div>
|
|
|
|
<div class="user-info">
|
|
|
|
<div class="name">
|
|
|
|
<strong>{{face.name}}</strong>
|
|
|
|
</div>
|
|
|
|
<div class="uid">
|
|
|
|
{{if uid}}<span> #{{uid}}</span>{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{if gacha && gacha.stat }}
|
|
|
|
{{set stat = gacha.stat }}
|
|
|
|
<div class="stat">
|
|
|
|
{{each statMap title key}}
|
|
|
|
{{if stat[key] }}
|
|
|
|
<div class="stat-li">
|
|
|
|
<strong>{{stat[key]}}</strong>
|
|
|
|
<span>{{title}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2024-05-23 15:37:38 +00:00
|
|
|
<div class="ck-notice">
|
|
|
|
<strong>{{gameHash}}抽卡帮助</strong>获取抽卡链接,<strong>{{gameHash}}更新抽卡记录</strong>更新抽卡信息,<strong>{{gameHash}}抽卡统计</strong><strong>{{gameHash}}角色统计</strong>可查看按卡池分析结果
|
2023-02-28 17:59:13 +00:00
|
|
|
</div>
|
2023-02-26 15:42:56 +00:00
|
|
|
<div class="cont avatar-cont">
|
|
|
|
<div class="gacha-list">
|
|
|
|
{{each gacha.fiveLog ds idx}}
|
|
|
|
{{set item = gacha.items[ds.id]}}
|
2024-05-23 15:37:38 +00:00
|
|
|
{{set max = type === 'weapon'?80:90}}
|
2023-02-26 15:42:56 +00:00
|
|
|
{{set hasDate = (idx===0 || idx ===gacha.items.length-1 || (idx>0 && gacha.fiveLog[idx-1].date !== ds.date)) }}
|
2024-05-23 15:37:38 +00:00
|
|
|
{{set nameWidth = (game==='sr' && type==='weapon'? 120 : 90)}}
|
2023-02-28 17:59:13 +00:00
|
|
|
<div class="gacha-item {{!hasDate?'no-date':'has-date'
|
|
|
|
}} {{ds.isUp ?'up':'wai'}} {{item.abbr==='已抽'?'no-avatar':''}}">
|
2023-02-26 15:42:56 +00:00
|
|
|
<div class="date ">
|
|
|
|
<div class="dot {{idx===0?'first':''}} {{idx===gacha.items.length-1?'last':''}}"></div>
|
|
|
|
<div class="txt">{{ds.date}}</div>
|
|
|
|
</div>
|
2024-05-23 15:37:38 +00:00
|
|
|
<div class="name" style="width:{{nameWidth}}px">{{item.abbr}}</div>
|
2023-02-26 15:42:56 +00:00
|
|
|
<div class="icon">
|
|
|
|
<div class="icon-bg star{{item.star}}">
|
|
|
|
<span class="img mini" style="background-image:url({{_res_path}}{{item.img}})"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="process">
|
|
|
|
{{set count = ds.count}}
|
2023-02-27 21:16:42 +00:00
|
|
|
<div class="bar {{count<=10?'gold': (count<max*0.5 ? 'good' : (count<max*0.83) ? 'normal': 'bad')}}"
|
2024-05-23 15:37:38 +00:00
|
|
|
style="width:{{count/max*100}}%">{{count}}
|
2023-02-26 15:42:56 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/block}}
|