@extends('layouts.app')


@section('content')
    <!-- 分院概况 -->
    <div class="survey" style="background-image: url(/assets/index/images/flowBack.png);">
        <div class="container">
            <div class="row">
                @include('category.left')
                <div class="col-xs-12 col-md-9 secondRight">
                    <!-- 内设机构 -->
                    <div class="surveyCont">
                        <div class="secondTop">
                            <div class="secondTop-name">
                                <img src="/assets/index/images/surveyIcon_02.png"/>
                                {{ getOneCategory(13,'title') }}

                            </div>
{{--                            <a href="{{ getOneCategory(13,'link') }}" class="secondTop-more">--}}
                            {{--                                查看更多&gt;&gt;--}}
                            {{--                            </a>--}}
                        </div>
						<img src="/assets/index/images/najgImg.png" style="margin-top: 20px"/>
                        <div class="organCont" style="display: none;">
                            @if (getCateChild(13)->isNotEmpty())
                                @foreach (getCateChild(13) as $cate)
                                    <div class="organLabel">
                                    <!-- <div class="organLabel-name">
                                            {{ $cate->title }}
                                            </div> -->
                                        <ul class="organLabel-list">
                                            @if($cate->childrens)
                                                @foreach ($cate->childrens as $child)
                                                    <li>
                                                        <a>{{ $child->title }}</a>
                                                    </li>
                                                @endforeach
                                            @endif
                                        </ul>
                                    </div>
                                @endforeach
                            @endif
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
