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

59 lines
2.0 KiB
HTML

{{extend elemLayout}}
{{block 'css'}}
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/profile-detail.css"/>
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/profile-list.css"/>
{{/block}}
{{block 'main'}}
{{set demo = chars[0]?.abbr || "雷神" }}
<div class="head-box">
<div class="title">#面板列表
<div class="label">UID:{{uid}}</div>
</div>
<div class="label">{{msg+", "}}更新角色时请不要出场对应角色,以获取准确面板数据</div>
<div class="label">你可以使用<span>#{{demo}}面板</span><span>#{{demo}}伤害</span><span>#{{demo}}圣遗物</span>命令来查看面板信息了</div>
</div>
<div class="cont group-rank-tip">
<div class="cont-title">
<span>
<i class="group-rank-icon dmg-icon"></i>综合练度排名
<i class="group-rank-icon mark-icon"></i>圣遗物评分排名
</span>
<span class="rank-time">
范围:本群内 / 时间:{{rankCfg.time}}后 / 通过 #面板 命令查看过的角色面板数据
</span>
</div>
</div>
<div class="cont {{groupRank?'has-rank':'no-rank'}}">
<div class="char-list">
{{each chars char}}
<div class="char-item {{char.isNew&&hasNew ?'new-char':''}}">
<div class="item-icon char-icon star{{char.star}}">
<span class="img"
style="background-image:url({{_res_path}}{{char.face}})"></span>
</div>
<span class="name">{{char.abbr}}<span class="cons cons-{{char.cons}}">{{char.cons}}</span></span>
{{if char.groupRank}}
{{set gr = char.groupRank}}
{{set rank = gr.rank > 9 ? 10:(gr.rank <=3 ? gr.rank : 4)}}
<div class="group-rank rank-{{rank}} rank-type-{{gr.rankType}}">
<span>{{gr.rank}}</span>
</div>
{{/if}}
</div>
{{/each}}
</div>
<div class="cont-footer">
{{if hasNew}}
<span class="new-tip">本次更新角色</span>
{{else}}
<span></span>
{{/if}}
<span class="serv">当前更新服务:{{servName}}</span>
</div>
</div>
{{/block}}