静态资源
This commit is contained in:
@@ -3,50 +3,26 @@
|
||||
@section('title', '文章详情')
|
||||
|
||||
@section('content')
|
||||
<div class="clear"></div>
|
||||
<div class="mainWarp">
|
||||
<div class="mainLeft">
|
||||
<div class="typebox">
|
||||
<div class="tit">
|
||||
<p class="ccsl">{{ $parent->title }}</p>
|
||||
</div>
|
||||
<ul>
|
||||
@foreach ($parent->childrens as $children)
|
||||
<li>
|
||||
<p>></p>
|
||||
<a href="{{ route('category.show',$children) }}" class="ccsl">{{ $children->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mainRight">
|
||||
<div class="brandnav">
|
||||
<p class="ccsl">{{ $category->title }}</p>
|
||||
<div class="con">首页>
|
||||
@if ($parent->id==$category->id)
|
||||
{{ $category->title }}
|
||||
@else
|
||||
{{ $parent->title }}
|
||||
<font>></font>
|
||||
{{ $category->title }}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="detailbox">
|
||||
<div class="xq">
|
||||
<h1>{{ $article->title }}</h1>
|
||||
<div class="date">日期:{{ $article->created_at }}</div>
|
||||
<div class="con">
|
||||
<!-- mian -->
|
||||
<div class="container child">
|
||||
<div class="wzxq">
|
||||
<h3>{{ $article->title }}</h3>
|
||||
<p>发表时间:{{ $article->created_at }}</p>
|
||||
</div>
|
||||
<div class="ritText">
|
||||
@if ($article->cover)
|
||||
<img src="{{ $article->cover_path }}"></br>
|
||||
<img src="{{ $article->cover_path }}">
|
||||
@endif
|
||||
{!! $article->content !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<p>
|
||||
{!! $article->content !!}
|
||||
</p>
|
||||
</div>
|
||||
@if ($next)
|
||||
<div class="xyp">
|
||||
<b>下一篇</b><a href="{{ $next->link }}">{{ $next->title }}</a>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
<!-- end mian -->
|
||||
@endsection
|
||||
|
||||
75
resources/views/category/list.blade.php
Normal file
75
resources/views/category/list.blade.php
Normal file
@@ -0,0 +1,75 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', '首页')
|
||||
|
||||
@section('content')
|
||||
<!-- mian -->
|
||||
<div class="container child">
|
||||
<!-- 侧边导航 -->
|
||||
<div class="child-nav">
|
||||
<div class="kj-bjt">
|
||||
<b>{{ $parent->title }}</b>
|
||||
<p>Exchange and cooperation</p>
|
||||
</div>
|
||||
<ul class="child-nav-ul">
|
||||
@if ($parent->childrens->isNotEmpty())
|
||||
@foreach ($parent->childrens as $child)
|
||||
<li>
|
||||
<a href="{{ $child->link }}" @if($category->id==$child->id) class="show" @endif>{{ $child->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
<!-- content -->
|
||||
<div class="child-content">
|
||||
<ul class="party-ul list-ul">
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end mian -->
|
||||
@endsection
|
||||
@@ -3,53 +3,46 @@
|
||||
@section('title', '首页')
|
||||
|
||||
@section('content')
|
||||
<div class="clear"></div>
|
||||
<div class="mainWarp">
|
||||
<div class="mainLeft">
|
||||
<div class="typebox">
|
||||
<div class="tit">
|
||||
<p class="ccsl">{{ $parent->title }}</p>
|
||||
<!-- mian -->
|
||||
<div class="container child">
|
||||
<!-- 侧边导航 -->
|
||||
<div class="child-nav">
|
||||
<div class="kj-bjt">
|
||||
<b>{{ $parent->title }}</b>
|
||||
<p>Exchange and cooperation</p>
|
||||
</div>
|
||||
<ul>
|
||||
@foreach ($parent->childrens as $children)
|
||||
<li>
|
||||
<p>></p>
|
||||
<a href="{{ route('category.show',$children) }}" class="ccsl">{{ $children->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
<ul class="child-nav-ul">
|
||||
@if ($parent->childrens->isNotEmpty())
|
||||
@foreach ($parent->childrens as $child)
|
||||
<li>
|
||||
<a href="{{ $child->link }}" @if($category->id==$child->id) class="show" @endif>{{ $child->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mainRight">
|
||||
<div class="brandnav">
|
||||
<p class="ccsl">{{ $category->title }}</p>
|
||||
<div class="con">首页>
|
||||
@if ($parent->id==$category->id)
|
||||
{{ $category->title }}
|
||||
@else
|
||||
{{ $parent->title }}
|
||||
<font>></font>
|
||||
{{ $category->title }}
|
||||
<!-- content -->
|
||||
<div class="child-content">
|
||||
<ul class="spiritual-ul jlhz-border">
|
||||
@if ($articles->isNotEmpty())
|
||||
@foreach ($articles as $article)
|
||||
<li class="spiritual-ul-li">
|
||||
<a href="{{ $article->link }}">
|
||||
<h3 class="spiritual-title nowrap">{{ $article->title }}</h3>
|
||||
<p class="spiritual-info nowrap-multi">
|
||||
{{ $article->description }}
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pages">
|
||||
@if ($articles->isNotEmpty())
|
||||
{{ $articles->links('layouts.pagination') }}
|
||||
@endif
|
||||
</div>
|
||||
<ul class="listul">
|
||||
@foreach ($articles as $article)
|
||||
<li>
|
||||
<p>></p>
|
||||
<a href="{{ route('article.show',$article) }}" class="ccsl">{{ $article->title }}</a>
|
||||
<span>{{ $article->created_at }}</span>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</br>
|
||||
<div class="clear"></div>
|
||||
|
||||
@if ($articles->isNotEmpty())
|
||||
{{ $articles->links('layouts.pagination') }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- end mian -->
|
||||
@endsection
|
||||
|
||||
@@ -3,230 +3,322 @@
|
||||
@section('title', '首页')
|
||||
|
||||
@section('content')
|
||||
|
||||
{{-- 顶部广告 --}}
|
||||
@if ($adverts->isNotEmpty())
|
||||
<div class="clear"></div>
|
||||
<div class="banner">
|
||||
<div class="b-img">
|
||||
@foreach ($adverts as $advert)
|
||||
<img src="{{ $advert->cover_path }}" width="100%"/>
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="b-list"> </div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="part4">
|
||||
<div class="main">
|
||||
<div class="part4box">
|
||||
<div class="titbox">
|
||||
<h2 class="ccsl">分院动态</h2>
|
||||
<a href="{{ route('category.show',6) }}">更多>></a>
|
||||
<!-- mian -->
|
||||
<div class="container">
|
||||
<!-- 院所新闻 -->
|
||||
<div class="news">
|
||||
<div class="news-item news-hot">
|
||||
<img class="news-hot-cover" src="lib/img/banner_02.jpg">
|
||||
<div class="news-hot-text">
|
||||
<h3 class="nowrap"><a href="#">杜新宇副院长到大庆分院调研</a></h3>
|
||||
<p class="nowrap-multi">
|
||||
国家新闻出版署日前下发通知,确定《“十三五”国家重点图书、音像、电子出版物出版规划》第三次增补项目235个。规划实行动态管理,公布增补项目的同时,对撤销或变更的项目一并作出调整,确定出版单位申请撤销项目141个、变更项目14个。</p>
|
||||
<p class="news-hot-more"><a href="#">详情<i class="fa fa-chevron-right"></i></a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cons">
|
||||
<div class="p4one">
|
||||
<div class="p4oneL">
|
||||
<a href="{{ route('article.show',$fydt->first()) }}"><img src="{{ $fydt->first()->get_one_cover() }}" /></a>
|
||||
</div>
|
||||
<div class="p4oneR">
|
||||
<a href="detail.html" class="ccsl">{{ $fydt->first()->title }}</a>
|
||||
<span>{{ $fydt->first()->created_at->format('Y-m-d') }}</span>
|
||||
<div class="clear"></div>
|
||||
<div class="sub">{{ $fydt->first()->description }}</div>
|
||||
</div>
|
||||
<div class="news-item news-ul">
|
||||
<div class="mian-title news-title">
|
||||
<b>{{ getOneCategory(6,'title') }}</b>
|
||||
<span>/ School news</span>
|
||||
<a class="mian-title-more" href="{{ getOneCategory(6,'link') }}">更多<i class="fa fa-angle-right"></i></a>
|
||||
</div>
|
||||
<ul>
|
||||
@foreach ($fydt as $new)
|
||||
<li>
|
||||
<p>></p>
|
||||
<a href="{{ route('article.show',$new) }}" class="ccsl">{{ $new->title }}</a>
|
||||
<span>{{ $new->created_at->format('y-m-d') }}</span>
|
||||
</li>
|
||||
@endforeach
|
||||
@if (getArticlesBYCate(6,8)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(6,8) as $article)
|
||||
<li class="news-ul-li">
|
||||
<a class="nowrap" href="{{ $article->link }}">
|
||||
<span class="news-time">{{ $article->created_at->format('m-d') }}</span>{{ $article->title }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 科研动态 -->
|
||||
<div class="dynamic">
|
||||
<div class="mian-title">
|
||||
<b>{{ getOneCategory(9,'title') }}</b>
|
||||
<span>/ Scientific research dynamic</span>
|
||||
<a class="mian-title-more" href="{{ getOneCategory(9,'link') }}">更多<i class="fa fa-angle-right"></i></a>
|
||||
</div>
|
||||
<ul class="dynamic-ul">
|
||||
@if (getArticlesBYCate(9,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(9,3) as $article)
|
||||
<li class="dynamic-ul-item">
|
||||
<span class="dynamic-ul-cover" style="background-image: url({{ $article->cover_path }});"></span>
|
||||
<div class="dynamic-ul-text">
|
||||
<h3 class="nowrap"><a href="{{ $article->link }}">{{ $article->title }}</a></h3>
|
||||
<p class="nowrap-multi">{{ $article->description }}</p>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="part4box fr">
|
||||
<div class="titbox">
|
||||
<h2 class="ccsl">科研动态</h2>
|
||||
<a href="{{ route('category.show',9) }}">更多>></a>
|
||||
<!-- 广告条 -->
|
||||
<div class="index-ad">
|
||||
<a href="{{ getOneAdvertByCate(28,'url') }}">
|
||||
<img src="{{ getOneAdvertByCate(28,'cover_path') }}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="cons">
|
||||
<div class="p4one">
|
||||
<div class="p4oneL">
|
||||
<a href="{{ route('article.show',$kydt->first()) }}"><img src="{{ $kydt->first()->get_one_cover() }}" /></a>
|
||||
|
||||
<!-- 党团生活, 精神文明 -->
|
||||
<div class="news">
|
||||
<div class="news-item party">
|
||||
<div class="tabs-title" id="information">
|
||||
<span class="tabs-item show">{{ getOneCategory(30,'title') }}</span>
|
||||
<span class="tabs-item">{{ getOneCategory(29,'title') }}</span>
|
||||
</div>
|
||||
<div class="p4oneR">
|
||||
<a href="detail.html" class="ccsl">{{ $kydt->first()->title }}</a>
|
||||
<span>{{ $kydt->first()->created_at->format('Y-m-d') }}</span>
|
||||
<div class="clear"></div>
|
||||
<div class="sub">{{ $kydt->first()->description }}</div>
|
||||
<div class="tabs-content-wrapper" id="informationContent">
|
||||
<!-- 国内资讯 -->
|
||||
<ul class="party-ul tabs-content active">
|
||||
@if (getArticlesBYCate(30,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(30,3) as $article)
|
||||
<li class="party-ul-li">
|
||||
<a href="{{ $article->link }}">
|
||||
<span class="party-time">
|
||||
<h3>{{ $article->created_at->format('d') }}</h3>
|
||||
<p>{{ $article->created_at->format('Y-m') }}</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">{{ $article->title }}</h3>
|
||||
<p class="party-info nowrap-multi">{{ $article->description }}</p>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
|
||||
<ul class="party-ul tabs-content">
|
||||
@if (getArticlesBYCate(29,12)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(29,12) as $article)
|
||||
<li class="party-ul-li">
|
||||
<a href="{{ $article->link }}">
|
||||
<span class="party-time">
|
||||
<h3>{{ $article->created_at->format('d') }}</h3>
|
||||
<p>{{ $article->created_at->format('Y-m') }}</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">{{ $article->title }}</h3>
|
||||
<p class="party-info nowrap-multi">{{ $article->description }}</p>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<ul>
|
||||
@foreach ($kydt as $new)
|
||||
<li>
|
||||
<p>></p>
|
||||
<a href="{{ route('article.show',$new) }}" class="ccsl">{{ $new->title }}</a>
|
||||
<span>{{ $new->created_at->format('y-m-d') }}</span>
|
||||
</li>
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="part3">
|
||||
<div class="titbox">
|
||||
<p class="ccsl">院所介绍</p>
|
||||
<span class="ccsl">About us</span>
|
||||
</div>
|
||||
<div class="part3box">
|
||||
<div class="p3L">
|
||||
<a href="{{ route('article.show',$info) }}"><img src="{{ $info->get_one_cover() }}" /></a>
|
||||
</div>
|
||||
<div class="p3R">
|
||||
<div class="con">
|
||||
<p style="text-indent:2em">
|
||||
{{ $info->description }}
|
||||
</p>
|
||||
<div class="news-item spirit">
|
||||
<div class="mian-title">
|
||||
<b>{{ getOneCategory(16,'title') }}</b>
|
||||
<span>/ Spiritual civilization</span>
|
||||
<a class="mian-title-more" href="{{ getOneCategory(16,'link') }}">更多<i class="fa fa-angle-right"></i></a>
|
||||
</div>
|
||||
<ul class="spiritual-ul">
|
||||
@if (getArticlesBYCate(16,3)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(16,3) as $article)
|
||||
<li class="spiritual-ul-li">
|
||||
<a href="{{ $article->link }}">
|
||||
<h3 class="spiritual-title nowrap">{{ $article->title }}</h3>
|
||||
<p class="spiritual-info nowrap-multi">
|
||||
{{ $article->description }}
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 广告条 -->
|
||||
<div class="index-ad">
|
||||
<a href="{{ getOneAdvertByCate(31,'url') }}">
|
||||
<img src="{{ getOneAdvertByCate(31,'cover_path') }}">
|
||||
</a>
|
||||
</div>
|
||||
<!-- 新闻列表 -->
|
||||
<div class="news">
|
||||
<!-- tabs -->
|
||||
<div class="news-item party">
|
||||
<div class="tabs-title" id="newsTab">
|
||||
<span class="tabs-item show">创新团队</span>
|
||||
<span class="tabs-item">梯队人才</span>
|
||||
<span class="tabs-item">专家智库</span>
|
||||
<span class="tabs-item">项目推广</span>
|
||||
<span class="tabs-item">成果专利</span>
|
||||
<a class="mian-title-more" href="">更多<i class="fa fa-angle-right"></i></a>
|
||||
</div>
|
||||
<div class="tabs-content-wrapper" id="newsTabContent">
|
||||
<!-- 创新团队 -->
|
||||
<ul class="party-ul tabs-content active">
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- 梯队人才 -->
|
||||
<ul class="party-ul tabs-content">
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time party-cover" style="background-image:url(lib/img/banner_02.jpg)">
|
||||
</span>
|
||||
<h3 class="party-title nowrap">梯队人才</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- 专家智库 -->
|
||||
<ul class="party-ul tabs-content">
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time party-cover" style="background-image:url(lib/img/banner_02.jpg)">
|
||||
</span>
|
||||
<h3 class="party-title nowrap">专家智库</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- 项目推广 -->
|
||||
<ul class="party-ul tabs-content">
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>02</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">项目推广</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- 成果专利 -->
|
||||
<ul class="party-ul tabs-content">
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>03</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">成果专利</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 项目推广 -->
|
||||
<div class="news-item spirit">
|
||||
<div class="mian-title">
|
||||
<b>媒体报道</b>
|
||||
<span>/ Project promotion</span>
|
||||
<a class="mian-title-more" href="">更多<i class="fa fa-angle-right"></i></a>
|
||||
</div>
|
||||
<ul class="spiritual-ul">
|
||||
<li class="spiritual-ul-li">
|
||||
<a href="#">
|
||||
<h3 class="spiritual-title nowrap">省科学院大庆分院召开“学树典型表彰先进”全体党员大会</h3>
|
||||
<p class="spiritual-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="spiritual-ul-li">
|
||||
<a href="#">
|
||||
<h3 class="spiritual-title nowrap">省科学院大庆分院召开“学树典型表彰先进”全体党员大会</h3>
|
||||
<p class="spiritual-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="spiritual-ul-li">
|
||||
<a href="#">
|
||||
<h3 class="spiritual-title nowrap">省科学院大庆分院召开“学树典型表彰先进”全体党员大会</h3>
|
||||
<p class="spiritual-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="spiritual-ul-li">
|
||||
<a href="#">
|
||||
<h3 class="spiritual-title nowrap">省科学院大庆分院召开“学树典型表彰先进”全体党员大会</h3>
|
||||
<p class="spiritual-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a href="{{ route('article.show',$info) }}" class="more">查看详情</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="part1">
|
||||
<span></span>
|
||||
<div class="con">
|
||||
<a href=""></a>
|
||||
<a href=""></a>
|
||||
<a href=""></a>
|
||||
<a href=""></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="part2">
|
||||
<div class="main">
|
||||
<div class="titbox">
|
||||
{{-- <a href="{{ route('category.show',3) }}"> --}}
|
||||
<p class="ccsl">领导班子</p>
|
||||
<em class="ccsl"></em>
|
||||
{{-- </a> --}}
|
||||
</div>
|
||||
<ul class="imgcenter">
|
||||
@foreach ($ldbz as $new)
|
||||
<li>
|
||||
<a href="{{ route('article.show',$new) }}">
|
||||
<img src="{{ $new->get_one_cover() }}" />
|
||||
<p class="ccsl">{{ $new->title }}</p>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
<div class="titbox">
|
||||
{{-- <a href="{{ route('category.show',10) }}"> --}}
|
||||
<p class="ccsl">科研成果</p>
|
||||
{{-- </a> --}}
|
||||
</div>
|
||||
<ul>
|
||||
@foreach ($kycg as $new)
|
||||
<li>
|
||||
<a href="{{ route('article.show',$new) }}">
|
||||
<img src="{{ $new->get_one_cover() }}" />
|
||||
<p class="ccsl">{{ $new->title }}</p>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="titbox">
|
||||
{{-- <a href="{{ route('category.show',4) }}"> --}}
|
||||
<p class="ccsl">人才团队介绍</p>
|
||||
{{-- </a> --}}
|
||||
</div>
|
||||
<div id="marquee1" class="marqueeleft">
|
||||
<div style="width: 8000px;">
|
||||
<ul id="marquee1_1">
|
||||
@foreach ($rctd as $new)
|
||||
<li><a href="{{ route('article.show',$new) }}"><img src="{{ $new->get_one_cover() }}" style="height:128px;"></a> </li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<ul id="marquee1_2"></ul>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript"></script>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
|
||||
<div class="linkbox">
|
||||
<div class="linkL">
|
||||
<p class="p1">友情链接</p>
|
||||
<p class="p2">Links</p>
|
||||
</div>
|
||||
<div class="linkR">
|
||||
@foreach ($links as $element)
|
||||
<a href="{{ $element->url }}"> {{ $element->title }}</a>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- end mian -->
|
||||
@endsection
|
||||
|
||||
@section('script')
|
||||
<script type="text/javascript">
|
||||
//js无缝滚动代码
|
||||
function marquee(i, direction) {
|
||||
var obj = document.getElementById("marquee" + i);
|
||||
console.log(obj);
|
||||
var obj1 = document.getElementById("marquee" + i + "_1");
|
||||
var obj2 = document.getElementById("marquee" + i + "_2");
|
||||
if (direction == "up") {
|
||||
if (obj2.offsetTop - obj.scrollTop <= 0) {
|
||||
obj.scrollTop -= (obj1.offsetHeight + 20);
|
||||
} else {
|
||||
var tmp = obj.scrollTop;
|
||||
obj.scrollTop++;
|
||||
if (obj.scrollTop == tmp) {
|
||||
obj.scrollTop = 1;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (obj2.offsetWidth - obj.scrollLeft <= 0) {
|
||||
obj.scrollLeft -= obj1.offsetWidth;
|
||||
} else {
|
||||
obj.scrollLeft++;
|
||||
}
|
||||
@push('script')
|
||||
<script type="text/javascript">
|
||||
// swiperBanner
|
||||
var swiperBanner = new Swiper("#swiperBanner", {
|
||||
autoplay: 5000,
|
||||
loop: true,
|
||||
slidesPerView: 'auto',
|
||||
pagination: ".swiper-pagination",
|
||||
paginationClickable: true,
|
||||
autoplayDisableOnInteraction: false
|
||||
})
|
||||
|
||||
}
|
||||
// 新闻列表
|
||||
$(function () {
|
||||
$('#newsTab .tabs-item').hover(function () {
|
||||
$(this).addClass("show").siblings().removeClass("show")
|
||||
$("#newsTabContent .tabs-content").eq($(this).index()).addClass("active").siblings().removeClass("active")
|
||||
})
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function marqueeStart(i, direction) {
|
||||
console.log(i);
|
||||
|
||||
var obj = document.getElementById("marquee" + i);
|
||||
var obj1 = document.getElementById("marquee" + i + "_1");
|
||||
var obj2 = document.getElementById("marquee" + i + "_2");
|
||||
obj2.innerHTML = obj1.innerHTML;
|
||||
var marqueeVar = window.setInterval("marquee(" + i + ", '" + direction + "')", 20);
|
||||
obj.onmouseover = function () {
|
||||
window.clearInterval(marqueeVar);
|
||||
}
|
||||
obj.onmouseout = function () {
|
||||
marqueeVar = window.setInterval("marquee(" + i + ", '" + direction + "')", 20);
|
||||
}
|
||||
}
|
||||
marqueeStart(1, "left");
|
||||
</script>
|
||||
@endsection
|
||||
// 国内国际资讯
|
||||
$(function () {
|
||||
$('#information .tabs-item').hover(function () {
|
||||
$(this).addClass("show").siblings().removeClass("show")
|
||||
$("#informationContent .tabs-content").eq($(this).index()).addClass("active").siblings().removeClass("active")
|
||||
})
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@@ -1,52 +1,83 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="renderer" content="webkit"/>
|
||||
<meta name="force-rendering" content="webkit"/>
|
||||
<title>{{ config('app.name', '') }}</title>
|
||||
<link rel="stylesheet" href="{{ asset('assets/index/css/style.css') }}?{{ time() }}" type="text/css"/>
|
||||
|
||||
<script type="text/javascript" src="{{ asset('assets/index/js/jquery-1.8.2.min.js') }}"/></script>
|
||||
<script type="text/javascript" src="{{ asset('assets/index/js/banner.js') }}"/></script>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ config('app.name', '') }}</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" href="{{ asset('assets/index/img/favicon.ico') }}" mce_href="favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/font-awesome.min.css') }}"/>
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/swiper.min.css') }}"/>
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/style.css') }}"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="clear"></div>
|
||||
<div class="logo">
|
||||
<a href="/"><img src="/assets/index/images/logo.jpg" /></a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="nav">
|
||||
<div class="main">
|
||||
<ul>
|
||||
<li @if (!isset($category)) class="on" @endif><a href="/">首页</a></li>
|
||||
<!-- tool -->
|
||||
<div class="tool">
|
||||
<div class="container">
|
||||
<a href="#"><i class="fa fa-star"></i>加入收藏</a>
|
||||
<a href="#"><i class="fa fa-globe"></i>院所网站</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end tool -->
|
||||
<!-- header -->
|
||||
<div class="container header">
|
||||
<a href="/">
|
||||
<img src="/assets/index/img/logo.png" class="header-logo">
|
||||
</a>
|
||||
<nav>
|
||||
<a href="/" @if (!isset($parent)) class="show" @endif>网站首页</a>
|
||||
@foreach ($all_categorys as $cate)
|
||||
<li @if (isset($category) && $cate->id==$category->id) class="on" @endif >
|
||||
<a href="{{ route('category.show',$cate) }}">{{ $cate->title }}</a>
|
||||
</li>
|
||||
<a href="{{ route('category.show',$cate) }}" @if (isset($parent) && $cate->id==$parent->id) class="show" @endif>{{ $cate->title }}</a>
|
||||
@endforeach
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<!-- end header -->
|
||||
<!-- 欢迎语 -->
|
||||
<div class="hello">
|
||||
<div class="container hello-text">
|
||||
今天是 {{ now()->isoFormat('Y年m月d日 a h:mm:ss') }} {{ now()->isoFormat('dddd') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 欢迎语 -->
|
||||
@section('content')
|
||||
|
||||
@section('content')
|
||||
@show
|
||||
@show
|
||||
<script src="{{ asset('assets/index/js/jquery.min.js') }}" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="{{ asset('assets/index/js/swiper.min.js') }}" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
|
||||
<div class="clear"></div>
|
||||
<div class="footer">
|
||||
<div class="main">
|
||||
<div class="foot">
|
||||
<div>黑龙江省科学院大庆分院 版权所有 <br>
|
||||
黑ICP备1000001号<br>
|
||||
地址:大庆高新区博学大街45号 邮箱:hkydqyb@126.com<br>
|
||||
电话:086-459-8998866 传真:086-459-8998866 邮编:163319 <br>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 友情连接 -->
|
||||
<div class="container href">
|
||||
<div class="mian-title">
|
||||
<b>友情连接</b>
|
||||
<span>/ Links</span>
|
||||
</div>
|
||||
</div>
|
||||
@yield('script')
|
||||
<div class="href-content">
|
||||
@if ($links->isNotEmpty())
|
||||
@foreach ($links as $link)
|
||||
<a href="{{ $link->url }}">{{ $link->title}}</a>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- end 友情连接 -->
|
||||
<!-- footer -->
|
||||
<div class="footer">
|
||||
<p>黑龙江省科学院大庆分院 版权所有 (C)2012 All Right Reserved Power by DedeCms</p>
|
||||
<p>
|
||||
<span>地址:黑龙江省大庆市高新区博学大街45号</span>
|
||||
<span>备案号:黑ICP备1000001号</span>
|
||||
</p>
|
||||
<p>
|
||||
<span>邮箱:hkydqyb@126.com</span>
|
||||
<span>电话:086-459-8998866</span>
|
||||
<span>传真:086-459-8998866</span>
|
||||
<span>邮编:163319</span>
|
||||
</p>
|
||||
<img src="/assets/index/img/blue.png">
|
||||
</div>
|
||||
<!-- end footer -->
|
||||
|
||||
@stack('script')
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,32 +1,32 @@
|
||||
|
||||
@if ($paginator->hasPages())
|
||||
<div class="pagebox">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<a href="#" style="pointer-events: none;">上一页</a>
|
||||
@else
|
||||
<a href="{{ $paginator->previousPageUrl() }}" >上一页</a>
|
||||
@endif
|
||||
<div class="pages">
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<a href="{{ $url }}" class="on">{{ $page }}</a>
|
||||
@else
|
||||
<a href="{{ $url }}" >{{ $page }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<a href="#" style="pointer-events: none;">上一页</a>
|
||||
@else
|
||||
<a href="{{ $paginator->previousPageUrl() }}">上一页</a>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<a href="{{ $paginator->nextPageUrl() }}" >下一页</a>
|
||||
@else
|
||||
<a href="#" style="pointer-events: none;">下一页</a>
|
||||
@endif
|
||||
</div>
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<a href="{{ $url }}" class="show">{{ $page }}</a>
|
||||
@else
|
||||
<a href="{{ $url }}">{{ $page }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<a href="{{ $paginator->nextPageUrl() }}">下一页</a>
|
||||
@else
|
||||
<a href="#" style="pointer-events: none;" disabled="">下一页</a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user