miao-plugin/resources/character/artis-list.html

45 lines
1.6 KiB
HTML
Raw Normal View History

{{extend elemLayout}}
{{block 'css'}}
2024-04-03 16:35:06 +00:00
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/profile-detail.css" />
<link rel="stylesheet" type="text/css" href="{{_res_path}}/character/artis-list.css" />
{{/block}}
{{block 'main'}}
<div class="uid">UID {{uid}}</div>
2023-10-24 19:34:36 +00:00
<div class="profile-cont game-{{game}}">
<div class="artis">
{{each artis ds}}
<div class="item arti">
{{if ds && ds.name && ds.main && ds.main.key && ds.main.key!="undefined"}}
<div class="avatar">
2024-04-03 16:35:06 +00:00
<img src="{{_res_path}}{{ds.side}}" onerror="whenError(this)" />
2023-10-24 19:34:36 +00:00
</div>
<div class="arti-icon">
<div class="img" style="background-image:url({{_res_path}}{{ds.img}})"></div>
</div>
<div class="head">
<strong>{{ds.name}}</strong>
<span class="mark mark-{{ds.markClass}}"><span>{{ds.mark}}分</span> - {{ds.markClass}}</span>
</div>
<ul class="detail attr">
2024-04-03 16:35:06 +00:00
<li class="arti-main"><span class="title">{{artisKeyTitle[ds.main?.key]}}</span><span
class="val">+{{ds.main?.value}}</span>
2023-10-24 19:34:36 +00:00
</li>
{{each ds.attrs attr}}
{{if attr && attr.key}}
<li class="{{ds.charWeight[attr.key]*1 > 79.9 ?`great`:(ds.charWeight[attr.key]*1>0 ? `useful`:`nouse`)}}">
<span class="title">{{if attr.eff}}<i class="eff">{{attr.eff || ''}}</i>{{/if}}{{if attr.upNum}}<i
2024-04-03 16:35:06 +00:00
class="up-num up-{{attr.upNum}}"></i>{{/if}}{{artisKeyTitle[attr.key]}}</span>
<span class="val">+{{attr.value}}</span>
</li>
2023-10-24 19:34:36 +00:00
{{/if}}
{{/each}}
</ul>
{{/if}}
2023-10-24 19:34:36 +00:00
</div>
{{/each}}
</div>
</div>
2024-04-03 16:35:06 +00:00
{{/block}}