侧边栏功能名称 @foreach ($sections as $section) @php $sectionInput = "section_titles[{$section['slug']}]"; @endphp
一级功能
@if (! empty($section['pages']))
@foreach ($section['pages'] as $page) @php $pageInput = "page_titles[{$section['slug']}][{$page['slug']}]"; @endphp
二级功能
@endforeach
@endif
@endforeach