This commit is contained in:
2020-12-02 15:25:42 +08:00
parent 1207752fc7
commit ff3b942268
4 changed files with 486 additions and 461 deletions

View File

@@ -121,7 +121,7 @@ img {
} }
.header-text { .header-text {
padding-left: 100px; padding-left: 95px;
} }
.header-text p { .header-text p {
@@ -1267,7 +1267,7 @@ img {
display: inline-block; display: inline-block;
} }
.org-inst-ul li a:hover{ .org-inst-ul li a:hover {
color: #273981; color: #273981;
} }
@@ -1459,7 +1459,7 @@ img {
color: white; color: white;
} }
.rcdw-xxh p{ .rcdw-xxh p {
font-size: 12px; font-size: 12px;
} }
@@ -1588,14 +1588,14 @@ img {
} }
/* 漂浮的工具栏 */ /* 漂浮的工具栏 */
.laytool{ .laytool {
position: fixed; position: fixed;
top: 45vh; top: 45vh;
left: calc(50% + 615px); left: calc(50% + 615px);
z-index: 99; z-index: 99;
} }
.laytool-ul li{ .laytool-ul li {
position: relative; position: relative;
margin-bottom: 5px; margin-bottom: 5px;
width: 40px; width: 40px;
@@ -1607,7 +1607,7 @@ img {
transition: background .3s; transition: background .3s;
} }
.wechat-code{ .wechat-code {
position: absolute; position: absolute;
left: -305px; left: -305px;
top: -205px; top: -205px;
@@ -1616,19 +1616,19 @@ img {
display: none; display: none;
} }
.wechat-code img{ .wechat-code img {
width: 100%; width: 100%;
vertical-align: top; vertical-align: top;
} }
.laytool-ul i{ .laytool-ul i {
color: white; color: white;
} }
.laytool-ul li:hover{ .laytool-ul li:hover {
background: #273981; background: #273981;
} }
.laytool-ul li:hover .wechat-code{ .laytool-ul li:hover .wechat-code {
display: block; display: block;
} }

View File

@@ -74,7 +74,7 @@
</ul> </ul>
@endif @endif
</div> </div>
<!-- 精神文明 --> <!-- 先进事迹 -->
<div class="sub-title"> <div class="sub-title">
<b><i class="fa fa-th-large"></i>{{ getOneCategory(34,'title') }}</b> <b><i class="fa fa-th-large"></i>{{ getOneCategory(34,'title') }}</b>
<a href="{{ getOneCategory(34,'link') }}">更多</a> <a href="{{ getOneCategory(34,'link') }}">更多</a>
@@ -103,6 +103,27 @@
</ul> </ul>
@endif @endif
</div> </div>
<!-- 意识形态 -->
<div class="sub-title">
<b><i class="fa fa-th-large"></i>{{ getOneCategory(59,'title') }}</b>
<a href="{{ getOneCategory(59,'link') }}">更多</a>
</div>
<div class="results-news">
@if(getArticlesBYCate(59,8)->isNotEmpty())
<ul class="results-news-ul">
@foreach (getArticlesBYCate(59,8) 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>
@endif
</div>
</div> </div>
</div> </div>
<!-- end content --> <!-- end content -->

View File

@@ -35,7 +35,7 @@
<div class="container header-content"> <div class="container header-content">
<img class="header-logo" src="{{ asset('assets/index/img/logo.png') }}" alt="黑龙江省科学院智能制造研究所"> <img class="header-logo" src="{{ asset('assets/index/img/logo.png') }}" alt="黑龙江省科学院智能制造研究所">
<div class="header-text"> <div class="header-text">
<p>面向世界科技前沿,面向国家重大需求,面向国民经济主战场,率先实现科学技术跨越发展,率先建成国家创新人才高地,率先建成国家高水平科技智库,率先建设国际一流科研机构。</p> <p>面向世界科技前沿,面向国家重大需求,面向国民经济主战场,面向人民生命健康,率先实现科学技术跨越发展,率先建成国家创新人才高地,率先建成国家高水平科技智库,率先建设国际一流科研机构。</p>
<p class="header-text-sign">——智能制造所办所方针</p> <p class="header-text-sign">——智能制造所办所方针</p>
</div> </div>
</div> </div>
@@ -43,8 +43,14 @@
<!-- end header --> <!-- end header -->
<!-- Laytool --> <!-- Laytool -->
<div class="laytool"> <div class="laytool" style="display: none">
漂浮 <ul class="laytool-ul">
<li>
<div class="wechat-code" class="wechat-code">
<img class="i" src="{{ asset('assets/index/img/z19_ewm3.jpg') }}">
</div>
</li>
</ul>
</div> </div>
<!-- end Laytool --> <!-- end Laytool -->

View File

@@ -230,8 +230,8 @@
<li> <li>
<a href="{{ $article->link }}"> <a href="{{ $article->link }}">
<span class="nav-talent-cover" style="background-image: url({{ $article->cover_path }});"></span> <span class="nav-talent-cover" style="background-image: url({{ $article->cover_path }});"></span>
<h3 class="nav-talent-name">{{ $article->title }}</h3> <h3 class="nowrap nav-talent-name">{{ $article->title }}</h3>
<p class="nav-talent-job">{{ $article->job }}</p> <p class="nowrap nav-talent-job">{{ $article->job }}</p>
</a> </a>
</li> </li>
@endforeach @endforeach
@@ -320,17 +320,15 @@
<ul class="nav-science-ul"> <ul class="nav-science-ul">
@if(getArticlesBYCate(34,8)->isNotEmpty()) @if(getArticlesBYCate(34,8)->isNotEmpty())
@foreach (getArticlesBYCate(34,8) as $article) @foreach (getArticlesBYCate(34,8) as $article)
@if ($loop->iteration>1)
<li class="nowrap"> <li class="nowrap">
<i class="fa fa-caret-right"></i> <i class="fa fa-caret-right"></i>
<a href="{{ $article->link }}">{{ $article->title }}</a> <a href="{{ $article->link }}">{{ $article->title }}</a>
</li> </li>
@endif
@endforeach @endforeach
@endif @endif
</ul> </ul>
<a class="nav-results-cover" style="background-image: url({{ getOneCategory(34,'cover_path') }});" href="{{ getOneCategory(34,'link') }}"></a> <a class="nav-results-cover" style="background-image: url({{ getOneCategory(59,'cover_path') }});" href="{{ getOneCategory(59,'link') }}"></a>
</div> </div>
</div> </div>
</li> </li>