2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 11:40:51 +08:00
xiaoyao-cvs-plugin/resources/common/tpl/artis-item.html
2022-06-24 08:06:53 +08:00

19 lines
654 B
HTML

{{set ds = $data[0]}}
{{set {_res_path,_char,_sys_res_path} = $data[1]}}
<div class="item-card">
<span class="badge">
<img src="{{_sys_res_path}}/genshin/logo/side/{{ds.avatar==`旅行者`?`荧`:ds.avatar}}.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>
<img class="item-img" src="{{_sys_res_path}}/genshin/logo/reliquaries/{{ds.name}}.png"/>
<div class="item-desc artis-lvl">Lv.{{ds.level}}</div>
<div class="item-desc artis-name">{{ds.name}}</div>
</div>
</div>