@layout('parts.layout') @php /** * Template Name:列表 || 学习 */ @endphp @php # 页面数据 $pageid = get_the_ID(); $parentid = parentid($pageid); $pageField = get_fields($pageid); $navHeight = true; $classid = classid(); $classid = 14; @endphp @php $modelBanner = true; @endphp @section('banner') @endsection @section('main')
{{-- 面包屑 --}}
@include('parts.crumbs')

{{ get_the_title() }}

@php $children = @get_term_children($classid, "category"); $children_status = false; if ($children && is_array($children) && count($children)>1 ) { $children_status = true; } @endphp
@php $forData = $children; $forData = is_object($forData) ? $forData : ( is_array($forData) ? $forData : array()); @endphp @foreach ($forData as $keyClass => $valueClass ) @php $valueClassName = get_cat_name($valueClass); @endphp @endforeach
{{-- 公共联系 --}} @if(true) @include('parts.module.public_subscribe') @endif @endsection @section('scripts') @endsection