32 lines
3.1 KiB
PHP
32 lines
3.1 KiB
PHP
@if($appleIdLayout['intro'])<div class="aid-extra">{!! nl2br(\App\Services\Seo::body($appleIdLayout['intro'])) !!}</div>@endif
|
||
@if($appleIdLayout['warnings'])
|
||
<aside class="aid-notice" aria-label="共享账号使用提醒">
|
||
@foreach($appleIdLayout['warnings'] as $warning)<p>{{ $warning }}</p>@endforeach
|
||
</aside>
|
||
@endif
|
||
<section class="aid-accounts" data-apple-id-layout aria-labelledby="aid-accounts-title">
|
||
<div class="aid-toolbar">
|
||
<h2 id="aid-accounts-title">共享账号 <span data-apple-id-count aria-live="polite">{{ count($appleIdLayout['accounts']) }} 个</span></h2>
|
||
<label class="aid-filter" data-apple-id-filter hidden><span>地区</span><select aria-label="按地区筛选账号"><option value="">全部地区</option>@foreach($appleIdLayout['regions'] as $region => $count)<option value="{{ $region }}">{{ $region }}({{ $count }})</option>@endforeach</select></label>
|
||
</div>
|
||
@if(!$appleIdLayout['accounts'])
|
||
<p class="aid-empty">这篇记录未提供账号,<a href="/shadowrocketids">查看其他更新</a>。</p>
|
||
@endif
|
||
<div class="aid-account-list">
|
||
@foreach($appleIdLayout['accounts'] as $account)
|
||
<article class="aid-account" data-apple-id-card data-region="{{ $account['region'] }}">
|
||
<header class="aid-account__heading"><h3>{{ $account['region'] }}</h3><span>账号 {{ $loop->iteration }}</span></header>
|
||
<dl class="aid-fields">
|
||
<div class="aid-field"><dt>账号</dt><dd><code>{{ $account['account'] }}</code><button type="button" class="aid-copy copy-permalink" data-clipboard-text="{{ $account['account'] }}" aria-label="复制第{{ $loop->iteration }}个账号">复制</button></dd></div>
|
||
<div class="aid-field" data-password-field><dt>密码</dt><dd><code data-password-value aria-label="密码已隐藏">••••••••</code><button type="button" class="aid-reveal" data-password-toggle hidden aria-label="显示第{{ $loop->iteration }}个账号的密码" data-account-number="{{ $loop->iteration }}" aria-pressed="false"><svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z"/><circle cx="12" cy="12" r="3"/><path class="aid-reveal__slash" d="M4 4l16 16"/></svg></button><button type="button" class="aid-copy copy-permalink" data-clipboard-text="{{ $account['password'] }}" aria-label="复制第{{ $loop->iteration }}个账号的密码">复制</button></dd></div>
|
||
</dl>
|
||
<p class="aid-account__checked">检测时间:@if($account['checked_at'])<time @if(preg_match('/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/', $account['checked_at'])) datetime="{{ str_replace(' ', 'T', $account['checked_at']) }}" @endif>{{ $account['checked_at'] }}</time>@else<span>未提供</span>@endif</p>
|
||
</article>
|
||
@endforeach
|
||
</div>
|
||
</section>
|
||
@if($appleIdLayout['outro'])<div class="aid-extra">{!! nl2br(\App\Services\Seo::body($appleIdLayout['outro'])) !!}</div>@endif
|
||
@if($recommendations['enabled'])
|
||
@include('components.airport-recommendations')
|
||
@endif
|