mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 17:35:34 +00:00
4fff29e147
其他已知问题修正
100 lines
3.1 KiB
HTML
100 lines
3.1 KiB
HTML
{{extend defaultLayout}}
|
||
|
||
{{block 'css'}}
|
||
<link rel="stylesheet" type="text/css" href="{{_res_path}}/wiki/today-material.css"/>
|
||
{{/block}}
|
||
|
||
{{block 'main'}}
|
||
|
||
<div class="main_box">
|
||
<div class="base_info">
|
||
<div class="id">
|
||
<span>ID:{{uid}}</span>
|
||
</div>
|
||
<div class="day">
|
||
<span>{{day}}</span>
|
||
</div>
|
||
</div>
|
||
{{set types = ['talent', 'weapon'] }}
|
||
{{each types type }}
|
||
{{each data cityData}}
|
||
{{set curr = cityData[type] || {} }}
|
||
{{if curr.data?.length>0}}
|
||
|
||
<div class="city-cont">
|
||
<div class="cont-title">
|
||
<div class="area">
|
||
<img class="tab-item-icon" src="{{_res_path}}/common/item/{{cityData.city}}.png"/>
|
||
<div class="tab-item-text">{{cityData.city}}</div>
|
||
</div>
|
||
<div class="ele_box">
|
||
<div class="ele_name">{{curr.material?.name}}</div>
|
||
<div class="ele_img">
|
||
{{each curr.material?.icons icon}}
|
||
<div class="img_item">
|
||
<span class="icon" style="background-image:url({{_res_path}}{{icon}})"></span>
|
||
</div>
|
||
{{/each}}
|
||
</div>
|
||
</div>
|
||
<div class="tab-line"></div>
|
||
</div>
|
||
<!-- talent -->
|
||
{{if type === 'talent' }}
|
||
<div class="item_box">
|
||
{{each curr.data char}}
|
||
<div class="item {{char.isMax?'disable':''}} avatar-card">
|
||
<div class="role_box">
|
||
{{ if char.cons>0}}
|
||
<span class="life life{{char.cons}}"> {{char.cons}}命</span>
|
||
{{/if}}
|
||
<div class="bg{{char.star}}"></div>
|
||
<img class="role_img" src="{{_res_path}}{{char.face}}"/>
|
||
<div class="desc">Lv.{{char.level}}</div>
|
||
</div>
|
||
<div class="talent avatar-talent">
|
||
{{each char.talent talent}}
|
||
<span class="talent-item{{talent.original>=10?' talent-crown':''}}{{talent.level>talent.original?' talent-plus':''}}">{{talent.level}}</span>
|
||
{{/each}}
|
||
</div>
|
||
</div>
|
||
{{/each}}
|
||
</div>
|
||
{{/if}}
|
||
|
||
<!-- weapon -->
|
||
{{if type === 'weapon'}}
|
||
<div class="weapon_box">
|
||
{{each curr.data weapon}}
|
||
<div class="weapon_item {{weapon.isMax?'disable':''}}">
|
||
<span class="weapon_user">
|
||
<span class="user_img" style="background-image:url({{_res_path}}{{weapon.face}})"></span>
|
||
</span>
|
||
<div class="weapon_role_box">
|
||
{{ if weapon.affix>1}}
|
||
<span class="life life{{weapon.affix}}">{{weapon.affix}}</span>
|
||
{{/if}}
|
||
<div class="weapon_bg bg{{weapon.star}}"></div>
|
||
<span class="weapon_role_img" style="background-image:url({{_res_path}}{{weapon.icon}})"></span>
|
||
<div class="desc_1">Lv.{{weapon.level}}</div>
|
||
</div>
|
||
<div class="role_name">{{weapon.abbr}}</div>
|
||
</div>
|
||
{{/each}}
|
||
</div>
|
||
{{/if}}
|
||
</div>
|
||
|
||
{{/if}}
|
||
{{/each}}
|
||
{{/each}}
|
||
|
||
|
||
</div>
|
||
<div class="explain">
|
||
* 根据你所拥有的角色查询今天可升天赋角色,仅显现已装备的武器 <br>
|
||
* 可通过【#练度统计】(需具备CK),或【#更新面板】更新本地缓存<br>
|
||
* 绑定CK用户也可通过【#刷新天赋】来强制更新天赋数据
|
||
</div>
|
||
{{/block}}
|