@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="learn briefMargin">
                        <div class="learn-title">
                            {{ getOneCategory(63,'title') }}<span>{{ getOneCategory(63,'alias') }}</span>
                        </div>
                        <div class="learnCont">
                            <div class="row">
                                @if(getOneCategory(63,'article'))

                                    <div class="col-xs-12 col-md-3 learn-padding">
                                        <div class="learnCont-tips">
                                            <img src="{{ getOneCategory(63,'article')->cover_url }}"/>
                                        </div>
                                    </div>

                                    <div class="col-xs-12 col-md-9 learn-padding">
                                        <div class="learnCont-text">
                                            <div class="learnCont-brief">
                                                <div class="ce-nowrap learnCont-title">{{ getOneCategory(63,'article')->title }}</div>
                                                <div class="ce-nowrap-multi learnCont-version">
                                                    {{ getOneCategory(63,'article')->description }}
                                                </div>
                                                <div class="publicHover learnCont-more"
                                                     data-href="{{ getOneCategory(63,'article')->link  }}">查看详情
                                                </div>
                                            </div>
                                            <img class="learnCont-img" src="/assets/index/images/learn_img.jpg"/>
                                        </div>
                                    </div>
                                @endif
                            </div>
                        </div>
                    </div>
                    <!-- end 学会 -->

                    <!-- start 期刊 -->
                    <div class="journal briefMargin">
                        <div class="learn-title">
                            {{ getOneCategory(64,'title') }}<span>{{ getOneCategory(64,'alias') }}</span>
                        </div>
                        <div class="ce-img journal-tips">
                            <span style="background-image: url(/assets/index/images/journalTop.jpg)"></span>
                        </div>
                        <div class="journalCont">
                            <div class="row">
                                @if(getOneCategory(64,'article'))
                                    <div class="col-xs-12 col-md-5">
                                        <div class="journalCont-title">{{ getOneCategory(63,'article')->title }}</div>
                                        <div class="journalCont-tool">
                                            <div data-href="{{ getOneCategory(63,'article')->link }}"
                                                 class="journalCont-tool-more">
                                                <img src="/assets/index/images/journalCont_icon_00.jpg"/>查看更多
                                            </div>
                                            <div data-href="{{ getOneCategory(75,'url') }}"
                                                 class="journalCont-tool-teach">
                                                <img src="/assets/index/images/journalCont_icon_01.jpg"/>
                                                {{ getOneCategory(75,'title') }}
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-xs-12 col-md-7">
                                        <div class="journalCont-text">
                                            <img class="journalCont-cont-img"
                                                 src="{{ getOneCategory(64,'article')->cover_url }}">
                                            <div class="ce-nowrap-multi journalCont-text-version">
                                                {{ getOneCategory(64,'article')->description }}
                                            </div>
                                        </div>
                                    </div>
                                @endif
                            </div>
                        </div>
                    </div>
                    <!-- end 期刊 -->
                </div>
            </div>
        </div>
    </div>
@endsection

