mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 12:51:30 +00:00
769e98ecad
* `#喵喵日历` 的一些样式微调 * 底层升级:抽象了部分公共组件为tpl模板以提高复用度,css改为less处理
19 lines
658 B
HTML
19 lines
658 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> |