{{$album['title']}}
@foreach($showTabs as $tab)
first)class="is-active"@endif column={{$tab['column']}}>{{$tab['title']}}
@endforeach
@foreach($showTabs as $tab)
@php
$content = json_decode($album[$tab['column']], true);
@endphp
@if (empty($content))
数据为空
@endif
@if ($tab['column'] == 'video' || $tab['column'] == 'pdf')
@if ($tab['column'] == 'video' && empty($content) == false)
@endif
@if ($tab['column'] == 'pdf' && empty($content) == false)
@endif
@else
@foreach($content as $item)
@endforeach
@endif
@endforeach
图片 | 操作 |
---|---|
|
PDF标题 | 操作 |
---|---|
{{$item['pdf_title']}} |