miao-plugin/resources/character/profile-stat.html

106 lines
3.9 KiB
HTML
Raw Normal View History

2022-08-06 22:36:05 +00:00
{{extend elemLayout}}
{{block 'css'}}
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/profile-stat.css"/>
{{/block}}
{{block 'main'}}
<div class="head-box">
<div class="title">#面板练度统计</div>
2022-08-06 22:36:05 +00:00
<div class="label">UID:{{uid}} 共{{avatars.length }}名角色</div>
</div>
<div id="profile-stat">
<div class="cont">
<div class="cont-table">
<div class="avatar tr thead">
<div class="td-idx">#</div>
2022-08-06 22:36:05 +00:00
<div class="td-name">角色</div>
<div class="td-lv">Lv</div>
<div class="td-cons">命座</div>
2022-08-06 22:36:05 +00:00
<div class="td-fetter">好感</div>
<div class="td-talent">A</div>
<div class="td-talent">E</div>
<div class="td-talent">Q</div>
2022-08-08 21:33:03 +00:00
<div class="td-weapon">武器</div>
2022-08-06 22:36:05 +00:00
<div class="td-artis">圣遗物</div>
</div>
{{each avatars avatar idx}}
{{set talent = avatar.talent}}
{{set weapon = avatar.weapon}}
{{set tk = ['a','e','q'] }}
<div class="avatar tr">
<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}}">
<span class="img"
style="background-image:url({{_res_path}}{{avatar.face}})"></span>
2022-08-06 22:36:05 +00:00
</div>
<span class="item-name">{{avatar.abbr||avatar.name}}</span>
2022-08-06 22:36:05 +00:00
</div>
</div>
<div class="td td-lv star{{avatar.star}}">{{avatar.level}}</div>
<div class="td td-cons star{{avatar.star}}">
<span class="cons avatar cons-{{avatar.cons}}">{{avatar.cons}}</span>
</div>
<div class="td td-fetter">
<span class="fetter fetter{{['空','荧','旅行者'].includes(avatar.name)?10:avatar.fetter}}"></span>
</div>
2022-08-06 22:36:05 +00:00
{{each tk talentKey}}
{{set curr = (avatar.talent||{})[talentKey] || {original:1,level:'-'} }}
<div class="td-talent lv{{talentLvMap[curr.original]}} {{curr.level>curr.original?'talent-plus':''}}">
{{curr.level}}
2022-08-06 22:36:05 +00:00
</div>
{{/each}}
<div class="td td-weapon star{{weapon.star}}">
2022-08-06 22:36:05 +00:00
{{if weapon?.name}}
<div class="item-banner star{{weapon.star}}">
<span class="level">{{weapon.level}}</span>
<span class="cons weapon cons-{{weapon.affix+1}} star{{weapon.star}}">{{weapon.affix}}</span>
<div class="item-icon weapon-icon">
2022-08-06 22:36:05 +00:00
<span class="img"
style="background-image:url({{_res_path}}/meta/weapons/icon/{{weapon.name}}.png)"></span>
</div>
<span class="item-name">{{weapon.abbr}}</span>
2022-08-06 22:36:05 +00:00
</div>
{{/if}}
</div>
{{set mark = avatar.artisMark || false }}
<div class="td td-artis class-{{mark?.markClass||'D'}}">
2022-08-18 10:13:42 +00:00
<div class="item item-banner avatar-artis artis{{avatar?.artisMark?.names?.length||avatar.names.length}}">
{{set names = avatar?.artisMark?.names || avatar?.names || []}}
<div class="artis item-icon {{names.length>0?'star5':'no-artis'}}">
2022-08-18 10:13:42 +00:00
{{each avatar?.artisMark?.names || avatar?.names || [] name}}
2022-08-06 22:36:05 +00:00
<span class="img"
style="background-image:url({{_res_path}}/meta/reliquaries/icon/{{name}}.png)"></span>
{{/each}}
{{if names.length === 0}}
<span class="img no-artis"></span>
{{/if}}
2022-08-06 22:36:05 +00:00
</div>
{{if mark}}
<span class="artis-mark-class class-{{mark?.markClass||'D'}}">{{mark.markClass}}</span>
{{mark.mark}}
{{else}}
<span class="artis-na">暂无面板数据</span>
{{/if}}
2022-08-06 22:36:05 +00:00
</div>
</div>
</div>
{{/each}}
</div>
{{if talentNotice}}
<p class="cont-notice">{{talentNotice}}</p>
{{/if}}
2022-08-06 22:36:05 +00:00
</div>
</div>
{{/block}}