Miao-Yunzai/resources/html/avatar/weapon.html

99 lines
3.5 KiB
HTML

<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link rel="shortcut icon" href="#" />
<link
rel="stylesheet"
type="text/css"
href="{{_res_path}}html/avatar/weapon.css"
/>
</head>
{{ var isShortList = list.length <= 8 }}
<body class="{{ isShortList ? 'list8' : '' }}">
<div class="container" id="container">
<div class="main_box">
<div class="base_info">
<div class="uid">ID: {{uid}}</div>
{{ if list.length>8 }}
<div class="lab">
<div class="lab-item">
<div class="lab-item-5"></div>
<div class="lab-item-text">五星:{{count.five}}</div>
</div>
<div class="lab-item">
<div class="lab-item-4"></div>
<div class="lab-item-text">四星:{{count.four}}</div>
</div>
<div class="lab-item">
<div class="lab-item-3"></div>
<div class="lab-item-text">三星:{{count.three}}</div>
</div>
<div class="lab-item">
<div class="lab-item-weapon">
<img src="{{_res_path}}img/gacha/items/单手剑.png" />
</div>
<div class="lab-item-text">单手剑:{{count['单手剑']}}</div>
</div>
<div class="lab-item">
<div class="lab-item-weapon">
<img src="{{_res_path}}img/gacha/items/大剑.png" />
</div>
<div class="lab-item-text">双手剑:{{count['双手剑']}}</div>
</div>
<div class="lab-item">
<div class="lab-item-weapon">
<img src="{{_res_path}}img/gacha/items/弓.png" />
</div>
<div class="lab-item-text">弓:{{count['弓']}}</div>
</div>
<div class="lab-item">
<div class="lab-item-weapon">
<img src="{{_res_path}}img/gacha/items/枪.png" />
</div>
<div class="lab-item-text">枪:{{count['长柄武器']}}</div>
</div>
<div class="lab-item">
<div class="lab-item-weapon">
<img src="{{_res_path}}img/gacha/items/法器.png" />
</div>
<div class="lab-item-text">法器:{{count['法器']}}</div>
</div>
</div>
{{/if}}
</div>
<div class="item_box">
{{each list val}}
<div class="item">
<span
class="user item-icon"
style="background-image:url({{_miao_path}}{{val.role_icon}})"
></span>
<div class="role_box">
{{ if val.affix_level>1}}
<span class="life life{{val.affix_level}}">
{{val.affix_level}}
</span>
{{/if}}
<div class="bg{{val.rarity}}"></div>
<img
class="role_img"
src="{{_miao_path}}{{val.icon}}"
onerror="whenError(this)"
/>
<div class="desc">Lv.{{val.level}}</div>
<img class="fill_img" src="{{_res_path}}img/other/fill.png" />
</div>
<div class="role_name">{{val.showName}}</div>
</div>
{{/each}}
</div>
<div class="tips">*仅显现已装备的武器</div>
</div>
</div>
</body>
<script type="text/javascript"></script>
</html>