109 lines
5.2 KiB
PHP
109 lines
5.2 KiB
PHP
@extends('layouts.app')
|
|
|
|
@section('title', $category->title)
|
|
|
|
@section('content')
|
|
<!-- content -->
|
|
<div class="container mian">
|
|
<!-- content-nav -->
|
|
<nav class="mian-nav">
|
|
@include('category.left',$parent)
|
|
</nav>
|
|
<!-- content-content -->
|
|
<div class="mian-content">
|
|
@include('layouts.navigation',['category'=>$category])
|
|
|
|
<!-- 研究所简介 -->
|
|
<div class="sub-title">
|
|
<b><i class="fa fa-book"></i>{{ getOneCategory(2,'title') }}</b>
|
|
</div>
|
|
<div class="org-intro">
|
|
<div class="org-intro-cover"
|
|
style="background-image: url({{ getOneArticleBYCate(2)->cover_path }});"></div>
|
|
<div class="org-intro-text">
|
|
{{ getOneArticleBYCate(2)->description }}
|
|
</div>
|
|
<div class="org-intro-more">
|
|
<a href="{{ getOneArticleBYCate(2,'link') }}">查看更多</a>
|
|
</div>
|
|
</div>
|
|
<!-- 领导班子 -->
|
|
<div class="sub-title">
|
|
<b><i class="fa fa-users"></i>{{ getOneCategory(3,'title') }}</b>
|
|
</div>
|
|
<ul class="org-lead-ul">
|
|
@if (getArticlesBYCate(3,6)->isNotEmpty())
|
|
@foreach (getArticlesBYCate(3,6) as $article)
|
|
<li>
|
|
<span class="org-lead-cover"
|
|
style="background-image: url({{ $article->cover_path }});"></span>
|
|
<a class="org-lead-name" href="{{ $article->link }}">{{ $article->title }}</a>
|
|
<p class="org-lead-job">{{ $article->job }}</p>
|
|
<p class="org-lead-job"> {{ $article->working }}</p>
|
|
</li>
|
|
@endforeach
|
|
@endif
|
|
|
|
</ul>
|
|
<!-- 机构设置 -->
|
|
<div class="sub-title">
|
|
<b><i class="fa fa-tasks"></i>{{ getOneCategory(4,'title') }}</b>
|
|
</div>
|
|
<div class="org-inst">
|
|
<span data-href="{{ getOneCategory(5,'link') }}"><i class="fa fa-chevron-circle-right"></i>{{ getOneCategory(5,'title') }}</span>
|
|
<span data-href="{{ getOneCategory(8,'link') }}"><i class="fa fa-chevron-circle-right"></i>{{ getOneCategory(8,'title') }}</span>
|
|
<span data-href="{{ getOneCategory(9,'link') }}"><i class="fa fa-chevron-circle-right"></i>{{ getOneCategory(9,'title') }}</span>
|
|
</div>
|
|
<ul class="org-inst-ul new-org-inst-ul" style="margin-bottom: 0; margin-top: 5px;">
|
|
<li>
|
|
<span data-href="{{ getOneCategory(7,'link') }}"><i class="fa fa-chevron-circle-right"></i>{{ getOneCategory(7,'title') }}</span>
|
|
</li>
|
|
</ul>
|
|
<ul class="org-inst-ul new-org-inst-ul">
|
|
<li>
|
|
<span data-href="{{ getOneCategory(37,'link') }}"><i class="fa fa-chevron-circle-right"></i>{{ getOneCategory(37,'title') }}</span>
|
|
<span><i class="fa fa-chevron-right"></i></span>
|
|
@if (getCateChild(37)->isNotEmpty())
|
|
@foreach (getCateChild(37) as $child)
|
|
<span data-href="{{ $child->link }}">{{ $child->title }}</span>
|
|
@endforeach
|
|
@endif
|
|
</li>
|
|
<li>
|
|
<span data-href="{{ getOneCategory(41,'link') }}"><i class="fa fa-chevron-circle-right"></i>{{ getOneCategory(41,'title') }}</span>
|
|
</li>
|
|
<li>
|
|
<span data-href="{{ getOneCategory(44,'link') }}"><i class="fa fa-chevron-circle-right"></i>{{ getOneCategory(44,'title') }}</span>
|
|
</li>
|
|
<li>
|
|
<span data-href="{{ getOneCategory(38,'link') }}"><i class="fa fa-chevron-circle-right"></i>{{ getOneCategory(38,'title') }}</span>
|
|
<span><i class="fa fa-chevron-right"></i></span>
|
|
@if (getCateChild(38)->isNotEmpty())
|
|
@foreach (getCateChild(38) as $child)
|
|
<span data-href="{{ $child->link }}">{{ $child->title }}</span>
|
|
@endforeach
|
|
@endif
|
|
</li>
|
|
<li>
|
|
<span data-href="{{ getOneCategory(39,'link') }}"><i class="fa fa-chevron-circle-right"></i>{{ getOneCategory(39,'title') }}</span>
|
|
</li>
|
|
</ul>
|
|
<!-- 历史沿革 -->
|
|
<div class="sub-title" id="lsyg">
|
|
<b><i class="fa fa-clock-o"></i>{{ getOneCategory(50,'title') }}</b>
|
|
</div>
|
|
<div class="org-history">
|
|
<div class="org-history-cover"
|
|
style="background-image: url({{ getOneArticleBYCate(50,'cover_path') }});"></div>
|
|
<div class="org-intro-text">
|
|
{{ getOneArticleBYCate(50,'description') }}
|
|
</div>
|
|
<div class="org-intro-more">
|
|
<a href="{{ getOneArticleBYCate(50,'link') }}">查看更多</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end content -->
|
|
@endsection
|