mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 23:51:39 +00:00
769e98ecad
* `#喵喵日历` 的一些样式微调 * 底层升级:抽象了部分公共组件为tpl模板以提高复用度,css改为less处理
17 lines
688 B
HTML
17 lines
688 B
HTML
{{ set weapon = $data[0] }}
|
|
{{ set {_sys_res_path} = $data[1] }}
|
|
|
|
<div class="item-card">
|
|
<span class="badge">
|
|
<img src="{{_sys_res_path}}/genshin/logo/side/{{weapon.avatar==`旅行者`?`荧`:weapon.avatar}}.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="{{_sys_res_path}}genshin/logo/weapon/{{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> |