@forelse($this->themes as $theme)
{{-- 主题预览图 --}}
@if($theme['screenshot']) {{ $theme['title'] }} 预览 @else
@endif @if($theme['active'])
使用中
@endif

{{ $theme['title'] }}

v{{ $theme['version'] }}

{{ $theme['description'] }}

{{ $theme['author'] }}

@if($theme['inject_points'])
@foreach($theme['inject_points'] as $point) {{ $point }} @endforeach
@endif
@if(! $theme['active']) 启用 删除 @endif
@empty

暂无主题

@endforelse
@error('zip')

{{ $message }}

@enderror
安装
刷新市场
@forelse($marketItems as $index => $item) @php $marketPaid = $item['price'] > 0; @endphp
@if($marketPaid) ¥{{ number_format($item['price'] / 100, 2) }} @else 免费 @endif

{{ $item['title'] ?? $item['name'] }}

{{ $item['description'] ?? '' }}

{{ $item['version'] ?? '' }} · {{ $item['author'] ?? '' }}

@if($marketPaid && ! $this->isThemeMarketPurchased($index)) 购买 @elseif($marketPaid) 已购买 @endif 安装
@empty

点击「刷新市场」拉取可用主题

@endforelse