@extends('layouts.app')

@section('title', $parent->title)

@section('content')
    <!-- 面包屑导航 -->
    @include('category.navigation')

    <!-- 内容 -->
    <div class="container">
        <div class="row">
            <!-- 左侧导航部分 -->
        @include('category.left')
        <!-- 右侧内容部分 -->
            <div class="col-xs-12 col-md-9">
                <div class="levelRight">
                    <!-- start 研究生教育简介 -->
                    <div class="educateStudent briefMargin">
                        <div class="educate-title">{{ getOneCategory(54,'title') }}</div>
                        @if(getOneCategory(54,'article'))
                            <div class="educateStudent-cont">
                                <div class="educateStudent-cont-name">
                                    {{ getOneCategory(54,'article')->title }}
                                    <span>/ {{ getOneCategory(53,'article')->remark }}</span></div>
                                <div class="ce-nowrap-multi educateStudent-cont-text">
                                    {{ getOneCategory(54,'article')->description }}
                                </div>
                                <div class="publicHover educateStudent-cont-more"
                                     data-href=" {{ getOneCategory(54,'article')->link }}">更多&gt;&gt;
                                </div>
                            </div>
                            <div class="educateStudent-right">
                                <div class="ce-img educateStudent-img">
                                    <!-- 图片为5:3-->
                                    <span style="background-image: url({{ getOneCategory(54,'article')->cover_url }});"></span>
                                </div>
                            </div>
                        @endif
                    </div>
                    <!-- end 研究生教育简介 -->

                    <!-- start 硕士导师简介 -->
                    <div class="educateMargin briefMargin">
                        <div class="educate-title">{{ getOneCategory(53,'title') }}</div>
                        @if(getOneCategory(53,'article'))
                            <div class="educateMaster">
                                <div class="educateMaster-right">
                                    <div class="ce-img educateStudent-img">
                                        <!-- 图片为5:3-->
                                        <span style="background-image: url({{ getOneCategory(53,'article')->cover_url }});"></span>
                                    </div>
                                </div>
                            </div>
                            <div class="educateMaster-cont">
                                <div class="educateMaster-cont-name">
                                    <img src="/assets/index/images/educatePop.png"/>
                                    <div class="educateMaster-cont-tutor">
                                        {{ getOneCategory(53,'article')->title }}
                                        <span>{{ getOneCategory(53,'article')->remark }}</span>
                                    </div>
                                </div>
                                <div class="ce-nowrap-multi educateStudent-cont-text">
                                    {{ getOneCategory(53,'article')->description }}
                                </div>
                                <div class="publicHover educateStudent-cont-more"
                                     data-href=" {{ getOneCategory(53,'article')->link }}">更多&gt;&gt;
                                </div>
                            </div>
                        @endif
                    </div>
                    <!-- end 硕士导师简介 -->
                </div>
            </div>
        </div>
    </div>
@endsection

