{{-- resources/views/library/tipitaka/show.blade.php 作品详情:某 channel 的某部作品。 变量:$book(TipitakaCatalogService::bookCard() + channel / pali_title / contents / categories / read_url)、 $otherVersions(同作品的其他公开 channel)、$relatedWorks(同分类、本 channel 收录的其他作品) --}} @extends('layouts.library') @section('title', $book['title'] . ' · ' . __('library.site_name')) @push('styles') @vite('resources/css/modules/tipitaka.css') @endpush @section('breadcrumb') @endsection @section('content')
{{-- 左侧边栏:封面 + 操作按钮 --}} {{-- 主内容区 --}}
{{ $book['title'] }}
@if($book['pali_title'] !== $book['title'])
{{ $book['pali_title'] }}
@endif
@if(!empty($book['publisher'])) @endif @if(!empty($book['categories'])) @endif @if(!empty($book['updated_at'])) @endif
{{ __('library.channel') }} {{ $book['channel']['name'] }} {{ $book['type'] }}
{{ __('library.publisher') }} {{ $book['publisher']->nickname }}
{{ __('library.language') }} {{ $book['language'] }}
{{ __('library.category') }} @foreach($book['categories'] as $category) {{ $category['name'] }}@if(!$loop->last) › @endif @endforeach
{{ __('library.progress') }}
{{ __('library.updated') }} {{ $book['updated_at'] }}
@if(!empty($book['description']))

{{ $book['description'] }}

@endif
{{-- 目录:无译文的章节置灰不可点 --}} @if(!empty($book['contents']))
{{ __('library.toc') }}
@endif
{{-- 右侧边栏 --}}
@endsection