[更新] 修改首页
This commit is contained in:
@@ -1719,3 +1719,38 @@ img {
|
|||||||
.laytool-ul li:hover .wechat-code {
|
.laytool-ul li:hover .wechat-code {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.newCont-ul:last-child {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newCont-ul:last-child::after {
|
||||||
|
position: absolute;
|
||||||
|
content: '';
|
||||||
|
left: -20px;
|
||||||
|
top: 0;
|
||||||
|
width: 1px;
|
||||||
|
height: 100%;
|
||||||
|
background: #f1f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newCont {
|
||||||
|
width: 650px;
|
||||||
|
float: left;
|
||||||
|
margin-left: 20px;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newCont-ul {
|
||||||
|
width: calc(50% - 20px);
|
||||||
|
margin-left: 20px
|
||||||
|
}
|
||||||
|
|
||||||
|
.newCont-ul a {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newCont-ul>div {
|
||||||
|
font-size: 18px;
|
||||||
|
margin-bottom: 10px
|
||||||
|
}
|
||||||
|
|||||||
@@ -84,9 +84,12 @@
|
|||||||
</a>
|
</a>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@if (getArtilesByCates(10)->isNotEmpty())
|
<div class="newCont">
|
||||||
|
@if (getArtilesByCates(14)->isNotEmpty())
|
||||||
|
<div class="newCont-ul">
|
||||||
|
<div style="font-weight: 600">{{ getOneCategory(14,'title') }}</div>
|
||||||
<ul class="index-mian-news-ul">
|
<ul class="index-mian-news-ul">
|
||||||
@foreach (getArtilesByCates(10) as $info)
|
@foreach (getArtilesByCates(14,6) as $info)
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ $info->link }}" class="nowrap">
|
<a href="{{ $info->link }}" class="nowrap">
|
||||||
<i class="fa fa-chevron-circle-right"></i>
|
<i class="fa fa-chevron-circle-right"></i>
|
||||||
@@ -96,7 +99,25 @@
|
|||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
@if (getArtilesByCates(11)->isNotEmpty())
|
||||||
|
<div class="newCont-ul">
|
||||||
|
<div style="font-weight: 600">{{ getOneCategory(11,'title') }}</div>
|
||||||
|
<ul class="index-mian-news-ul">
|
||||||
|
@foreach (getArtilesByCates(11,6) as $info)
|
||||||
|
<li>
|
||||||
|
<a href="{{ $info->link }}" class="nowrap">
|
||||||
|
<i class="fa fa-chevron-circle-right"></i>
|
||||||
|
{{ $info->title }}
|
||||||
|
{{--<span>{{ $info->created_at->format('Y-m-d') }}</span>--}}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
@endforeach
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 科技成果 -->
|
<!-- 科技成果 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user