@extends('library.layouts.app') @section('title', __('labels.home')) @section('content')
{{ __('library.no_packets') }}
{{ __('library.no_packets_desc') }}
| {{ __('library.col_name') }} | {{ __('library.col_size') }} | {{ __('library.col_min_version') }} | {{ __('library.created_at') }} | {{ __('library.col_links') }} |
|---|---|---|---|---|
|
{{ $packet['title'] ?? $packet['id'] }}
{{ $packet['filename'] ?? '' }}
|
{{-- 大小 --}}
{{ formatFilesize((int)($packet['filesize'] ?? 0)) }} | {{-- 最低版本 --}}@if(!empty($packet['min_app_ver'])) v{{ $packet['min_app_ver'] }} @else — @endif | {{-- 创建时间 --}}{{ $packet['create_at'] ?? '—' }} | {{-- 下载链接 --}}
@if(!empty($packet['url']) && is_array($packet['url']))
@foreach($packet['url'] as $index => $urlItem)
{{ $urlItem['hostname'] ?? __('library.download') }}
@endforeach
@else
{{ __('library.no_links') }}
@endif
|