@extends('layouts.app')

@section('content')
    <!-- 内容 -->
    <div class="second">
        <div class="container">

            @include('category.left')

            <div class="secondRight">
                <div class="crumbs">
                    当前位置： 首页 &gt; {{ $parent->title }} &gt; {{ $category->title }}
                </div>
                <!-- 领导班子 -->
                <div class="organ">
                    <div class="organBrief">
                        <div class="organBrief-title">{{ $category->title }}</div>
                        <ul class="leaderList">
                            @if ($staffs->isNotEmpty())
                                @foreach ($staffs as $staff)
                                    <li>
                                        <a href="{{ $staff->link }}">
                                            <div class="ce-img leaderList-img">
                                                <span style="background-image: url({{ $staff->cover_url }});"></span>
                                            </div>
                                            <div class="leaderList-cont">
                                                <div class="leaderList-title">
                                                    <div class="leaderList-name">{{ $staff->name }}</div>
                                                    <div class="leaderList-tips">
                                                        <img src="{{ asset('assets/index/images/partyIcon.png') }}"/>
                                                        {{ $staff->job }}
                                                    </div>
                                                </div>
                                                <div class="leaderList-text">{{ $staff->duty }}</div>
                                            </div>
                                        </a>
                                    </li>
                                @endforeach
                            @endif
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- end 内容 -->
@endsection
