miao-plugin/resources/common/tpl/artis-item.html

19 lines
633 B
HTML
Raw Normal View History

{{set ds = $data[0]}}
2022-07-23 20:32:10 +00:00
{{set {_res_path,_char} = $data[1]}}
<div class="item-card">
<span class="badge">
2022-07-24 21:11:19 +00:00
<img src="{{_res_path}}/meta/character/{{ds.avatar==`旅行者`?`荧`:ds.avatar}}/side_2.png"/>
</span>
<div class="box">
{{ if ds.affix_level>1}}
<span class="item-life life{{ds.affix_level}}">
{{ds.affix_level}}
</span>
{{/if}}
<div class="item-bg bg{{ds.rarity}}"></div>
2022-07-23 20:32:10 +00:00
<img class="item-img" src="{{_res_path}}/meta/reliquaries/icon/{{ds.name}}.png"/>
<div class="item-desc artis-lvl">Lv.{{ds.level}}</div>
<div class="item-desc artis-name">{{ds.name}}</div>
</div>
</div>