阶段性更新
This commit is contained in:
@@ -11,18 +11,29 @@
|
||||
</nav>
|
||||
<!-- content-content -->
|
||||
<div class="mian-content">
|
||||
<div class="mian-content-header">
|
||||
<a href="/">首页</a>
|
||||
<i class="fa fa-caret-right"></i>
|
||||
<a href="{{ $category->link }}">{{ $category->title }}</a>
|
||||
</div>
|
||||
<!-- 科技奖励 -->
|
||||
@include('layouts.navigation',['category'=>$category])
|
||||
<!-- 科研领域 -->
|
||||
<div class="sub-title">
|
||||
<b><i class="fa fa-flag"></i>{{ getOneCategory(13,'title') }}</b>
|
||||
<a href="{{ getOneCategory(13,'link') }}">更多</a>
|
||||
<b><i class="fa fa-flag"></i>{{ getOneCategory(14,'title') }}</b>
|
||||
<a href="{{ getOneCategory(14,'link') }}">更多</a>
|
||||
</div>
|
||||
<ul class="results-news-ul">
|
||||
@foreach (getArticlesBYCate(14,5) as $article)
|
||||
<li>
|
||||
<a class="nowrap" href="{{ $article->link }}">
|
||||
<i class="fa fa-angle-double-right"></i>
|
||||
{{ $article->title }}
|
||||
<span>{{ $article->created_at->format('Y-m-d') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<!-- 创新单元 -->
|
||||
<div class="sub-title" style="margin-top: 30px;">
|
||||
<b><i class="fa fa-flag"></i>{{ getOneCategory(11,'title') }}</b>
|
||||
</div>
|
||||
<ul class="research-award-ul">
|
||||
@foreach (getArticlesBYCate(13,3) as $article)
|
||||
@foreach (getArticlesBYCate(11,5) as $article)
|
||||
<li data-href="{{ $article->link }}">
|
||||
<span class="research-award-cover"
|
||||
style="background-image: url({{ $article->cover_path }});"></span>
|
||||
@@ -31,46 +42,20 @@
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<!-- 科研产出 -->
|
||||
<div class="sub-title">
|
||||
<b><i class="fa fa-flask"></i>{{ getOneCategory(12,'title') }}</b>
|
||||
<!-- 交流合作 -->
|
||||
<div class="sub-title" style="margin-top: 30px;">
|
||||
<b><i class="fa fa-flag"></i>{{ getOneCategory(67,'title') }}</b>
|
||||
<a href="{{ getOneCategory(67,'link') }}">更多</a>
|
||||
</div>
|
||||
<ul class="kycc-border">
|
||||
<li>
|
||||
<div class="lw lw-lg">
|
||||
<div class="lw-left lw-left-lg" data-href="{{ getOneCategory(55,'link') }}">
|
||||
论</br>文
|
||||
</div>
|
||||
<ul class="lw-center">
|
||||
@foreach (getArticlesBYCate(55,8) as $article)
|
||||
<li class="nowrap">
|
||||
<a href="{{ $article->link }}">{{ $article->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
<div class="lw-right lw-left-lg" data-href="{{ getOneCategory(55,'link') }}">
|
||||
更</br>多
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="lw lw-lg">
|
||||
<div class="lw-left lw-left-lg" data-href="{{ getOneCategory(54,'link') }}">
|
||||
专</br>利
|
||||
</div>
|
||||
<ul class="lw-center">
|
||||
@foreach (getArticlesBYCate(54,8) as $article)
|
||||
<li class="nowrap">
|
||||
<a href="{{ $article->link }}">{{ $article->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<div class="lw-right lw-left-lg" data-href="{{ getOneCategory(54,'link') }}">
|
||||
更</br>多
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<ul class="research-award-ul">
|
||||
@foreach (getArticlesBYCate(67,5) as $article)
|
||||
<li data-href="{{ $article->link }}">
|
||||
<span class="research-award-cover"
|
||||
style="background-image: url({{ $article->cover_path }});"></span>
|
||||
<h3 class="research-award-title nowrap"
|
||||
data-herf="{{ $article->link }}">{{ $article->title }}</h3>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
@if($parent->cover_path)
|
||||
<img class="mian-nav-cover" src="{{ $parent->cover_path }}" alt="导航封面">
|
||||
@endif
|
||||
<!-- <img class="mian-nav-cover" src="{{ $parent->cover_path }}" alt="导航封面"> -->
|
||||
<div class="mian-nav-title">
|
||||
|
||||
{{ $category->title }}
|
||||
|
||||
</div>
|
||||
<ul class="mian-nav-ul">
|
||||
@if ($category->children->isNotEmpty())
|
||||
@foreach ($category->children as $children)
|
||||
@if (getCateChild($category->id)->isNotEmpty())
|
||||
@foreach (getCateChild($category->id) as $children)
|
||||
<li class="show">
|
||||
<a href="{{ $children->link }}">{{ $children->title }}</a>
|
||||
</li>
|
||||
|
||||
@@ -7,18 +7,7 @@
|
||||
<div class="container mian">
|
||||
<!-- content-nav -->
|
||||
<nav class="mian-nav">
|
||||
@if($parent->cover_path)
|
||||
<img class="mian-nav-cover" src="{{ $parent->cover_path }}" alt="导航封面">
|
||||
@endif
|
||||
<ul class="mian-nav-ul">
|
||||
@if ($parent->children->isNotEmpty())
|
||||
@foreach ($parent->children as $children)
|
||||
<li class="show">
|
||||
<a href="{{ $children->link }}">{{ $children->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
@include('category.left',$parent)
|
||||
</nav>
|
||||
<!-- content-content -->
|
||||
<div class="mian-content">
|
||||
|
||||
@@ -38,48 +38,68 @@
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
{{-- <ul class="rcdw">--}}
|
||||
{{-- @if (getArticlesBYCate(29,16)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(29,16) as $article)--}}
|
||||
{{-- <li class="rcdw-xh" data-href="{{ $article->link }}">--}}
|
||||
{{-- <span class="rcdw-cover" style="background-image: url({{ $article->cover_path }});"></span>--}}
|
||||
{{-- <div class="rcdw-xxh">--}}
|
||||
{{-- <h3>{{ $article->title }}</h3>--}}
|
||||
{{-- <p>{{ $article->job }}</p>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </ul>--}}
|
||||
<!-- 省级领军人才梯队 -->
|
||||
<!-- 省级领军人才梯队 -->
|
||||
@if(getAllTalent()->isNotEmpty())
|
||||
<div class="sub-title">
|
||||
<b><i class="fa fa-line-chart"></i>{{ getCate(20,'title') }}</b>
|
||||
</div>
|
||||
@foreach(getAllTalent() as $talent)
|
||||
<div class="rctd-boeder">
|
||||
<div class="rctd2" style="background-image: url({{ $talent->cover_path }});"></div>
|
||||
<p class="rctd3-p">
|
||||
<span>梯队名称:</span>
|
||||
<span>{{ $talent->title }}</span>
|
||||
</p>
|
||||
<p class="rctd3-p">
|
||||
<span>带头人:</span>
|
||||
<span>{{ $talent->leader }}</span>
|
||||
</p>
|
||||
<p class="rctd3-p">
|
||||
<span>后备带头人:</span>
|
||||
<span>{{ $talent->unleader }}</span>
|
||||
</p>
|
||||
@if(getAllTalent(69)->isNotEmpty())
|
||||
<div class="sub-title">
|
||||
<b><i class="fa fa-line-chart"></i>{{ getOneCategory(69,'title') }}</b>
|
||||
</div>
|
||||
@foreach(getAllTalent(69) as $talent)
|
||||
<div class="rctd-boeder">
|
||||
<div class="rctd2" style="background-image: url({{ $talent->cover_path }});"></div>
|
||||
<p class="rctd3-p">
|
||||
<span>梯队名称:</span>
|
||||
<span>{{ $talent->title }}</span>
|
||||
</p>
|
||||
<p class="rctd3-p">
|
||||
<span>带头人:</span>
|
||||
<span>{{ $talent->leader }}</span>
|
||||
</p>
|
||||
<p class="rctd3-p">
|
||||
<span>后备带头人:</span>
|
||||
<span>{{ $talent->unleader }}</span>
|
||||
</p>
|
||||
|
||||
<p class="rctd3-p">
|
||||
<span>梯队介绍:</span>
|
||||
<span>
|
||||
<p class="rctd3-p">
|
||||
<span>梯队介绍:</span>
|
||||
<span>
|
||||
{{ $talent->description }}
|
||||
</span>
|
||||
</p>
|
||||
</p>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if(getAllTalent(69)->isNotEmpty())
|
||||
|
||||
<div class="sub-title">
|
||||
<b><i class="fa fa-line-chart"></i>{{ getOneCategory(68,'title') }}</b>
|
||||
</div>
|
||||
@endforeach
|
||||
@foreach(getAllTalent(68) as $talent)
|
||||
<div class="rctd-boeder">
|
||||
<div class="rctd2" style="background-image: url({{ $talent->cover_path }});"></div>
|
||||
<p class="rctd3-p">
|
||||
<span>梯队名称:</span>
|
||||
<span>{{ $talent->title }}</span>
|
||||
</p>
|
||||
<p class="rctd3-p">
|
||||
<span>带头人:</span>
|
||||
<span>{{ $talent->leader }}</span>
|
||||
</p>
|
||||
<p class="rctd3-p">
|
||||
<span>后备带头人:</span>
|
||||
<span>{{ $talent->unleader }}</span>
|
||||
</p>
|
||||
|
||||
<p class="rctd3-p">
|
||||
<span>梯队介绍:</span>
|
||||
<span>
|
||||
{{ $talent->description }}
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
49
resources/views/category/sjljrc.blade.php
Normal file
49
resources/views/category/sjljrc.blade.php
Normal file
@@ -0,0 +1,49 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', $category->title)
|
||||
|
||||
@section('content')
|
||||
<!-- content -->
|
||||
<div class="container mian">
|
||||
<!-- content-nav -->
|
||||
<nav class="mian-nav">
|
||||
@include('layouts.left',$parent)
|
||||
</nav>
|
||||
<!-- content-content -->
|
||||
<div class="mian-content">
|
||||
@include('layouts.navigation',['category'=>$category])
|
||||
|
||||
<!-- 省级领军人才梯队 -->
|
||||
@if(getAllTalent(69)->isNotEmpty())
|
||||
<div class="sub-title">
|
||||
<b><i class="fa fa-line-chart"></i>{{ getOneCategory(69,'title') }}</b>
|
||||
</div>
|
||||
@foreach(getAllTalent(69) as $talent)
|
||||
<div class="rctd-boeder">
|
||||
<div class="rctd2" style="background-image: url({{ $talent->cover_path }});"></div>
|
||||
<p class="rctd3-p">
|
||||
<span>梯队名称:</span>
|
||||
<span>{{ $talent->title }}</span>
|
||||
</p>
|
||||
<p class="rctd3-p">
|
||||
<span>带头人:</span>
|
||||
<span>{{ $talent->leader }}</span>
|
||||
</p>
|
||||
<p class="rctd3-p">
|
||||
<span>后备带头人:</span>
|
||||
<span>{{ $talent->unleader }}</span>
|
||||
</p>
|
||||
|
||||
<p class="rctd3-p">
|
||||
<span>梯队介绍:</span>
|
||||
<span>
|
||||
{{ $talent->description }}
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- end content -->
|
||||
@endsection
|
||||
33
resources/views/category/xhqk.blade.php
Normal file
33
resources/views/category/xhqk.blade.php
Normal file
@@ -0,0 +1,33 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', $category->title)
|
||||
|
||||
@section('content')
|
||||
<!-- content -->
|
||||
<div class="container mian">
|
||||
<!-- content-nav -->
|
||||
<nav class="mian-nav">
|
||||
@include('layouts.left',$parent)
|
||||
</nav>
|
||||
<!-- content-content -->
|
||||
<div class="mian-content">
|
||||
@include('layouts.navigation',$category)
|
||||
<!-- 学会期刊 -->
|
||||
<div class="sub-title">
|
||||
<b><i class="fa fa-flag"></i>{{ getOneCategory(66,'title') }}</b>
|
||||
<a href="{{ getOneCategory(66,'link') }}">更多</a>
|
||||
</div>
|
||||
<ul class="research-award-ul">
|
||||
@foreach (getArticlesBYCate(66,3) as $article)
|
||||
<li data-href="{{ $article->link }}">
|
||||
<span class="research-award-cover"
|
||||
style="background-image: url({{ $article->cover_path }});"></span>
|
||||
<h3 class="research-award-title nowrap"
|
||||
data-herf="{{ $article->link }}">{{ $article->title }}</h3>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end content -->
|
||||
@endsection
|
||||
49
resources/views/category/yjzdxk.blade.php
Normal file
49
resources/views/category/yjzdxk.blade.php
Normal file
@@ -0,0 +1,49 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', $category->title)
|
||||
|
||||
@section('content')
|
||||
<!-- content -->
|
||||
<div class="container mian">
|
||||
<!-- content-nav -->
|
||||
<nav class="mian-nav">
|
||||
@include('layouts.left',$parent)
|
||||
</nav>
|
||||
<!-- content-content -->
|
||||
<div class="mian-content">
|
||||
@include('layouts.navigation',['category'=>$category])
|
||||
|
||||
<!-- 省级领军人才梯队 -->
|
||||
@if(getAllTalent(68)->isNotEmpty())
|
||||
<div class="sub-title">
|
||||
<b><i class="fa fa-line-chart"></i>{{ getOneCategory(68,'title') }}</b>
|
||||
</div>
|
||||
@foreach(getAllTalent(68) as $talent)
|
||||
<div class="rctd-boeder">
|
||||
<div class="rctd2" style="background-image: url({{ $talent->cover_path }});"></div>
|
||||
<p class="rctd3-p">
|
||||
<span>梯队名称:</span>
|
||||
<span>{{ $talent->title }}</span>
|
||||
</p>
|
||||
<p class="rctd3-p">
|
||||
<span>带头人:</span>
|
||||
<span>{{ $talent->leader }}</span>
|
||||
</p>
|
||||
<p class="rctd3-p">
|
||||
<span>后备带头人:</span>
|
||||
<span>{{ $talent->unleader }}</span>
|
||||
</p>
|
||||
|
||||
<p class="rctd3-p">
|
||||
<span>梯队介绍:</span>
|
||||
<span>
|
||||
{{ $talent->description }}
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- end content -->
|
||||
@endsection
|
||||
@@ -37,15 +37,19 @@
|
||||
<a href="{{ getOneCategory(15,'link') }}">更多<i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
<div class="index-mian-news">
|
||||
@if ($ysxw->isNotEmpty())
|
||||
<div class="index-mian-news-hot">
|
||||
<a href="{{ $ysxw->first()->link }}" class="index-mian-news-cover"
|
||||
style="background-image: url({{ $ysxw->first()->cover_path }});"></a>
|
||||
<a href="{{ $ysxw->first()->link }}" class="index-mian-news-href">
|
||||
<p class="nowrap-multi">{{ $ysxw->first()->title }}</p>
|
||||
<p class="nowrap">{{ $ysxw->first()->created_at->format('Y-m-d') }}</p>
|
||||
<div class="index-mian-news-hot">
|
||||
@if($pos_a)
|
||||
<a href="{{ $pos_a->link }}" class="index-mian-news-cover"
|
||||
style="background-image: url({{ $pos_a->cover_path }});">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<a href="{{ $pos_a->link }}" class="index-mian-news-href">
|
||||
<p class="nowrap-multi">{{ $pos_a->title }}</p>
|
||||
<p class="nowrap">{{ $pos_a->created_at->format('Y-m-d') }}</p>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
@if ($ysxw->isNotEmpty())
|
||||
<ul class="index-mian-news-ul">
|
||||
@foreach ($ysxw as $info)
|
||||
<li>
|
||||
@@ -60,23 +64,27 @@
|
||||
@endif
|
||||
|
||||
</div>
|
||||
<!-- 成果转化 -->
|
||||
<!-- 科学研究 -->
|
||||
<div class="index-mian-title">
|
||||
<span><i class="fa fa-flask"></i>{{ getOneCategory(19,'title') }}</span>
|
||||
<a href="{{ getOneCategory(19,'link') }}">更多<i class="fa fa-plus"></i></a>
|
||||
<span><i class="fa fa-flask"></i>{{ getOneCategory(10,'title') }}</span>
|
||||
<a href="{{ getOneCategory(10,'link') }}">更多<i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
<div class="index-mian-news">
|
||||
@if ($kjcg->isNotEmpty())
|
||||
<div class="index-mian-news-hot">
|
||||
<a href="{{ $kjcg->first()->link }}" class="index-mian-news-cover"
|
||||
style="background-image: url({{ $kjcg->first()->cover_path }});"></a>
|
||||
<a href="{{ $kjcg->first()->link }}" class="index-mian-news-href">
|
||||
<p class="nowrap-multi">{{ $kjcg->first()->title }}</p>
|
||||
<p class="nowrap">{{ $kjcg->first()->created_at->format('Y-m-d') }}</p>
|
||||
<div class="index-mian-news-hot">
|
||||
@if($pos_b)
|
||||
<a href="{{ $pos_b->link }}" class="index-mian-news-cover"
|
||||
style="background-image: url({{ $pos_b->cover_path }});">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<a href="{{ $pos_b->link }}" class="index-mian-news-href">
|
||||
<p class="nowrap-multi">{{ $pos_b->title }}</p>
|
||||
<p class="nowrap">{{ $pos_b->created_at->format('Y-m-d') }}</p>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
@if (getArtilesByCates(10)->isNotEmpty())
|
||||
<ul class="index-mian-news-ul">
|
||||
@foreach ($kjcg as $info)
|
||||
@foreach (getArtilesByCates(10) as $info)
|
||||
<li>
|
||||
<a href="{{ $info->link }}" class="nowrap">
|
||||
<i class="fa fa-chevron-circle-right"></i>
|
||||
@@ -88,38 +96,33 @@
|
||||
</ul>
|
||||
@endif
|
||||
</div>
|
||||
<!-- 论文 -->
|
||||
|
||||
<!-- 科技成果 -->
|
||||
<div class="index-mian-title">
|
||||
<span><i class="fa fa fa-suitcase"></i>{{ getOneCategory(55,'title') }}</span>
|
||||
<a href="{{ getOneCategory(55,'link') }}">更多<i class="fa fa-plus"></i></a>
|
||||
<span><i class="fa fa-flask"></i>{{ getOneCategory(10,'title') }}</span>
|
||||
<a href="{{ getOneCategory(19,'link') }}">更多<i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
<div class="index-mian-news">
|
||||
@if (getArticlesBYCate(55,8)->isNotEmpty())
|
||||
<div class="index-mian-news-hot">
|
||||
@if($pos_c)
|
||||
<a href="{{ $pos_c->link }}" class="index-mian-news-cover"
|
||||
style="background-image: url({{ $pos_c->cover_path }});">
|
||||
</a>
|
||||
|
||||
<a href="{{ $pos_c->link }}" class="index-mian-news-href">
|
||||
<p class="nowrap-multi">{{ $pos_c->title }}</p>
|
||||
<p class="nowrap">{{ $pos_c->created_at->format('Y-m-d') }}</p>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
@if (getArtilesByCates(19)->isNotEmpty())
|
||||
<ul class="index-mian-news-ul">
|
||||
@foreach (getArticlesBYCate(55,8) as $article)
|
||||
@foreach (getArtilesByCates(19) as $info)
|
||||
<li>
|
||||
<a href="{{ $article->link }}" class="nowrap">
|
||||
<a href="{{ $info->link }}" class="nowrap">
|
||||
<i class="fa fa-chevron-circle-right"></i>
|
||||
{{ $article->title }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
</div>
|
||||
<!-- 专利 -->
|
||||
<div class="index-mian-title">
|
||||
<span><i class="fa fa fa-suitcase"></i>{{ getOneCategory(54,'title') }}</span>
|
||||
<a href="{{ getOneCategory(54,'link') }}">更多<i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
<div class="index-mian-news">
|
||||
@if (getArticlesBYCate(54,8)->isNotEmpty())
|
||||
<ul class="index-mian-news-ul">
|
||||
@foreach (getArticlesBYCate(54,8) as $article)
|
||||
<li>
|
||||
<a href="{{ $article->link }}" class="nowrap">
|
||||
<i class="fa fa-chevron-circle-right"></i>
|
||||
{{ $article->title }}
|
||||
{{ $info->title }}
|
||||
<span>{{ $info->created_at->format('Y-m-d') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@@ -133,11 +136,11 @@
|
||||
<div class="index-mian-title">
|
||||
<span><i class="fa fa-group"></i>{{ getOneCategory(63,'title') }}</span>
|
||||
</div>
|
||||
<ul class="index-mian-news-ul index-mian-right-ul">
|
||||
<ul class="index-mian-news-ul index-mian-notice-ul">
|
||||
@if (getArticlesBYCate(63,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(63,3) as $article)
|
||||
<li>
|
||||
<a href="{{ $article->link }}" class="nowrap">
|
||||
<a href="{{ $article->link }}" class="nowrap-multi">
|
||||
<i class="fa fa-chevron-circle-right"></i>
|
||||
{{ $article->title }}
|
||||
</a>
|
||||
@@ -147,13 +150,13 @@
|
||||
|
||||
</ul>
|
||||
<!-- 快速入口 -->
|
||||
@if(!empty($ysxw_right_advert))
|
||||
<a class="index-mian-right-ad index-mian-right-ad-1"
|
||||
style="background-image: url({{ $ysxw_right_advert->cover_path }} );"
|
||||
href="{{ $ysxw_right_advert->url }}"
|
||||
>
|
||||
{{-- <span>{{ $ysxw_right_advert->title }}</span>--}}
|
||||
</a>
|
||||
@if(!empty($ysxw_right_advert))
|
||||
{{-- <a class="index-mian-right-ad index-mian-right-ad-1"--}}
|
||||
{{-- style="background-image: url({{ $ysxw_right_advert->cover_path }} );"--}}
|
||||
{{-- href="{{ $ysxw_right_advert->url }}"--}}
|
||||
{{-- >--}}
|
||||
{{-- --}}{{-- <span>{{ $ysxw_right_advert->title }}</span> --}}
|
||||
{{-- </a> --}}
|
||||
@endif
|
||||
<!-- 快速入口 -->
|
||||
<div class="index-mian-right-ads">
|
||||
@@ -168,23 +171,6 @@
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
<!-- 民主生活会 -->
|
||||
<div class="index-mian-title">
|
||||
<span><i class="fa fa-group"></i>{{ getOneCategory(57,'title') }}</span>
|
||||
</div>
|
||||
<ul class="index-mian-news-ul index-mian-right-ul">
|
||||
@if (getArticlesBYCate(57,4)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(57,4) as $article)
|
||||
<li>
|
||||
<a href="{{ $article->link }}" class="nowrap">
|
||||
<i class="fa fa-chevron-circle-right"></i>
|
||||
{{ $article->title }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
<!-- 视频新闻 -->
|
||||
<div class="index-mian-title">
|
||||
<span><i class="fa fa-play-circle"></i>{{ getOneCategory(56,'title') }}</span>
|
||||
@@ -204,8 +190,23 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
</div>
|
||||
<!-- 党群原地 -->
|
||||
<div class="index-mian-title">
|
||||
<span><i class="fa fa-group"></i>{{ getOneCategory(57,'title') }}</span>
|
||||
</div>
|
||||
<ul class="index-mian-news-ul index-mian-notice-ul">
|
||||
@if (getArticlesBYCate(57,4)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(57,4) as $article)
|
||||
<li>
|
||||
<a href="{{ $article->link }}" class="nowrap-multi">
|
||||
<i class="fa fa-chevron-circle-right"></i>
|
||||
{{ $article->title }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
<!-- 快速入口 -->
|
||||
<div class="index-mian-right-ads">
|
||||
@if ($lwzl_right_advert->isNotEmpty())
|
||||
|
||||
@@ -7,336 +7,25 @@
|
||||
</li>
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.zzjg')) show @endif">
|
||||
<a href=" {{ getOneCategory(config('haai.category.zzjg'),'link') }} ">{{ getOneCategory(config('haai.category.zzjg'),'title') }}</a>
|
||||
{{-- <div class="nav-layer hide">--}}
|
||||
{{-- <div class="nav-layer-item nav-org-left">--}}
|
||||
{{-- <!-- 研究所简介 -->--}}
|
||||
{{-- <div class="nav-org-int">--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(2,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-org-mian">--}}
|
||||
{{-- <div class="nav-org-cover">--}}
|
||||
{{-- <span style="background-image: url({{ getOneArticleBYCate(2)->cover_path }});"></span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <p>--}}
|
||||
{{-- {{ getOneArticleBYCate(2)->description }}--}}
|
||||
{{-- </p>--}}
|
||||
{{-- <p class="nav-org-more"><a href="{{ getOneArticleBYCate(2,'link') }}">查看更多</a></p>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <!-- 领导班子 -->--}}
|
||||
{{-- <div class="nav-org-leadership">--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(3,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <ul class="nav-org-people">--}}
|
||||
{{-- @if (getArticlesBYCate(3,3)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(3,3) as $article)--}}
|
||||
{{-- <li>--}}
|
||||
{{-- <a href="{{ $article->link }}">--}}
|
||||
{{-- <img src="{{ $article->cover_path }}">--}}
|
||||
{{-- <p class="nowrap">{{ $article->title }}</p>--}}
|
||||
{{-- </a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-layer-item nav-org-right">--}}
|
||||
{{-- <!-- 机构设置 -->--}}
|
||||
{{-- <div class="nav-layer-title ">--}}
|
||||
{{-- <span>{{ getOneCategory(4,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <ul class="nav-org-flex">--}}
|
||||
{{-- <li><a href="{{ getOneCategory(5,'link') }}">{{ getOneCategory(5,'title') }}</a></li>--}}
|
||||
{{-- <li><a href="{{ getOneCategory(6,'link') }}">{{ getOneCategory(6,'title') }}</a></li>--}}
|
||||
{{-- <li><a href="{{ getOneCategory(7,'link') }}">{{ getOneCategory(7,'title') }}</a></li>--}}
|
||||
{{-- <li><a href="{{ getOneCategory(8,'link') }}">{{ getOneCategory(8,'title') }}</a></li>--}}
|
||||
{{-- <li><a href="{{ getOneCategory(9,'link') }}">{{ getOneCategory(9,'title') }}</a></li>--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- <div class="nav-layer-title"></div>--}}
|
||||
{{-- <ul class="nav-org-flex">--}}
|
||||
{{-- <li style="width: 100%;">--}}
|
||||
{{-- <a href="{{ getOneCategory(39,'link') }}">{{ getOneCategory(39,'title') }}</a></li>--}}
|
||||
{{-- <li>--}}
|
||||
{{-- <a href="{{ getOneCategory(37,'link') }}">{{ getOneCategory(37,'title') }}</a>--}}
|
||||
{{-- @if (getCateChild(37)->isNotEmpty())--}}
|
||||
{{-- @foreach (getCateChild(37) as $child)--}}
|
||||
{{-- <p><a href="{{ $child->link }}">{{ $child->title }}</a></p>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </li>--}}
|
||||
{{-- <li>--}}
|
||||
{{-- <a href="{{ getOneCategory(38,'link') }}">{{ getOneCategory(38,'title') }}</a>--}}
|
||||
{{-- @if (getCateChild(38)->isNotEmpty())--}}
|
||||
{{-- @foreach (getCateChild(38) as $child)--}}
|
||||
{{-- <p><a href="{{ $child->link }}">{{ $child->title }}</a></p>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </li>--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
</li>
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.kxyj')) show @endif">
|
||||
<a href="{{ getOneCategory(config('haai.category.kxyj'),'link') }}">{{ getOneCategory(config('haai.category.kxyj'),'title') }}</a>
|
||||
{{-- <div class="nav-layer hide">--}}
|
||||
{{-- <div class="nav-layer-item nav-science-left">--}}
|
||||
{{-- <!-- 创新单元 -->--}}
|
||||
{{-- --}}{{-- <div class="nav-layer-title">--}}
|
||||
{{-- --}}{{-- <span>{{ getOneCategory(11,'title') }}</span>--}}
|
||||
{{-- --}}{{-- </div>--}}
|
||||
{{-- --}}{{-- <div class="nav-science-block">--}}
|
||||
{{-- --}}{{-- <a class="nav-science-cover" href="#" style="background-image: url(/assets/index/img/banner_00.jpeg);"></a>--}}
|
||||
{{-- --}}{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">熔融沉积式工业3D打印机</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">3D测量与打印技术研发与应用</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">智能花光伏发电装置</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">铝合金轻量化制造及试验生产线关键技术研究铝合金轻量化制造及试验生产线关键技术研究铝合金轻量化制造及试验生产线关键技术研究</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">基于物联网技术的城市再生资源回收信息化技术</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- </ul>--}}
|
||||
{{-- --}}{{-- </div>--}}
|
||||
{{-- <!-- 科技奖励 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(13,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-science-block">--}}
|
||||
{{-- @if(getArticlesBYCate(13,6)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(13,6) as $article)--}}
|
||||
{{-- @if ($loop->first)--}}
|
||||
{{-- <a class="nav-science-cover" href="{{ $article->link }}" style="background-image: url({{ $article->cover_path }});">--}}
|
||||
{{-- </a>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- @foreach (getArticlesBYCate(13,6) as $article)--}}
|
||||
{{-- @if ($loop->iteration>1)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}"> {{ $article->title }}</a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-layer-item nav-science-right">--}}
|
||||
{{-- <!-- 科研产出 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(12,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-science-covers">--}}
|
||||
{{-- @if(getCateChild(12)->isNotEmpty())--}}
|
||||
{{-- @foreach (getCateChild(12) as $children)--}}
|
||||
{{-- <a class="nav-science-covers-item nav-science-cover-10" href="{{ $children->link }}"--}}
|
||||
{{-- style="background-image: url({{ $children->cover_path }});"></a>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <!-- 科研进展 -->--}}
|
||||
{{-- --}}{{-- <div class="nav-layer-title">--}}
|
||||
{{-- --}}{{-- <span>科研进展</span>--}}
|
||||
{{-- --}}{{-- </div>--}}
|
||||
{{-- --}}{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">熔融沉积式工业3D打印机</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">3D测量与打印技术研发与应用</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">智能花光伏发电装置</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">铝合金轻量化制造及试验生产线关键技术研究铝合金轻量化制造及试验生产线关键技术研究铝合金轻量化制造及试验生产线关键技术研究</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">基于物联网技术的城市再生资源回收信息化技术</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- </ul>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
</li>
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.cgzh')) show @endif">
|
||||
<a href="{{ getOneCategory(config('haai.category.cgzh'),'link') }}">{{ getOneCategory(config('haai.category.cgzh'),'title') }}</a>
|
||||
{{-- <div class="nav-layer hide">--}}
|
||||
{{-- <div class="nav-layer-item nav-results-item">--}}
|
||||
{{-- <a class="nav-results-cover" style="background-image: url({{ getOneCategory(20,'cover_path') }});" href="{{ getOneCategory(20,'link') }}"></a>--}}
|
||||
{{-- <ul class="nav-science-ul nav-results-ul">--}}
|
||||
{{-- @if(getArticlesBYCate(20,5)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(20,5) as $article)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}">--}}
|
||||
{{-- {{ $article->title }}--}}
|
||||
{{-- <span>{{ $article->created_at->format('Y-m-d') }}</span>--}}
|
||||
{{-- </a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-layer-item nav-results-item">--}}
|
||||
{{-- <a class="nav-results-cover" style="background-image: url({{ getOneCategory(21,'cover_path') }});" href="{{ getOneCategory(21,'link') }}"></a>--}}
|
||||
{{-- <ul class="nav-science-ul nav-results-ul">--}}
|
||||
{{-- @if(getArticlesBYCate(21,5)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(21,5) as $article)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}">--}}
|
||||
{{-- {{ $article->title }}--}}
|
||||
{{-- <span>{{ $article->created_at->format('Y-m-d') }}</span>--}}
|
||||
{{-- </a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
</li>
|
||||
{{-- 人才队伍--}}
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.rcdw')) show @endif">
|
||||
<a href="{{ getOneCategory(config('haai.category.rcdw'),'link') }}">{{ getOneCategory(config('haai.category.rcdw'),'title') }}</a>
|
||||
{{-- <div class="nav-layer hide">--}}
|
||||
{{-- <div class="nav-layer-item nav-talent-left">--}}
|
||||
{{-- <!-- 高级职称专家 -->--}}
|
||||
{{-- --}}{{-- <div class="nav-layer-title">--}}
|
||||
{{-- --}}{{-- <span>{{ getOneCategory(29,'title') }}</span>--}}
|
||||
{{-- --}}{{-- </div>--}}
|
||||
{{-- --}}{{-- <ul class="nav-talent-ul">--}}
|
||||
{{-- --}}{{-- @if (getArticlesBYCate(29,14)->isNotEmpty())--}}
|
||||
{{-- --}}{{-- @foreach (getArticlesBYCate(29,14) as $article)--}}
|
||||
{{-- --}}{{-- <li>--}}
|
||||
{{-- --}}{{-- <a href="{{ $article->link }}">--}}
|
||||
{{-- --}}{{-- <span class="nav-talent-cover" style="background-image: url({{ $article->cover_path }});"></span>--}}
|
||||
{{-- --}}{{-- <h3 class="nowrap nav-talent-name">{{ $article->title }}</h3>--}}
|
||||
{{-- --}}{{-- <p class="nowrap nav-talent-job">{{ $article->job }}</p>--}}
|
||||
{{-- --}}{{-- </a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- @endforeach--}}
|
||||
{{-- --}}{{-- @endif--}}
|
||||
{{-- --}}{{-- </ul>--}}
|
||||
{{-- <div style="text-align:center">--}}
|
||||
{{-- <img src="{{ getOneAdvert(61,'cover_path') }}" style="width:100%;margin-top:17px" alt="">--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-layer-item nav-talent-right">--}}
|
||||
{{-- <!-- 省级领军人才梯队 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(30,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-talent-team">--}}
|
||||
{{-- @if (getCateChild(30) && !empty(getCateChild(30)))--}}
|
||||
{{-- @foreach (getCateChild(30) as $children)--}}
|
||||
{{-- <a class="nav-talent-team-item" style="background-image: url({{ $children->cover_path }});" href="{{ $children->link }}"></a>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @if (getOneCategory(58,'cover_path'))--}}
|
||||
{{-- <a class="nav-talent-team-item" style="background-image: url({{ getOneCategory(58,'cover_path') }});" href="{{ getOneCategory(58,'link') }}"></a>--}}
|
||||
{{-- @endif--}}
|
||||
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
</li>
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.xhqk')) show @endif">
|
||||
<a href="{{ getOneCategory(config('haai.category.xhqk'),'link') }}">学会期刊</a>
|
||||
</li>
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.djkxwh')) show @endif">
|
||||
<a href="{{ getOneCategory(config('haai.category.djkxwh'),'link') }}">{{ getOneCategory(config('haai.category.djkxwh'),'title') }}</a>
|
||||
{{-- <div class="nav-layer hide">--}}
|
||||
{{-- <div class="nav-layer-item nav-science-left">--}}
|
||||
{{-- <!-- 工作动态 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(32,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-science-block">--}}
|
||||
{{-- @if(getArticlesBYCate(32,6)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(32,6) as $article)--}}
|
||||
{{-- @if ($loop->first)--}}
|
||||
{{-- <a class="nav-science-cover" href="{{ $article->link }}" style="background-image: url({{ $article->cover_path }});">--}}
|
||||
{{-- </a>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- @foreach (getArticlesBYCate(32,6) as $article)--}}
|
||||
{{-- @if ($loop->iteration>1)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}"> {{ $article->title }}</a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- @endif--}}
|
||||
|
||||
{{-- </div>--}}
|
||||
{{-- <!-- 反腐倡廉 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(33,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-science-block">--}}
|
||||
{{-- @if(getArticlesBYCate(33,6)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(33,6) as $article)--}}
|
||||
{{-- @if ($loop->first)--}}
|
||||
{{-- <a class="nav-science-cover" href="{{ $article->link }}" style="background-image: url({{ $article->cover_path }});">--}}
|
||||
{{-- </a>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- @foreach (getArticlesBYCate(33,6) as $article)--}}
|
||||
{{-- @if ($loop->iteration>1)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}"> {{ $article->title }}</a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- @endif--}}
|
||||
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-layer-item nav-science-right">--}}
|
||||
{{-- <!-- 先进事迹 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(34,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- @if(getArticlesBYCate(34,8)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(34,8) as $article)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}">{{ $article->title }}</a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
|
||||
{{-- </ul>--}}
|
||||
{{-- <a class="nav-results-cover" style="background-image: url({{ getOneCategory(59,'cover_path') }});" href="{{ getOneCategory(59,'link') }}"></a>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- end nav -->
|
||||
<!-- end nav -->
|
||||
|
||||
345
resources/views/layouts/header.blade_old.php
Normal file
345
resources/views/layouts/header.blade_old.php
Normal file
@@ -0,0 +1,345 @@
|
||||
<!-- nav -->
|
||||
<nav class="nav">
|
||||
<div class="container nav-content">
|
||||
<ul class="nav-ul" id="nav">
|
||||
<li class="nav-ul-li @if (!isset($parent)) show @endif">
|
||||
<a href="/">首页</a>
|
||||
</li>
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.zzjg')) show @endif">
|
||||
<a href=" {{ getOneCategory(config('haai.category.zzjg'),'link') }} ">{{ getOneCategory(config('haai.category.zzjg'),'title') }}</a>
|
||||
{{-- <div class="nav-layer hide">--}}
|
||||
{{-- <div class="nav-layer-item nav-org-left">--}}
|
||||
{{-- <!-- 研究所简介 -->--}}
|
||||
{{-- <div class="nav-org-int">--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(2,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-org-mian">--}}
|
||||
{{-- <div class="nav-org-cover">--}}
|
||||
{{-- <span style="background-image: url({{ getOneArticleBYCate(2)->cover_path }});"></span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <p>--}}
|
||||
{{-- {{ getOneArticleBYCate(2)->description }}--}}
|
||||
{{-- </p>--}}
|
||||
{{-- <p class="nav-org-more"><a href="{{ getOneArticleBYCate(2,'link') }}">查看更多</a></p>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <!-- 领导班子 -->--}}
|
||||
{{-- <div class="nav-org-leadership">--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(3,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <ul class="nav-org-people">--}}
|
||||
{{-- @if (getArticlesBYCate(3,3)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(3,3) as $article)--}}
|
||||
{{-- <li>--}}
|
||||
{{-- <a href="{{ $article->link }}">--}}
|
||||
{{-- <img src="{{ $article->cover_path }}">--}}
|
||||
{{-- <p class="nowrap">{{ $article->title }}</p>--}}
|
||||
{{-- </a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-layer-item nav-org-right">--}}
|
||||
{{-- <!-- 机构设置 -->--}}
|
||||
{{-- <div class="nav-layer-title ">--}}
|
||||
{{-- <span>{{ getOneCategory(4,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <ul class="nav-org-flex">--}}
|
||||
{{-- <li><a href="{{ getOneCategory(5,'link') }}">{{ getOneCategory(5,'title') }}</a></li>--}}
|
||||
{{-- <li><a href="{{ getOneCategory(6,'link') }}">{{ getOneCategory(6,'title') }}</a></li>--}}
|
||||
{{-- <li><a href="{{ getOneCategory(7,'link') }}">{{ getOneCategory(7,'title') }}</a></li>--}}
|
||||
{{-- <li><a href="{{ getOneCategory(8,'link') }}">{{ getOneCategory(8,'title') }}</a></li>--}}
|
||||
{{-- <li><a href="{{ getOneCategory(9,'link') }}">{{ getOneCategory(9,'title') }}</a></li>--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- <div class="nav-layer-title"></div>--}}
|
||||
{{-- <ul class="nav-org-flex">--}}
|
||||
{{-- <li style="width: 100%;">--}}
|
||||
{{-- <a href="{{ getOneCategory(39,'link') }}">{{ getOneCategory(39,'title') }}</a></li>--}}
|
||||
{{-- <li>--}}
|
||||
{{-- <a href="{{ getOneCategory(37,'link') }}">{{ getOneCategory(37,'title') }}</a>--}}
|
||||
{{-- @if (getCateChild(37)->isNotEmpty())--}}
|
||||
{{-- @foreach (getCateChild(37) as $child)--}}
|
||||
{{-- <p><a href="{{ $child->link }}">{{ $child->title }}</a></p>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </li>--}}
|
||||
{{-- <li>--}}
|
||||
{{-- <a href="{{ getOneCategory(38,'link') }}">{{ getOneCategory(38,'title') }}</a>--}}
|
||||
{{-- @if (getCateChild(38)->isNotEmpty())--}}
|
||||
{{-- @foreach (getCateChild(38) as $child)--}}
|
||||
{{-- <p><a href="{{ $child->link }}">{{ $child->title }}</a></p>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </li>--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
</li>
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.kxyj')) show @endif">
|
||||
<a href="{{ getOneCategory(config('haai.category.kxyj'),'link') }}">{{ getOneCategory(config('haai.category.kxyj'),'title') }}</a>
|
||||
{{-- <div class="nav-layer hide">--}}
|
||||
{{-- <div class="nav-layer-item nav-science-left">--}}
|
||||
{{-- <!-- 创新单元 -->--}}
|
||||
{{-- --}}{{-- <div class="nav-layer-title">--}}
|
||||
{{-- --}}{{-- <span>{{ getOneCategory(11,'title') }}</span>--}}
|
||||
{{-- --}}{{-- </div>--}}
|
||||
{{-- --}}{{-- <div class="nav-science-block">--}}
|
||||
{{-- --}}{{-- <a class="nav-science-cover" href="#" style="background-image: url(/assets/index/img/banner_00.jpeg);"></a>--}}
|
||||
{{-- --}}{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">熔融沉积式工业3D打印机</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">3D测量与打印技术研发与应用</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">智能花光伏发电装置</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">铝合金轻量化制造及试验生产线关键技术研究铝合金轻量化制造及试验生产线关键技术研究铝合金轻量化制造及试验生产线关键技术研究</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">基于物联网技术的城市再生资源回收信息化技术</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- </ul>--}}
|
||||
{{-- --}}{{-- </div>--}}
|
||||
{{-- <!-- 科技奖励 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(13,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-science-block">--}}
|
||||
{{-- @if(getArticlesBYCate(13,6)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(13,6) as $article)--}}
|
||||
{{-- @if ($loop->first)--}}
|
||||
{{-- <a class="nav-science-cover" href="{{ $article->link }}" style="background-image: url({{ $article->cover_path }});">--}}
|
||||
{{-- </a>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- @foreach (getArticlesBYCate(13,6) as $article)--}}
|
||||
{{-- @if ($loop->iteration>1)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}"> {{ $article->title }}</a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-layer-item nav-science-right">--}}
|
||||
{{-- <!-- 科研产出 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(12,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-science-covers">--}}
|
||||
{{-- @if(getCateChild(12)->isNotEmpty())--}}
|
||||
{{-- @foreach (getCateChild(12) as $children)--}}
|
||||
{{-- <a class="nav-science-covers-item nav-science-cover-10" href="{{ $children->link }}"--}}
|
||||
{{-- style="background-image: url({{ $children->cover_path }});"></a>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <!-- 科研进展 -->--}}
|
||||
{{-- --}}{{-- <div class="nav-layer-title">--}}
|
||||
{{-- --}}{{-- <span>科研进展</span>--}}
|
||||
{{-- --}}{{-- </div>--}}
|
||||
{{-- --}}{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">熔融沉积式工业3D打印机</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">3D测量与打印技术研发与应用</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">智能花光伏发电装置</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">铝合金轻量化制造及试验生产线关键技术研究铝合金轻量化制造及试验生产线关键技术研究铝合金轻量化制造及试验生产线关键技术研究</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- <li class="nowrap">--}}
|
||||
{{-- --}}{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- --}}{{-- <a href="#">基于物联网技术的城市再生资源回收信息化技术</a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- </ul>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
</li>
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.cgzh')) show @endif">
|
||||
<a href="{{ getOneCategory(config('haai.category.cgzh'),'link') }}">{{ getOneCategory(config('haai.category.cgzh'),'title') }}</a>
|
||||
{{-- <div class="nav-layer hide">--}}
|
||||
{{-- <div class="nav-layer-item nav-results-item">--}}
|
||||
{{-- <a class="nav-results-cover" style="background-image: url({{ getOneCategory(20,'cover_path') }});" href="{{ getOneCategory(20,'link') }}"></a>--}}
|
||||
{{-- <ul class="nav-science-ul nav-results-ul">--}}
|
||||
{{-- @if(getArticlesBYCate(20,5)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(20,5) as $article)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}">--}}
|
||||
{{-- {{ $article->title }}--}}
|
||||
{{-- <span>{{ $article->created_at->format('Y-m-d') }}</span>--}}
|
||||
{{-- </a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-layer-item nav-results-item">--}}
|
||||
{{-- <a class="nav-results-cover" style="background-image: url({{ getOneCategory(21,'cover_path') }});" href="{{ getOneCategory(21,'link') }}"></a>--}}
|
||||
{{-- <ul class="nav-science-ul nav-results-ul">--}}
|
||||
{{-- @if(getArticlesBYCate(21,5)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(21,5) as $article)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}">--}}
|
||||
{{-- {{ $article->title }}--}}
|
||||
{{-- <span>{{ $article->created_at->format('Y-m-d') }}</span>--}}
|
||||
{{-- </a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
</li>
|
||||
{{-- 人才队伍--}}
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.rcdw')) show @endif">
|
||||
<a href="{{ getOneCategory(config('haai.category.rcdw'),'link') }}">{{ getOneCategory(config('haai.category.rcdw'),'title') }}</a>
|
||||
{{-- <div class="nav-layer hide">--}}
|
||||
{{-- <div class="nav-layer-item nav-talent-left">--}}
|
||||
{{-- <!-- 高级职称专家 -->--}}
|
||||
{{-- --}}{{-- <div class="nav-layer-title">--}}
|
||||
{{-- --}}{{-- <span>{{ getOneCategory(29,'title') }}</span>--}}
|
||||
{{-- --}}{{-- </div>--}}
|
||||
{{-- --}}{{-- <ul class="nav-talent-ul">--}}
|
||||
{{-- --}}{{-- @if (getArticlesBYCate(29,14)->isNotEmpty())--}}
|
||||
{{-- --}}{{-- @foreach (getArticlesBYCate(29,14) as $article)--}}
|
||||
{{-- --}}{{-- <li>--}}
|
||||
{{-- --}}{{-- <a href="{{ $article->link }}">--}}
|
||||
{{-- --}}{{-- <span class="nav-talent-cover" style="background-image: url({{ $article->cover_path }});"></span>--}}
|
||||
{{-- --}}{{-- <h3 class="nowrap nav-talent-name">{{ $article->title }}</h3>--}}
|
||||
{{-- --}}{{-- <p class="nowrap nav-talent-job">{{ $article->job }}</p>--}}
|
||||
{{-- --}}{{-- </a>--}}
|
||||
{{-- --}}{{-- </li>--}}
|
||||
{{-- --}}{{-- @endforeach--}}
|
||||
{{-- --}}{{-- @endif--}}
|
||||
{{-- --}}{{-- </ul>--}}
|
||||
{{-- <div style="text-align:center">--}}
|
||||
{{-- <img src="{{ getOneAdvert(61,'cover_path') }}" style="width:100%;margin-top:17px" alt="">--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-layer-item nav-talent-right">--}}
|
||||
{{-- <!-- 省级领军人才梯队 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(30,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-talent-team">--}}
|
||||
{{-- @if (getCateChild(30) && !empty(getCateChild(30)))--}}
|
||||
{{-- @foreach (getCateChild(30) as $children)--}}
|
||||
{{-- <a class="nav-talent-team-item" style="background-image: url({{ $children->cover_path }});" href="{{ $children->link }}"></a>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @if (getOneCategory(58,'cover_path'))--}}
|
||||
{{-- <a class="nav-talent-team-item" style="background-image: url({{ getOneCategory(58,'cover_path') }});" href="{{ getOneCategory(58,'link') }}"></a>--}}
|
||||
{{-- @endif--}}
|
||||
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
</li>
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.djkxwh')) show @endif">
|
||||
<a href="{{ getOneCategory(config('haai.category.djkxwh'),'link') }}">{{ getOneCategory(config('haai.category.djkxwh'),'title') }}</a>
|
||||
{{-- <div class="nav-layer hide">--}}
|
||||
{{-- <div class="nav-layer-item nav-science-left">--}}
|
||||
{{-- <!-- 工作动态 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(32,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-science-block">--}}
|
||||
{{-- @if(getArticlesBYCate(32,6)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(32,6) as $article)--}}
|
||||
{{-- @if ($loop->first)--}}
|
||||
{{-- <a class="nav-science-cover" href="{{ $article->link }}" style="background-image: url({{ $article->cover_path }});">--}}
|
||||
{{-- </a>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- @foreach (getArticlesBYCate(32,6) as $article)--}}
|
||||
{{-- @if ($loop->iteration>1)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}"> {{ $article->title }}</a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- @endif--}}
|
||||
|
||||
{{-- </div>--}}
|
||||
{{-- <!-- 反腐倡廉 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(33,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-science-block">--}}
|
||||
{{-- @if(getArticlesBYCate(33,6)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(33,6) as $article)--}}
|
||||
{{-- @if ($loop->first)--}}
|
||||
{{-- <a class="nav-science-cover" href="{{ $article->link }}" style="background-image: url({{ $article->cover_path }});">--}}
|
||||
{{-- </a>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- @foreach (getArticlesBYCate(33,6) as $article)--}}
|
||||
{{-- @if ($loop->iteration>1)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}"> {{ $article->title }}</a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endif--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- </ul>--}}
|
||||
{{-- @endif--}}
|
||||
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <div class="nav-layer-item nav-science-right">--}}
|
||||
{{-- <!-- 先进事迹 -->--}}
|
||||
{{-- <div class="nav-layer-title">--}}
|
||||
{{-- <span>{{ getOneCategory(34,'title') }}</span>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- <ul class="nav-science-ul">--}}
|
||||
{{-- @if(getArticlesBYCate(34,8)->isNotEmpty())--}}
|
||||
{{-- @foreach (getArticlesBYCate(34,8) as $article)--}}
|
||||
{{-- <li class="nowrap">--}}
|
||||
{{-- <i class="fa fa-caret-right"></i>--}}
|
||||
{{-- <a href="{{ $article->link }}">{{ $article->title }}</a>--}}
|
||||
{{-- </li>--}}
|
||||
{{-- @endforeach--}}
|
||||
{{-- @endif--}}
|
||||
|
||||
{{-- </ul>--}}
|
||||
{{-- <a class="nav-results-cover" style="background-image: url({{ getOneCategory(59,'cover_path') }});" href="{{ getOneCategory(59,'link') }}"></a>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
</li>
|
||||
<li class="nav-ul-li @if (isset($parent) && $parent->id==config('haai.category.xhqk')) show @endif">
|
||||
<a href="{{ getOneCategory(config('haai.category.xhqk'),'link') }}">学会期刊</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- end nav -->
|
||||
35
resources/views/layouts/kjcc.blade.php
Normal file
35
resources/views/layouts/kjcc.blade.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<!-- 科研产出 -->
|
||||
<ul class="kycc-border">
|
||||
<li>
|
||||
<div class="lw lw-lg">
|
||||
<div class="lw-left lw-left-lg" data-href="{{ route('patents.list',['type'=>'paper']) }}">
|
||||
论</br>文
|
||||
</div>
|
||||
<ul class="lw-center">
|
||||
@if(getPatent(8,'paper')->isNotEmpty())
|
||||
@foreach (getPatent(8,'paper') as $paper)
|
||||
<li class="nowrap">
|
||||
<a href="{{ $paper->link }}">{{ $paper->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="lw lw-lg">
|
||||
<div class="lw-left lw-left-lg" data-href="{{ route('patents.list',['type'=>'patent']) }}">
|
||||
专</br>利
|
||||
</div>
|
||||
<ul class="lw-center">
|
||||
@if(getPatent(8,'patent')->isNotEmpty())
|
||||
@foreach (getPatent(8,'patent') as $patent)
|
||||
<li class="nowrap">
|
||||
<a href="{{ $patent->link }}">{{ $patent->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -1,13 +1,15 @@
|
||||
@if($parent->cover_path)
|
||||
<img class="mian-nav-cover" src="{{ $parent->cover_path }}" alt="导航封面">
|
||||
@endif
|
||||
{{--<!-- <img class="mian-nav-cover" src="{{ $parent->cover_path }}" alt="导航封面"> -->--}}
|
||||
<div class="mian-nav-title">
|
||||
{{ $parent->title }}
|
||||
</div>
|
||||
{{--个性化左侧导航 现在只有 高级职称专家在用--}}
|
||||
<ul class="mian-nav-ul">
|
||||
@if ($parent->children->isNotEmpty())
|
||||
@foreach ($parent->children as $children)
|
||||
@if (getCateChild($parent->id)->isNotEmpty())
|
||||
@foreach (getCateChild($parent->id) as $children)
|
||||
<li class="show">
|
||||
<a href="{{ $children->link }}">{{ $children->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user