mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-29 10:36:25 +00:00
95bebaaac8
* `#深渊出场率`、`#角色持有率` 等功能样式及字体微调
16 lines
510 B
HTML
16 lines
510 B
HTML
{{set avatar = $data[0]}}
|
|
{{set {_res_path,_char} = $data[1]}}
|
|
{{set _char = _char || "meta/character/"}}
|
|
|
|
<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.label || avatar.name}}</div>
|
|
</div>
|
|
</div>
|