miao-plugin/resources/character/profile-stat.html
2022-08-08 06:14:24 +08:00

98 lines
3.4 KiB
HTML

{{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>
<div class="label">UID:{{uid}} 共{{avatars.length }}名角色</div>
</div>
<div id="profile-stat">
<div class="cont">
<div class="cont-title">角色详情列表</div>
<div class="cont-table">
<div class="avatar tr thead">
<div class="td-level">Lv</div>
<div class="td-name">角色</div>
<div class="td-fetter">好感</div>
<div class="td-talent">A</div>
<div class="td-talent">E</div>
<div class="td-talent">Q</div>
<div class="td-weapon">武器</div>
<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-level"> {{avatar.level}}</div>
<div class="td-name">
<div class="avatar-name">
<span class="item-name star{{avatar.star}}">{{avatar.abbr||avatar.name}}</span>
<div class="item-icon char-icon star{{avatar.star}}">
<span class="img"
style="background-image:url({{_res_path}}/meta/character/{{avatar.name}}/face.png)"></span>
</div>
<span class="cons cons-{{avatar.cons}} star{{avatar.star}}">{{avatar.cons}}</span>
</div>
</div>
<div class="td-fetter ">
<span class="fetter fetter{{['空','荧','旅行者'].includes(avatar.name)?10:avatar.fetter}}"></span>
</div>
{{each tk talentKey}}
{{set curr = (avatar.talent||{})[talentKey] || {original:1,current:'-'} }}
<div class="td-talent lv{{talentLvMap[curr.original]}} {{curr.current>curr.original?'talent-plus':''}}">
{{curr.current}}
</div>
{{/each}}
<div class="td-weapon star-{{weapon.star}}">
{{if weapon?.name}}
<span class="lv">{{weapon.level}}</span>
<div class="item-icon weapon-icon star{{weapon.star}}">
<span class="img"
style="background-image:url({{_res_path}}/meta/weapons/icon/{{weapon.name}}.png)"></span>
</div>
<span class="cons cons-{{weapon.affix+1}} star{{weapon.star}}">{{weapon.affix}}</span>
<span class="item-name star{{weapon.star}}">{{weapon.abbr}}</span>
{{/if}}
</div>
<div class="td-artis">
<div class="item avatar-artis artis{{avatar.sets.length}}">
<div class="artis item-icon">
{{each avatar?.artisMark?.sets || avatar?.sets || [] name}}
<span class="img"
style="background-image:url({{_res_path}}/meta/reliquaries/icon/{{name}}.png)"></span>
{{/each}}
</div>
{{if avatar.artisMark}}
{{set mark = avatar.artisMark}}
<span class="arti-mark-class class-{{mark.markClass}}">{{mark.markClass}}</span>
{{mark.mark}}
{{else}}
<span class="arti-mark-class class-na">-</span> -
{{/if}}
</div>
</div>
</div>
{{/each}}
</div>
{{if talentNotice}}
<p class="cont-notice">{{talentNotice}}</p>
{{/if}}
</div>
</div>
{{/block}}