2022-05-22 13:10:10 +00:00
|
|
|
{{extend elemLayout}}
|
|
|
|
|
|
|
|
{{block 'css'}}
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/wiki/calendar.css"/>
|
|
|
|
{{/block}}
|
2022-05-06 21:20:14 +00:00
|
|
|
|
2022-05-22 13:10:10 +00:00
|
|
|
{{block 'main'}}
|
2022-10-06 22:20:46 +00:00
|
|
|
{{set weekName = '一二三四五六日'.split('')}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="calendar">
|
|
|
|
<div class="cal-bg for-calendar-mode">
|
|
|
|
<table class="cont-table" border-collapse="collapse">
|
|
|
|
<tr class="tr thead">
|
|
|
|
{{each dateList d}}
|
|
|
|
<td colspan="{{d.date.length}}" class="td month">{{d.month}}月</td>
|
|
|
|
{{/each}}
|
|
|
|
</tr>
|
|
|
|
<tr class="tr thead">
|
2022-10-06 22:20:46 +00:00
|
|
|
{{each dateList d}}{{each d.date dn di}}
|
|
|
|
<td class="td date {{dn === nowDate ? 'current-date':''}}">
|
|
|
|
<span class="date-num">{{dn}}日</span>
|
|
|
|
<span class="date-week">周{{weekName[d.week[di]]}}</span>
|
|
|
|
</td>
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/each}} {{/each}}
|
|
|
|
</tr>
|
|
|
|
<tr class="tr">
|
|
|
|
{{each dateList d}}{{each d.date dn}}
|
2022-10-06 22:20:46 +00:00
|
|
|
<td class="line {{dn === nowDate ? 'current-date':''}}">
|
2023-08-09 21:44:15 +00:00
|
|
|
{{if game === 'gs'}}
|
2022-10-06 22:20:46 +00:00
|
|
|
{{each charBirth[`${d.month}-${dn}`] char}}
|
|
|
|
<div class="card">
|
|
|
|
<div class="item-icon star{{char.star}}">
|
|
|
|
<div class="img" style="background-image:url({{_res_path}}{{char.face}})"></div>
|
2022-10-07 13:13:46 +00:00
|
|
|
<span class="char-name">{{char.name.length>=4?char.name:`${char.name}生日`}}</span>
|
2022-10-06 22:20:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
2023-08-09 21:44:15 +00:00
|
|
|
{{/if}}
|
2022-10-06 22:20:46 +00:00
|
|
|
</td>
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/each}} {{/each}}
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="cal-bg for-list-mode">
|
|
|
|
<table class="cont-table" border-collapse="collapse">
|
|
|
|
<tr class="tr thead">
|
|
|
|
<td class="td month">活动列表</td>
|
|
|
|
</tr>
|
|
|
|
<tr class="tr">
|
|
|
|
<td class="line"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-10-06 22:20:46 +00:00
|
|
|
<div class="cal-list {{charMode}} char-num-{{charNum}}">
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="cal-abyss-cont">
|
|
|
|
{{each abyss li}}
|
|
|
|
<div class="cal-item type-abyss" style="{{`left:${li.left}%;width:${li.width}%`}}">
|
|
|
|
<div class="info">
|
|
|
|
<img src="{{_res_path}}/wiki/imgs/abyss-icon.png" class="cal-icon"/>
|
|
|
|
<strong>{{li.title}}</strong>
|
|
|
|
<span>{{li.label}}</span>
|
2022-05-06 21:20:14 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/each}}
|
|
|
|
</div>
|
2022-08-22 13:38:34 +00:00
|
|
|
{{each list lis}}
|
|
|
|
{{each lis li idx}}
|
|
|
|
<div
|
|
|
|
class="cal-item type-{{li.type}} {{li.idx? `li-idx-${li.idx}`:``}} {{li.elem?'elem-'+li.elem:''}} {{li.width<20 ? 'small-mode':''}} li-col{{idx}}"
|
|
|
|
style="{{`margin-left:${li.left}%;width:${li.width}%`}}"
|
|
|
|
data-id="{{li.id}}"
|
|
|
|
data-type="{{li.type}}">
|
2022-05-22 13:10:10 +00:00
|
|
|
{{if li.banner2}}
|
|
|
|
<div class="banner" style="background-image:url('{{_res_path}}{{li.banner2}}')"></div>
|
|
|
|
{{else if li.banner}}
|
|
|
|
<div class="banner" style="background-image:url('{{li.banner}}')"></div>
|
|
|
|
{{/if}}
|
|
|
|
<div class="info">
|
|
|
|
{{if li.type === "character"}}
|
2022-09-03 21:08:57 +00:00
|
|
|
<img src="{{_res_path}}{{li.face}}" class="character-img"/>
|
2023-08-09 21:44:15 +00:00
|
|
|
{{else if li.icon}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<img src="{{li.icon}}" class="cal-icon"/>
|
2023-08-09 21:44:15 +00:00
|
|
|
{{else}}
|
|
|
|
<img src="{{_res_path}}/wiki/imgs/calendar-icon.png" class="cal-icon" />
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/if}}
|
|
|
|
<strong>{{li.title}}</strong>
|
|
|
|
<span>{{li.label}}</span>
|
2022-05-06 21:20:14 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/each}}
|
2022-08-22 13:38:34 +00:00
|
|
|
{{/each}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="now-line" style="left:{{nowLeft}}%"></div>
|
|
|
|
<div class="now-line line2" style="left:{{nowLeft}}%"></div>
|
|
|
|
</div>
|
|
|
|
<div class="now-time">
|
|
|
|
<span>当前时间:{{nowTime}}</span>
|
|
|
|
</div>
|
2023-08-09 21:44:15 +00:00
|
|
|
{{if game === 'gs'}}
|
2022-10-07 13:13:46 +00:00
|
|
|
<div class="daily-talent">
|
|
|
|
{{each charTalent talent}}
|
|
|
|
{{each talent.chars char idx}}
|
|
|
|
<div class="card">
|
|
|
|
<div class="banner city-{{talent.cid}}">
|
|
|
|
{{if idx===0}}
|
|
|
|
<div class="title">
|
|
|
|
<div class="icon" style="background-image:url({{_res_path}}{{talent.icon}})"></div>
|
|
|
|
<span>{{talent.city}}·{{talent.abbr}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<div class="line {{idx===0?'first':(idx===talent.chars.length-1?'last':'')}}"></div>
|
|
|
|
</div>
|
|
|
|
<div class="item-icon star{{char.star}}">
|
|
|
|
<div class="img" style="background-image:url({{_res_path}}{{char.face}})"></div>
|
|
|
|
<div class="weekly">
|
|
|
|
<div class="weekly-icon" style="background-image:url({{_res_path}}{{char.weekly}})"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
2023-08-09 21:44:15 +00:00
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/block}}
|