This commit is contained in:
2021-12-21 13:34:00 +08:00
parent 4328cd3624
commit 74f982b06f
9 changed files with 98 additions and 13 deletions

View File

@@ -1536,16 +1536,23 @@ img {
margin-right: 5px; margin-right: 5px;
} }
.rcdw-text-item span{ .rcdw-text-item-new p {
color: #555; color: #555;
margin-right: 10px; margin-right: 30px;
cursor: pointer; cursor: pointer;
width: 48px;
display: inline-block;
} }
.rcdw-text-item span:hover{ .rcdw-text-item-new span:hover{
color: #273981; color: #273981;
} }
.rcdw-text-item-new span{
text-align-last: justify;
display: block;
}
/* 人才队伍 - 省领军人才梯队 */ /* 人才队伍 - 省领军人才梯队 */
.rctd-boeder { .rctd-boeder {
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -16,21 +16,21 @@
<!-- 高级职称专家 --> <!-- 高级职称专家 -->
<div class="rcdw-text"> <div class="rcdw-text">
<!-- 正高 --> <!-- 正高 -->
<div class="rcdw-text-item"> <div class="rcdw-text-item rcdw-text-item-new">
<b><i class="fa fa-chevron-circle-right"></i>正高:</b> <b><i class="fa fa-chevron-circle-right"></i>正高:</b>
@if (getArticlesBYCate(64,16)->isNotEmpty()) @if (getArticlesBYCate(64,16)->isNotEmpty())
@foreach (getArticlesBYCate(64,100) as $article) @foreach (getArticlesBYCate(64,100) as $article)
<span data-href="{{ $article->link }}">{{ $article->title }}</span> <p><span data-href="{{ $article->link }}">{{ $article->title }}</span></p>
@endforeach @endforeach
@endif @endif
</div> </div>
<!-- 副高 --> <!-- 副高 -->
<div class="rcdw-text-item"> <div class="rcdw-text-item rcdw-text-item-new">
<b><i class="fa fa-chevron-circle-right"></i>副高:</b> <b><i class="fa fa-chevron-circle-right"></i>副高:</b>
@if (getArticlesBYCate(65,16)->isNotEmpty()) @if (getArticlesBYCate(65,16)->isNotEmpty())
@foreach (getArticlesBYCate(65,100) as $article) @foreach (getArticlesBYCate(65,100) as $article)
<span data-href="{{ $article->link }}">{{ $article->title }}</span> <p><span data-href="{{ $article->link }}">{{ $article->title }}</span></p>
@endforeach @endforeach
@endif @endif
</div> </div>

View File

@@ -19,21 +19,21 @@
</div> </div>
<div class="rcdw-text"> <div class="rcdw-text">
<!-- 正高 --> <!-- 正高 -->
<div class="rcdw-text-item"> <div class="rcdw-text-item rcdw-text-item-new">
<b><i class="fa fa-chevron-circle-right"></i>正高:</b> <b><i class="fa fa-chevron-circle-right"></i>正高:</b>
@if (getArticlesBYCate(64,16)->isNotEmpty()) @if (getArticlesBYCate(64,16)->isNotEmpty())
@foreach (getArticlesBYCate(64,100) as $article) @foreach (getArticlesBYCate(64,100) as $article)
<span data-href="{{ $article->link }}">{{ $article->title }}</span> <p data-href="{{ $article->link }}"><span>{{ $article->title }}</span></p>
@endforeach @endforeach
@endif @endif
</div> </div>
<!-- 副高 --> <!-- 副高 -->
<div class="rcdw-text-item"> <div class="rcdw-text-item rcdw-text-item-new">
<b><i class="fa fa-chevron-circle-right"></i>副高:</b> <b><i class="fa fa-chevron-circle-right"></i>副高:</b>
@if (getArticlesBYCate(65,16)->isNotEmpty()) @if (getArticlesBYCate(65,16)->isNotEmpty())
@foreach (getArticlesBYCate(65,100) as $article) @foreach (getArticlesBYCate(65,100) as $article)
<span data-href="{{ $article->link }}">{{ $article->title }}</span> <p data-href="{{ $article->link }}"><span>{{ $article->title }}</span></p>
@endforeach @endforeach
@endif @endif
</div> </div>

View File

@@ -18,14 +18,13 @@
{{-- <a href="{{ getOneCategory(66,'link') }}">更多</a>--}} {{-- <a href="{{ getOneCategory(66,'link') }}">更多</a>--}}
{{-- </div>--}} {{-- </div>--}}
<ul class="research-award-ul"> <ul class="research-award-ul">
@foreach (getArtilesByCates(66,6) as $article) @foreach (getArtilesByCates(66,3) as $article)
<li data-href="{{ $article->link }}"> <li data-href="{{ $article->link }}">
<span class="research-award-cover" <span class="research-award-cover"
style="background-image: url({{ $article->cover_path }});"></span> style="background-image: url({{ $article->cover_path }});"></span>
<h3 class="research-award-title nowrap" <h3 class="research-award-title nowrap"
data-herf="{{ $article->link }}">{{ $article->title }}</h3> data-herf="{{ $article->link }}">{{ $article->title }}</h3>
</li> </li>
@endforeach @endforeach
</ul> </ul>
</div> </div>

View File

@@ -0,0 +1,79 @@
@extends('layouts.app')
@section('title', $category->title)
@section('content')
<!-- content -->
<div class="container mian">
<!-- content-nav -->
<nav class="mian-nav">
@include('category.left',$parent)
</nav>
<!-- content-content -->
<div class="mian-content">
@include('layouts.navigation',['category'=>$category])
<!-- 创新成果转移转化亮点工作 -->
<div class="sub-title">
<b><i class="fa fa-certificate"></i>{{ getOneCategory(20,'title') }}</b>
<a href="{{ getOneCategory(20,'link') }}">更多</a>
</div>
<div class="results-news">
@if(getArticlesBYCate(20,8)->isNotEmpty())
@foreach (getArticlesBYCate(20,8) as $article)
@if ($loop->first)
<a class="results-news-cover" style="background-image: url({{ $article->cover_path }});"
href="{{ $article->link }}">
<span>{{ $article->title }}</span>
</a>
@endif
@endforeach
<ul class="results-news-ul">
@foreach (getArticlesBYCate(20,8) as $article)
@if ($loop->iteration>1)
<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>
@endif
@endforeach
</ul>
@endif
</div>
<!-- 工作动态 -->
<div class="sub-title">
<b><i class="fa fa-th-large"></i>{{ getOneCategory(21,'title') }}</b>
<a href="{{ getOneCategory(21,'link') }}">更多</a>
</div>
<div class="results-news">
@if(getArticlesBYCate(21,8)->isNotEmpty())
@foreach (getArticlesBYCate(21,8) as $article)
@if ($loop->first)
<a class="results-news-cover" style="background-image: url({{ $article->cover_path }});"
href="{{ $article->link }}">
<span>{{ $article->title }}</span>
</a>
@endif
@endforeach
<ul class="results-news-ul">
@foreach (getArticlesBYCate(21,8) as $article)
@if ($loop->iteration>1)
<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>
@endif
@endforeach
</ul>
@endif
</div>
</div>
</div>
<!-- end content -->
@endsection