阶段性更新
This commit is contained in:
@@ -25,6 +25,10 @@ class IndexController extends AdminController
|
||||
return $model->where('status', 1)->whereIn('type', [Category::TYPE_ARTICLE, Category::TYPE_SHOW]);
|
||||
}, '所有分类'));
|
||||
});
|
||||
$filter->column(1 / 2, function ($filter) {
|
||||
$filter->equal('position', '定位')
|
||||
->select(Article::POSITIONS);
|
||||
});
|
||||
|
||||
$filter->disableIdFilter();
|
||||
});
|
||||
@@ -60,6 +64,7 @@ class IndexController extends AdminController
|
||||
'required' => '必须选择所属分类',
|
||||
'min' => '必须选择所属分类',
|
||||
]);
|
||||
|
||||
// $form->text('keywords', '关键词')->rules('nullable');
|
||||
$form->textarea('description', '内容简介')->rules('max:350');
|
||||
$form->image('cover', '封面')
|
||||
@@ -71,7 +76,19 @@ class IndexController extends AdminController
|
||||
$form->number('sort', '序号')->default(0)->rules('required', ['required' => '序号必须填写'])->help('倒序优先');
|
||||
$form->switch('status', '状态')->default(1);
|
||||
$form->text('url', '外链地址');
|
||||
$form->select('position', '定位')
|
||||
->options(Article::POSITIONS);
|
||||
$form->datetime('created_at', '发布时间');
|
||||
$form->saved(function ($form) {
|
||||
if ($form->position) {
|
||||
$model = $form->model();
|
||||
Article::where('position', $form->position)
|
||||
->where('id', '<>', $model->id)
|
||||
->update([
|
||||
'position' => '',
|
||||
]);
|
||||
}
|
||||
});
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
@@ -12,13 +12,14 @@ use Encore\Admin\Grid;
|
||||
class TalentController extends AdminController
|
||||
{
|
||||
|
||||
protected $title = '领军人才梯队';
|
||||
protected $title = '人才梯队';
|
||||
|
||||
public function grid()
|
||||
{
|
||||
$grid = new Grid(new Talent());
|
||||
$grid->model()->latest('sort');
|
||||
$grid->column('id', '#ID#');
|
||||
$grid->column('category.title', '所属分类');
|
||||
$grid->column('sort', '排序(倒序显示)')->editable();
|
||||
$grid->column('title', '梯队名称');
|
||||
$grid->column('leader', '带头人');
|
||||
@@ -33,6 +34,10 @@ class TalentController extends AdminController
|
||||
$form = new Form(new Talent());
|
||||
|
||||
$form->text('title', '梯队名称')->required();
|
||||
$form->select('category_id', '所属分类')
|
||||
->options(Category::whereIn('id', [68, 69])->pluck('title', 'id'), '选择分类')
|
||||
->required();
|
||||
|
||||
$form->image('cover', '封面')
|
||||
->move('images/' . date('Y/m/d'))
|
||||
->removable()
|
||||
|
||||
@@ -8,6 +8,14 @@ use App\Models\Talent;
|
||||
use Encore\Admin\Auth\Database\Menu;
|
||||
use Illuminate\Support\Arr;
|
||||
|
||||
/**
|
||||
* Notes: 获取一个分类
|
||||
* @Author: 玄尘
|
||||
* @Date : 2021/2/3 16:36
|
||||
* @param $categoryId
|
||||
* @param string $return
|
||||
* @return \App\Models\Category
|
||||
*/
|
||||
function getOneCategory($categoryId, $return = '')
|
||||
{
|
||||
$category = Category::find($categoryId);
|
||||
@@ -114,9 +122,13 @@ function getOneAdvert($category_id, $value = '')
|
||||
}
|
||||
|
||||
//获取人才数据
|
||||
function getAllTalent()
|
||||
function getAllTalent($category_id = '')
|
||||
{
|
||||
return Talent::latest('sort')->get();
|
||||
return Talent::latest('sort')
|
||||
->when($category_id, function ($q) use ($category_id) {
|
||||
$q->where('category_id', $category_id);
|
||||
})
|
||||
->get();
|
||||
}
|
||||
|
||||
//获取一篇人才文章
|
||||
@@ -125,7 +137,7 @@ function getOneRenById($article_id)
|
||||
return Talent::find($article_id);
|
||||
}
|
||||
|
||||
//获取分类信息
|
||||
//获取菜单信息
|
||||
function getCate($id, $value = '')
|
||||
{
|
||||
$info = Menu::find($id);
|
||||
@@ -157,3 +169,28 @@ function getAllParentCate($categoryId): array
|
||||
return $res->all();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Notes: 获得分类
|
||||
* @Author: 玄尘
|
||||
* @Date : 2021/2/3 16:38
|
||||
* @param $cate_id
|
||||
* @param $
|
||||
*/
|
||||
function getArtilesByCates($cate_id, $take = 8)
|
||||
{
|
||||
$cate_ids = Category::where('parent_id', $cate_id)
|
||||
->orWhere('id', $cate_id)
|
||||
->whereIn('type', [Category::TYPE_ARTICLE, Category::TYPE_SHOW])
|
||||
->get();
|
||||
|
||||
return Article::whereIn('category_id', $cate_ids)
|
||||
->latest()
|
||||
->get();
|
||||
}
|
||||
|
||||
// 根据定位获取文章
|
||||
function getArtileByPos($position)
|
||||
{
|
||||
return Article::where('position', $position)->first();
|
||||
}
|
||||
|
||||
@@ -18,29 +18,17 @@ class IndexController extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
// $ssp = ArticlePicture::orderBy('sort', 'desc')->take(3)->get(); //随手拍
|
||||
// $all_articles = Article::orderBy('sort', 'desc')
|
||||
// ->whereNotIn('category_id', [20, 21, 22])
|
||||
// ->take(7)
|
||||
// ->get(); //最新资讯
|
||||
// $danwei = Article::where('category_id', 15)->latest()->first(); //单位概况
|
||||
// $ysbj = Article::where('category_id', 12)->latest()->take(3)->get(); //养生保健
|
||||
// $dcyfx = Article::where('category_id', 10)->latest()->take(7)->get(); //调研与分析
|
||||
// $yyjcyj = Article::where('category_id', 9)->latest()->take(7)->get(); //应用基础研究
|
||||
// $jsyt = Article::where('category_id', 11)->latest()->take(7)->get(); //技术研讨
|
||||
// $kyyyy = Article::where('category_id', 12)->latest()->take(7)->get(); //科研与应用
|
||||
// $qkys = Article::where('category_id', 9)->latest()->take(7)->get(); //全科医学
|
||||
// $center_advert = Advert::where('category_id', 18)->first();
|
||||
// $qikan_advert = Advert::where('category_id', 19)->take(4)->orderBy('sort', 'desc')->get();
|
||||
|
||||
$data = [
|
||||
'ysxw' => Article::where('category_id', 15)->latest('sort')->latest()->take(8)->get(),
|
||||
'kjcg' => Article::where('category_id', 19)->latest('sort')->latest()->take(8)->get(),
|
||||
'lwzl' => Patent::latest('sort')->latest()->take(11)->get(),
|
||||
// 'kjcg' => Article::where('category_id', 19)->latest('sort')->latest()->take(8)->get(),
|
||||
// 'lwzl' => Patent::latest('sort')->latest()->take(11)->get(),
|
||||
'center_advert' => Advert::latest('sort')->latest()->where('category_id', 23)->take(3)->get(),
|
||||
'ysxw_right_advert' => Advert::latest('sort')->latest()->where('category_id', 24)->first(),
|
||||
'kjcg_right_advert' => Advert::latest('sort')->latest()->where('category_id', 25)->take(2)->get(),
|
||||
'lwzl_right_advert' => Advert::latest('sort')->latest()->where('category_id', 27)->take(2)->get(),
|
||||
'pos_a' => Article::where('position', Article::POSITION_A)->first(),
|
||||
'pos_b' => Article::where('position', Article::POSITION_B)->first(),
|
||||
'pos_c' => Article::where('position', Article::POSITION_C)->first(),
|
||||
];
|
||||
|
||||
return view('index.index', $data);
|
||||
|
||||
@@ -10,6 +10,16 @@ class Article extends Model
|
||||
|
||||
use HasOneCover, BelongsToCategory;
|
||||
|
||||
const POSITION_A = 1;
|
||||
const POSITION_B = 2;
|
||||
const POSITION_C = 3;
|
||||
|
||||
const POSITIONS = [
|
||||
self::POSITION_A => '院所新闻',
|
||||
self::POSITION_B => '科学研究',
|
||||
self::POSITION_C => '科技成果',
|
||||
];
|
||||
|
||||
public function getLinkAttribute()
|
||||
{
|
||||
return route('article.show', $this);
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\Traits\BelongsToCategory;
|
||||
use App\Models\Traits\HasOneCover;
|
||||
|
||||
class Talent extends Model
|
||||
{
|
||||
|
||||
use HasOneCover;
|
||||
use HasOneCover,
|
||||
BelongsToCategory;
|
||||
}
|
||||
|
||||
@@ -10,6 +10,9 @@ return [
|
||||
'rcdw' => 28,//人才队伍
|
||||
'djkxwh' => 31,//党建与科学文化
|
||||
'gjzczj' => 29,//党建与科学文化
|
||||
'sjljrc' => 69,//省级领军人才梯队
|
||||
'yjzdxk' => 68,//院级重点学科
|
||||
'xhqk' => 66,//院级重点学科
|
||||
],
|
||||
//分类使用的模板
|
||||
'template' => [
|
||||
|
||||
@@ -116,27 +116,27 @@ img {
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
width: 380px;
|
||||
height: 55px;
|
||||
width: 521px;
|
||||
height: 75px;
|
||||
}
|
||||
|
||||
.header-text {
|
||||
padding-left: 95px;
|
||||
}
|
||||
|
||||
.header-text p {
|
||||
width: 669px;
|
||||
box-sizing: border-box;
|
||||
text-align: right;
|
||||
font-size: 15px;
|
||||
line-height: 50px;
|
||||
color: #273981;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.header-text p.header-text-sign {
|
||||
padding-top: 5px;
|
||||
.header-text-sign {
|
||||
color: #4864ae;
|
||||
padding-left: 5px;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
|
||||
/* nav */
|
||||
.nav {
|
||||
background-color: #273981;
|
||||
@@ -621,6 +621,15 @@ img {
|
||||
width: 970px;
|
||||
}
|
||||
|
||||
.mian-nav-title{
|
||||
background: #273981;
|
||||
padding: 20px 30px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
font-size: 26px
|
||||
}
|
||||
|
||||
.mian-nav-cover {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -641,7 +650,7 @@ img {
|
||||
|
||||
.mian-nav-ul li a:hover,
|
||||
.mian-nav-ul li.show a {
|
||||
background-color: #273981;
|
||||
background-color: #4864ae;
|
||||
}
|
||||
|
||||
.mian-content-header {
|
||||
@@ -859,7 +868,7 @@ img {
|
||||
|
||||
.index-mian-right-ads {
|
||||
display: flex;
|
||||
margin: 0 -10px 20px -10px;
|
||||
margin: 0 -10px 40px -10px;
|
||||
}
|
||||
|
||||
.index-mian-right-ad-5 {
|
||||
@@ -881,7 +890,7 @@ img {
|
||||
}
|
||||
|
||||
.index-mian-right-video {
|
||||
margin: 20px 0;
|
||||
margin: 20px 0 40px;
|
||||
position: relative;
|
||||
min-height: 170px;
|
||||
padding-left: 200px;
|
||||
@@ -933,6 +942,28 @@ img {
|
||||
color: #273981;
|
||||
}
|
||||
|
||||
/* 通知公告 */
|
||||
.index-mian-notice-ul{
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.index-mian-notice-ul li {
|
||||
line-height: 17px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.index-mian-notice-ul li a{
|
||||
position: relative;
|
||||
padding-right: 0;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.index-mian-notice-ul li a i{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/* footer */
|
||||
.footer {
|
||||
background-color: #273981;
|
||||
@@ -1337,26 +1368,44 @@ img {
|
||||
|
||||
.lw {
|
||||
position: relative;
|
||||
padding: 0 50px;
|
||||
padding: 15px 70px;
|
||||
min-height: 120px;
|
||||
}
|
||||
|
||||
.lw-left {
|
||||
.lw-left,.lw-right {
|
||||
position: absolute;
|
||||
width: 40px;
|
||||
height: 80px;
|
||||
background-color: #273981;
|
||||
text-align: center;
|
||||
top: calc(50% - 40px);
|
||||
left: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.lw-left{
|
||||
left: 15px;
|
||||
}
|
||||
|
||||
.lw-right{
|
||||
right: 15px;
|
||||
background-color: #c0c4d2;
|
||||
transition: all .3s;
|
||||
}
|
||||
|
||||
.lw-right:hover{
|
||||
background-color: #273981;
|
||||
}
|
||||
|
||||
.lw-center li {
|
||||
line-height: 30px;
|
||||
line-height: 35px;
|
||||
border-bottom: dashed 1px #c0c4d2;
|
||||
}
|
||||
|
||||
.lw-center li:last-child{
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.lw-left2 {
|
||||
@@ -1380,8 +1429,8 @@ img {
|
||||
}
|
||||
|
||||
.lw-lg {
|
||||
min-height: 240px;
|
||||
padding-right: 0;
|
||||
min-height: 288px;
|
||||
background: #f1f3f8;
|
||||
}
|
||||
|
||||
.lw-left-lg {
|
||||
@@ -1463,6 +1512,40 @@ img {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* 人才队伍 - 高级职称专家无照片 */
|
||||
.rcdw-text{
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.rcdw-text-item{
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
padding-left: 100px;
|
||||
line-height: 35px;
|
||||
}
|
||||
|
||||
.rcdw-text-item > b{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.rcdw-text-item > b > i{
|
||||
color: #273981;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.rcdw-text-item span{
|
||||
color: #555;
|
||||
margin-right: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.rcdw-text-item span:hover{
|
||||
color: #273981;
|
||||
}
|
||||
|
||||
/* 人才队伍 - 省领军人才梯队 */
|
||||
.rctd-boeder {
|
||||
border-bottom: 1px solid #eee;
|
||||
@@ -1602,9 +1685,13 @@ img {
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
background: #4864ae;
|
||||
background-image: url(../img/z19_scroll_wx.png);
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
font-size: 18px;
|
||||
transition: background .3s;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.wechat-code {
|
||||
@@ -1625,10 +1712,10 @@ img {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.laytool-ul li:hover {
|
||||
/*.laytool-ul li:hover {
|
||||
background: #273981;
|
||||
}
|
||||
|
||||
*/
|
||||
.laytool-ul li:hover .wechat-code {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
<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 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>
|
||||
</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,25 +38,13 @@
|
||||
@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())
|
||||
@if(getAllTalent(69)->isNotEmpty())
|
||||
<div class="sub-title">
|
||||
<b><i class="fa fa-line-chart"></i>{{ getCate(20,'title') }}</b>
|
||||
<b><i class="fa fa-line-chart"></i>{{ getOneCategory(69,'title') }}</b>
|
||||
</div>
|
||||
@foreach(getAllTalent() as $talent)
|
||||
@foreach(getAllTalent(69) as $talent)
|
||||
<div class="rctd-boeder">
|
||||
<div class="rctd2" style="background-image: url({{ $talent->cover_path }});"></div>
|
||||
<p class="rctd3-p">
|
||||
@@ -82,6 +70,38 @@
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if(getAllTalent(69)->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
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
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>
|
||||
@if($pos_a)
|
||||
<a href="{{ $pos_a->link }}" class="index-mian-news-cover"
|
||||
style="background-image: url({{ $pos_a->cover_path }});">
|
||||
</a>
|
||||
|
||||
<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>
|
||||
@if($pos_b)
|
||||
<a href="{{ $pos_b->link }}" class="index-mian-news-cover"
|
||||
style="background-image: url({{ $pos_b->cover_path }});">
|
||||
</a>
|
||||
|
||||
<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())
|
||||
<ul class="index-mian-news-ul">
|
||||
@foreach (getArticlesBYCate(55,8) as $article)
|
||||
<li>
|
||||
<a href="{{ $article->link }}" class="nowrap">
|
||||
<i class="fa fa-chevron-circle-right"></i>
|
||||
{{ $article->title }}
|
||||
<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>
|
||||
</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())
|
||||
@if (getArtilesByCates(19)->isNotEmpty())
|
||||
<ul class="index-mian-news-ul">
|
||||
@foreach (getArticlesBYCate(54,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 }}
|
||||
{{ $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>
|
||||
@@ -148,12 +151,12 @@
|
||||
</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>
|
||||
{{-- <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,335 +7,24 @@
|
||||
</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>
|
||||
|
||||
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