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

View File

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

View File

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

View File

@@ -230,8 +230,8 @@
<li>
<a href="{{ $article->link }}">
<span class="nav-talent-cover" style="background-image: url({{ $article->cover_path }});"></span>
<h3 class="nav-talent-name">{{ $article->title }}</h3>
<p class="nav-talent-job">{{ $article->job }}</p>
<h3 class="nowrap nav-talent-name">{{ $article->title }}</h3>
<p class="nowrap nav-talent-job">{{ $article->job }}</p>
</a>
</li>
@endforeach
@@ -320,17 +320,15 @@
<ul class="nav-science-ul">
@if(getArticlesBYCate(34,8)->isNotEmpty())
@foreach (getArticlesBYCate(34,8) 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
@endif
</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>
</li>