miao-plugin/resources/character/artis.html

40 lines
1.3 KiB
HTML
Raw Normal View History

{{extend elemLayout}}
{{block 'css'}}
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/detail.css"/>
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/artis.css"/>
{{/block}}
{{block 'main'}}
<div class="uid">UID {{uid}}</div>
<div class="artis">
{{each artis ds}}
<div class="item arti">
2022-06-26 01:05:37 +00:00
{{if ds && ds.name && ds.main && ds.main.title && ds.main.title!="undefined"}}
<div class="avatar">
2022-08-06 19:06:12 +00:00
<img src="{{_res_path}}meta/character/{{ds.avatar}}/side.png" onerror="whenError(this)"/>
</div>
<div class="arti-icon">
2022-07-23 20:32:10 +00:00
<img src="{{_res_path}}/meta/reliquaries/icon/{{ds.name}}.png"/>
</div>
<div class="head">
<strong>{{ds.name}}</strong>
<span class="mark mark-{{ds.markClass}}"><span>{{ds.mark}}分</span> - {{ds.markClass}}</span>
</div>
2022-06-26 01:05:37 +00:00
<ul class="detail attr">
<li class="arti-main"><span class="title">{{ds.main.title}}</span><span class="val">+{{ds.main.val}}</span></li>
{{each ds.attrs attr}}
2022-06-26 01:05:37 +00:00
{{if attr.title}}
<li class="{{ds.usefulMark[attr.title]*1 > 79.9 ?`great`:(ds.usefulMark[attr.title]*1>0 ? `useful`:`nouse`)}}">
<span class="title">{{attr.title}}</span><span
class="val">+{{attr.val}}</span></li>
{{/if}}
{{/each}}
</ul>
{{/if}}
</div>
{{/each}}
</div>
{{/block}}