2022-09-20 19:15:22 +00:00
|
|
|
|
{{extend defaultLayout}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{set isSr = game === 'sr'}}
|
|
|
|
|
|
2022-08-06 22:36:05 +00:00
|
|
|
|
{{block 'css'}}
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{if isSr}}
|
|
|
|
|
<style>
|
|
|
|
|
body {
|
|
|
|
|
background: url('{{_res_path}}/character/imgs/bg-02.jpg') left center;
|
|
|
|
|
background-size: 100% auto;
|
|
|
|
|
}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
|
2024-04-05 03:28:51 +00:00
|
|
|
|
.container {
|
|
|
|
|
background: url('{{_res_path}}/character/imgs/main-02.png') center -25px no-repeat;
|
|
|
|
|
background-size: 100% auto;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{{else}}
|
|
|
|
|
<style>
|
|
|
|
|
body {
|
|
|
|
|
background: url('{{_res_path}}/character/imgs/bg-01.jpg') left center;
|
|
|
|
|
background-size: 100% auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
background: url('{{_res_path}}/character/imgs/main-01.png') center -25px no-repeat;
|
|
|
|
|
background-size: 100% auto;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{{/if}}
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/profile-stat.css" />
|
|
|
|
|
{{/block}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
|
|
|
|
|
{{block 'main'}}
|
2024-04-05 03:28:51 +00:00
|
|
|
|
|
2022-08-06 22:36:05 +00:00
|
|
|
|
<div class="head-box">
|
2024-04-05 03:28:51 +00:00
|
|
|
|
<div class="title">{{isSr?'*':'#'}}面板练度统计</div>
|
|
|
|
|
<div class="label">UID:{{uid}} 共{{avatars.length}}名角色</div>
|
2022-08-06 22:36:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div id="profile-stat">
|
|
|
|
|
<div class="cont">
|
|
|
|
|
<div class="cont-table">
|
|
|
|
|
<div class="avatar tr thead">
|
2022-09-20 05:30:27 +00:00
|
|
|
|
<div class="td-idx">#</div>
|
2022-08-06 22:36:05 +00:00
|
|
|
|
<div class="td-name">角色</div>
|
2022-09-20 05:30:27 +00:00
|
|
|
|
<div class="td-lv">Lv</div>
|
2024-04-05 03:28:51 +00:00
|
|
|
|
<div class="td-cons">{{isSr?'星魂':'命座'}}</div>
|
|
|
|
|
{{if !isSr}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
<div class="td-fetter">好感</div>
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{/if}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
<div class="td-talent">A</div>
|
|
|
|
|
<div class="td-talent">E</div>
|
|
|
|
|
<div class="td-talent">Q</div>
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{if isSr}}
|
|
|
|
|
<div class="td-talent">T</div>
|
|
|
|
|
{{/if}}
|
2023-11-05 19:18:49 +00:00
|
|
|
|
{{if mode === 'talent'}}
|
|
|
|
|
<div class="td">周本</div>
|
|
|
|
|
<div class="td">天赋书</div>
|
|
|
|
|
{{else}}
|
2024-04-05 03:28:51 +00:00
|
|
|
|
<div class="td-weapon">{{isSr?'光锥':'武器'}}</div>
|
|
|
|
|
<div class="td-artis">{{isSr?'遗器':'圣遗物'}}</div>
|
2023-11-05 19:18:49 +00:00
|
|
|
|
{{/if}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{each avatars avatar idx}}
|
|
|
|
|
{{set talent = avatar.talent}}
|
|
|
|
|
{{set weapon = avatar.weapon}}
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{set tk = isSr?['a','e','q','t']:['a','e','q']}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
<div class="avatar tr">
|
2022-09-20 05:30:27 +00:00
|
|
|
|
<div class="td td-idx star{{avatar.star}}">{{idx+1}}</div>
|
|
|
|
|
<div class="td td-name star{{avatar.star}}">
|
|
|
|
|
<div class="item-banner">
|
2022-08-06 22:36:05 +00:00
|
|
|
|
<div class="item-icon char-icon star{{avatar.star}}">
|
2023-11-05 19:18:49 +00:00
|
|
|
|
<span class="img" style="background-image:url({{_res_path}}{{avatar.face}})"></span>
|
2022-08-06 22:36:05 +00:00
|
|
|
|
</div>
|
2022-09-20 05:30:27 +00:00
|
|
|
|
|
2022-08-08 21:16:37 +00:00
|
|
|
|
<span class="item-name">{{avatar.abbr||avatar.name}}</span>
|
2022-08-06 22:36:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-09-20 19:15:22 +00:00
|
|
|
|
<div class="td td-lv">{{avatar.level}}</div>
|
|
|
|
|
<div class="td td-cons">
|
2022-09-20 05:30:27 +00:00
|
|
|
|
<span class="cons avatar cons-{{avatar.cons}}">{{avatar.cons}}</span>
|
|
|
|
|
</div>
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{if !isSr}}
|
2022-09-20 05:30:27 +00:00
|
|
|
|
<div class="td td-fetter">
|
2022-08-07 22:14:24 +00:00
|
|
|
|
<span class="fetter fetter{{['空','荧','旅行者'].includes(avatar.name)?10:avatar.fetter}}"></span>
|
|
|
|
|
</div>
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{/if}}
|
2023-02-17 20:42:05 +00:00
|
|
|
|
{{set talentLvMap = [0,1,1,1,2,2,3,3,3,4,5] }}
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{set talentALvMap = [0,1,1,2,3,4,5]}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
{{each tk talentKey}}
|
2022-09-17 22:19:26 +00:00
|
|
|
|
{{set curr = (avatar.talent||{})[talentKey] || {original:1,level:'-'} }}
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{if isSr && talentKey === 'a'}}
|
|
|
|
|
<div
|
|
|
|
|
class="td-talent lv{{talentALvMap[curr.original]}} {{curr.level>curr.original?'talent-plus':''}} {{isSr?'crown-sr':''}}">
|
|
|
|
|
{{curr.level}}
|
|
|
|
|
</div>
|
|
|
|
|
{{else}}
|
|
|
|
|
<div
|
|
|
|
|
class="td-talent lv{{talentLvMap[curr.original]}} {{curr.level>curr.original?'talent-plus':''}} {{isSr?'crown-sr':''}}">
|
2022-09-17 22:19:26 +00:00
|
|
|
|
{{curr.level}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
</div>
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{/if}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
{{/each}}
|
2023-11-05 19:18:49 +00:00
|
|
|
|
{{if mode === 'talent'}}
|
|
|
|
|
{{set m = avatar.materials || {} }}
|
|
|
|
|
{{set w = {'周一/周四':1,'周二/周五':2, '周三/周六':3}[m.talent?.num] }}
|
|
|
|
|
{{set isToday = (week === 6) || (week % 3 + 1 === w)}}
|
|
|
|
|
<div class="td td-weekly {{isToday?'today':'not-today'}}">
|
|
|
|
|
<div class="item-icon">
|
|
|
|
|
<span class="img" style="background-image:url({{_res_path}}{{m.weekly?.icon}})"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="td {{isToday?'today':'not-today'}} td-material">
|
|
|
|
|
<div class="item-icon">
|
|
|
|
|
<span class="img" style="background-image:url({{_res_path}}{{m.talent?.icon}})"></span>
|
|
|
|
|
</div>
|
|
|
|
|
{{m.talent?.label || '-'}} (周{{['1/4','2/5','3/6'][w-1] || '-'}})
|
|
|
|
|
</div>
|
2022-08-06 22:36:05 +00:00
|
|
|
|
|
2023-11-05 19:18:49 +00:00
|
|
|
|
{{else}}
|
2023-11-17 15:24:13 +00:00
|
|
|
|
<div class="td td-weapon star{{weapon?.star}}">
|
2022-08-06 22:36:05 +00:00
|
|
|
|
{{if weapon?.name}}
|
2022-08-08 21:16:37 +00:00
|
|
|
|
<div class="item-banner star{{weapon.star}}">
|
|
|
|
|
<span class="level">{{weapon.level}}</span>
|
2022-09-20 05:30:27 +00:00
|
|
|
|
<div class="item-icon weapon-icon">
|
2024-04-05 03:28:51 +00:00
|
|
|
|
<span class="img"
|
|
|
|
|
style="background-image:url({{_res_path}}{{isSr?weapon.imgs?.icon2:weapon.img}})"></span>
|
2022-08-08 21:16:37 +00:00
|
|
|
|
</div>
|
2022-10-21 11:11:20 +00:00
|
|
|
|
<span class="cons weapon cons-{{weapon.affix+1}} star{{weapon.star}}">{{weapon.affix}}</span>
|
2022-08-08 21:16:37 +00:00
|
|
|
|
<span class="item-name">{{weapon.abbr}}</span>
|
2022-08-06 22:36:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
</div>
|
2022-09-20 05:30:27 +00:00
|
|
|
|
{{set mark = avatar.artisMark || false }}
|
2022-09-24 12:19:59 +00:00
|
|
|
|
{{set imgs = avatar?.artisMark?.imgs || avatar?.artisSet?.imgs || []}}
|
2022-09-20 11:50:27 +00:00
|
|
|
|
<div class="td td-artis class-{{mark?.markClass||'D'}}">
|
2022-09-24 12:19:59 +00:00
|
|
|
|
<div class="item item-banner avatar-artis artis{{imgs.length}}">
|
|
|
|
|
<div class="artis item-icon {{imgs.length>0?'star5':'no-artis'}}">
|
|
|
|
|
{{each imgs img}}
|
|
|
|
|
<div class="img" style="background-image:url({{_res_path}}{{img}})"></div>
|
2022-08-06 22:36:05 +00:00
|
|
|
|
{{/each}}
|
2022-09-24 12:19:59 +00:00
|
|
|
|
{{if imgs.length === 0}}
|
2022-09-20 05:30:27 +00:00
|
|
|
|
<span class="img no-artis"></span>
|
|
|
|
|
{{/if}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
</div>
|
2022-09-20 05:30:27 +00:00
|
|
|
|
{{if mark}}
|
|
|
|
|
<span class="artis-mark-class class-{{mark?.markClass||'D'}}">{{mark.markClass}}</span>
|
2022-08-07 22:14:24 +00:00
|
|
|
|
{{mark.mark}}
|
|
|
|
|
{{else}}
|
2022-09-20 05:30:27 +00:00
|
|
|
|
<span class="artis-na">暂无面板数据</span>
|
2022-08-07 22:14:24 +00:00
|
|
|
|
{{/if}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-11-05 19:18:49 +00:00
|
|
|
|
{{/if}}
|
2022-08-06 22:36:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
2023-02-17 20:42:05 +00:00
|
|
|
|
|
|
|
|
|
<div class="cont-notice">
|
|
|
|
|
{{set ut = updateTime }}
|
|
|
|
|
{{if ut.profile || ut.mys}}
|
|
|
|
|
<strong>数据更新时间</strong>
|
|
|
|
|
{{if ut.profile}}
|
2024-04-05 03:28:51 +00:00
|
|
|
|
<span>{{isSr?'*':'#'}}更新面板: {{ut.profile}}</span>
|
2023-02-17 20:42:05 +00:00
|
|
|
|
{{/if}}
|
|
|
|
|
{{if ut.mys}}
|
|
|
|
|
<span>米游社: {{ut.mys}}</span>
|
2023-11-05 19:18:49 +00:00
|
|
|
|
<div>
|
2024-04-05 03:28:51 +00:00
|
|
|
|
天赋数据每2小时最多更新一次,可通过<strong>{{isSr?'*':'#'}}刷新天赋</strong>来强制刷新天赋数据,需具备有效CK
|
2023-11-05 19:18:49 +00:00
|
|
|
|
</div>
|
2023-02-17 20:42:05 +00:00
|
|
|
|
{{/if}}
|
|
|
|
|
{{else}}
|
2024-04-05 03:28:51 +00:00
|
|
|
|
未绑定CK或CK失效,信息可能不完全。发送<strong>#体力帮助</strong>查看CK绑定方法,发送<strong>{{isSr?'*':'#'}}更新面板</strong>更新游戏内角色展柜信息
|
2023-02-17 20:42:05 +00:00
|
|
|
|
{{/if}}
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-08-06 22:36:05 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2024-04-05 03:28:51 +00:00
|
|
|
|
{{/block}}
|