mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 12:51:30 +00:00
16 lines
645 B
HTML
16 lines
645 B
HTML
{{ set weapon = $data[0] }}
|
|
|
|
<div class="item-card">
|
|
<span class="badge">
|
|
<img src="{{_res_path}}/meta/character/{{weapon.avatar==`旅行者`?`荧`:weapon.avatar}}/side.png"/>
|
|
</span>
|
|
<div class="box">
|
|
{{ if weapon.affix_level>1}}
|
|
<span class="item-life life{{weapon.affix_level}}">{{weapon.affix_level}}</span>
|
|
{{/if}}
|
|
<div class="item-bg bg{{weapon.rarity}}"></div>
|
|
<img class="item-img" src="{{_res_path}}/meta/weapons/icon//{{weapon.name}}.png"/>
|
|
<div class="item-desc weapon-lv">Lv.{{weapon.level}}</div>
|
|
<div class="item-desc weapon-name">{{weapon.showName || weapon.name}}</div>
|
|
</div>
|
|
</div> |