@extends('storefront.layout', ['title' => 'Tstore · ' . $package->name]) @section('hero')

{{ $detail['name'] }}

{{ $detail['summary'] ?: '暂无摘要' }}

{{ $detail['type'] }}类型
{{ $detail['download_count'] }}累计下载
{{ count($detail['versions']) }}版本数
{{ count($detail['categories']) }}分类

说明

这是前台展示页,只展示扩展信息、版本兼容性和截图,不直接暴露下载地址。需要维护请进入后台。

@endsection @section('content')

扩展说明

作者:{{ $detail['author'] ?: '未知作者' }}
主页:{{ $detail['homepage'] ?: '未提供' }}
@foreach($package->categories as $category) {{ $category->name }} @endforeach
{{ $detail['description'] ?: '暂无详细描述。' }}

版本信息

@forelse($detail['versions'] as $version)
v{{ $version['version'] }}
{{ $version['is_latest'] ? '最新版本' : '历史版本' }} · {{ $version['is_stable'] ? '稳定版' : '预发布' }}
Typecho {{ $version['compatibility']['typecho_min'] ?: '-' }} ~ {{ $version['compatibility']['typecho_max'] ?: '-' }}
PHP {{ $version['compatibility']['php_min'] ?: '-' }} ~ {{ $version['compatibility']['php_max'] ?: '-' }}
@if(!empty($version['changelog']))
{{ $version['changelog'] }}
@endif
@empty
当前没有版本记录。
@endforelse
@if(count($detail['screenshots']))

截图展示

只展示视觉效果,不提供下载入口。

@endif

更多{{ $package->type === 'plugin' ? '插件' : '主题' }}

继续浏览同类内容。

@forelse($related as $item)
{{ $item->name }}
{{ $item->summary ?: '暂无摘要' }}
@empty
当前没有更多相关内容。
@endforelse
@endsection