2022-05-22 13:10:10 +00:00
|
|
|
{{extend elemLayout}}
|
2022-04-06 19:51:44 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{block 'css'}}
|
2022-09-04 21:03:23 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/wiki/character-talent.css"/>
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/block}}
|
2022-04-06 19:51:44 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{block 'main'}}
|
2023-05-30 19:16:44 +00:00
|
|
|
|
2022-09-01 20:09:59 +00:00
|
|
|
<div class="head-box" style="background-image:url('{{_res_path}}{{imgs.card}}')">
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="head">
|
2023-02-19 02:38:51 +00:00
|
|
|
<img src="{{_res_path}}{{imgs.qFace||imgs.face}}"/>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="head-detail">
|
2023-08-11 03:47:34 +00:00
|
|
|
<div class="name">
|
|
|
|
{{if game === 'gs'}}
|
|
|
|
{{title}}·{{name}}
|
|
|
|
{{else}}
|
|
|
|
{{name}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="desc">
|
|
|
|
{{if game === 'gs'}}
|
|
|
|
{{@desc}}
|
|
|
|
{{else}}
|
|
|
|
{{detail.desc}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2022-09-29 13:21:52 +00:00
|
|
|
{{ if line[0]?.num !== 'NaN'}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="data-box">
|
|
|
|
<div class="tab-label">90级基础数据</div>
|
|
|
|
<div class="data-line">
|
|
|
|
{{each line item}}
|
|
|
|
<div class="data_line_item">
|
|
|
|
<div class="num">{{item.num}}</div>
|
|
|
|
<div class="label">{{item.label}}</div>
|
2022-04-06 19:51:44 +00:00
|
|
|
</div>
|
|
|
|
{{/each}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-29 13:21:52 +00:00
|
|
|
{{else}}
|
|
|
|
<div class="data-box">
|
|
|
|
<div class="tab-label">90级基础数据</div>
|
|
|
|
<div class="data-line">
|
|
|
|
暂无详细数据
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2022-04-06 19:51:44 +00:00
|
|
|
|
2023-05-30 19:16:44 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{if mode == "talent"}}
|
|
|
|
|
2022-09-03 21:08:57 +00:00
|
|
|
{{each detail.talent talent type}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="talent-box elem-bg">
|
|
|
|
<div class="talent-detail cont">
|
2023-08-11 03:47:34 +00:00
|
|
|
{{set minLv = game === 'gs' ? 4 : (type==='a' || type ==='a2'?1:4) }}
|
|
|
|
{{set maxLv = game === 'gs' ? (type==='a'?11:13) : (type==='a' || type ==='a2'?7:12)}}
|
2023-05-30 19:16:44 +00:00
|
|
|
<% include(_tpl_path+'/talent-detail.html', [talent, {_res_path,lvs,type,icon:imgs[type],minLv,maxLv,game}]) %>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
2022-04-07 19:39:43 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="talent-box elem-bg">
|
|
|
|
<div class="talent-detail passive-talent">
|
2023-08-11 03:47:34 +00:00
|
|
|
{{if game === 'gs'}}
|
|
|
|
{{each detail.passive pass idx}}
|
|
|
|
<% include(_tpl_path+'/talent-detail.html', [pass, {_res_path,icon:imgs['passive'+idx],game}]) %>
|
|
|
|
{{/each}}
|
|
|
|
{{else}}
|
|
|
|
{{each detail.treeData treeData idx}}
|
|
|
|
{{if treeData.type === 'skill'}}
|
|
|
|
<% include(_tpl_path+'/talent-detail.html', [treeData, {_res_path,icon:imgs['tree'+treeData.idx],game}]) %>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-04-06 19:51:44 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{if mode == "cons"}}
|
|
|
|
<div class="talent-box elem-bg">
|
|
|
|
<div class="talent-detail">
|
2022-09-03 21:08:57 +00:00
|
|
|
{{each detail.cons con idx}}
|
2023-05-30 19:16:44 +00:00
|
|
|
<% include(_tpl_path+'/talent-detail.html', [con, {_res_path,lvs,type,icon:imgs['cons'+idx],game}]) %>
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/block}}
|