miao-plugin/resources/common/tpl/avatar-card.html
yoimiya-kokomi 769e98ecad * #角色面板 伤害计算新增行秋、班尼特
* `#喵喵日历` 的一些样式微调
* 底层升级:抽象了部分公共组件为tpl模板以提高复用度,css改为less处理
2022-05-11 05:54:01 +08:00

19 lines
572 B
HTML

{{set avatar = $data[0]}}
{{set {_res_path,_char} = $data[1]}}
<div class="item">
<div class="item-bg elem-{{avatar.element}}">
<div class="role-box char-{{avatar.name}}">
<img class="role" src="{{_res_path}}{{_char}}/{{avatar.name}}/gacha_card.png"/>
</div>
{{ if avatar.cons>0}}
<div class="role-life life{{avatar.cons}}">{{avatar.cons}}命</div>
{{/if}}
<div class="role-name">{{avatar.name}}</div>
<div class="role-lv">
<div class="text">Lv {{avatar.level}}</div>
<div class="text-bg"></div>
</div>
</div>
</div>