@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_01.png"/>
                                {{ getOneCategory(14,'title') }}
                            </div>
                            <a href="{{ getOneCategory(14,'link') }}" target="_blank" class="secondTop-more">
                                查看更多&gt;&gt;
                            </a>
                        </div>
                        <ul class="surveyLeader">
                            @if (getArticlesBYCate(14,3)->isNotEmpty())
                                @foreach (getArticlesBYCate(14,3) as $article)
                                    <li>
{{--                                        <a href="{{ $article->link }}" target="_blank">--}}
                                            <div class="ce-img surveyLeader-img">
                                                <span style="background-image: url({{ $article->cover_path }});"></span>
                                            </div>
                                            <div class="surveyLeader-cont">
                                                <div class="surveyLeader-name">
                                                    <span>{{ $article->title }}</span>{{ $article->description }}
                                                </div>
                                                <div class="surveyLeader-post">
                                                    {{ $article->tenure }}
                                                </div>
                                                <div class="surveyLeader-span">
                                                    <span>职务：{{ $article->duty }}</span>
                                                    <span>职称：{{ $article->rank }}</span>
                                                </div>
                                            </div>
{{--                                        </a>--}}
                                    </li>
                                @endforeach
                            @endif
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
