miao-plugin/resources/stat/role-summary.html

120 lines
4.4 KiB
HTML
Raw Normal View History

<script src="../../../../../Yunzai-Botconfig/miao-diy/app/main.js"></script>{{extend defaultLayout}}
{{block 'css'}}
<link rel="stylesheet" type="text/css" href="{{_res_path}}/stat/common.css?v=1.0"/>
<link rel="stylesheet" type="text/css" href="{{_res_path}}/common/tpl.css?v=1.0"/>
<link rel="stylesheet" type="text/css" href="{{_res_path}}/stat/role-summary.css?v=1.0"/>
{{/block}}
{{block 'main'}}
2024-07-03 11:34:07 +00:00
{{ set difficultyName = {1:'简单', 2:'普通', 3:'困难'} }}
<div class="head-box type">
2024-07-04 18:57:19 +00:00
<div class="title">#幻想真境剧诗<span>{{role.month}}月 · {{difficultyName[role.stat.difficulty_id]}}模式</span></div>
<div class="uid">UID:{{uid}}</div>
</div>
<div class="info_box">
2024-07-03 11:39:21 +00:00
<div class="role-stat-cont">
<div class="role-stat">
<div class="cont star-display">
<div class="stat-title">
<span>明星挑战星章</span>
</div>
<div class="stat-msg">
{{each role.stat.get_medal_round_list star}}
<div class="stat-star-container">
{{if star == 1}}
2024-07-04 18:57:19 +00:00
<div class="stat-star" style="background-image:url({{_res_path}}/stat/imgs/medal.png)"></div>
{{else}}
2024-07-04 18:57:19 +00:00
<div class="stat-star" style="background-image:url({{_res_path}}/stat/imgs/nomedal.png)"></div>
{{/if}}
</div>
{{/each}}
</div>
</div>
<div class="cont">
<div class="stat-title">
<span>消耗幻剧之花</span>
</div>
<div class="stat-msg">
<strong>{{role.stat.coin_num}}</strong>
</div>
</div>
<div class="cont">
<div class="stat-title">
<span>场外观众声援</span>
</div>
<div class="stat-msg">
<strong>{{role.stat.avatar_bonus_num}} 次</strong>
</div>
</div>
<div class="cont">
<div class="stat-title">
<span>支援其他玩家</span>
</div>
<div class="stat-msg">
<strong>{{role.stat.rent_cnt}} 次</strong>
</div>
</div>
</div>
</div>
{{set cardTypes={1:['wide wide2'],2:['wide','wide'],3:['wide','mini','mini'],4:['mini','mini','mini','mini']} }}
{{each role?.rounds round round_index}}
<div class="cont">
<div class="cont-body">
2024-07-03 11:39:21 +00:00
<div class="role-title">
{{if round.is_get_medal}}
2024-07-04 18:57:19 +00:00
<div class="role-star" style="background-image:url({{_res_path}}/stat/imgs/medal.png)"></div>
{{else}}
2024-07-04 18:57:19 +00:00
<div class="role-star" style="background-image:url({{_res_path}}/stat/imgs/nomedal.png)"></div>
{{/if}}
<strong>第 {{round_index}} 幕</strong>
<span>{{round?.finish_time}}</span>
</div>
2024-07-03 11:39:21 +00:00
<div class="role-floor-team">
<div class="role-team">
{{set current_avatars=round?.avatars||[] }}
{{each current_avatars avatar idx}}
<% include(_tpl_path+'/avatar-card.html', [avatars[avatar.avatar_id],{_res_path, cardType:cardTypes[current_avatars.length][idx]}]) %>
{{/each}}
</div>
<div class="line"></div>
<div class="role-buff">
2024-07-03 09:35:11 +00:00
{{set buffs=round?.buffs }}
<div class="role-choice-cards-container">
<div class="role-choice-cards-header">奇妙助益</div>
2024-07-03 09:35:11 +00:00
<div class="role-choice-cards-content">
{{each buffs buff}}
<div class="role-content-container">
2024-07-04 18:57:19 +00:00
<div class="role-content-icon" style="background-image:url({{buff.icon}})"></div>
2024-07-03 09:35:11 +00:00
</div>
{{/each}}
</div>
</div>
{{set choice_cards=round?.choice_cards }}
<div class="role-choice-cards-container">
<div class="role-choice-cards-header">神秘收获</div>
2024-07-03 09:35:11 +00:00
<div class="role-choice-cards-content">
{{each choice_cards choice_card}}
2024-07-04 18:57:19 +00:00
<div class="role-content-container">
<div class="role-content-icon" style="background-image:url({{choice_card.icon}})"></div>
2024-07-03 09:35:11 +00:00
</div>
{{/each}}
</div>
</div>
</div>
</div>
</div>
</div>
{{/each}}
2024-07-03 11:39:21 +00:00
<div class="cont role-notice">
<div class="cont-body">
<ul class="cont-msg">
2024-07-04 02:06:54 +00:00
<li><strong>明星挑战星章</strong>仅作为展示用,<strong>不会</strong>影响挑战的奖励领取~</li>
2024-07-04 18:57:19 +00:00
<li>角色装备与圣遗物为当前最新状态</li>
</ul>
</div>
</div>
</div>
{{/block}}