[更新]
This commit is contained in:
@@ -216,6 +216,7 @@ img {max-width: 100%;}
|
||||
.IndexExpertNew-tips {margin-bottom: 20px; color: #999; display: block; position: relative;}
|
||||
.IndexExpertNew-tips::after {position: absolute; content: ''; left: calc(50% - 16px); bottom: -10px; background-color: #ffb993; width: 30px; height: 4px;
|
||||
border-radius: 22px;}
|
||||
.second-IndexExpert li {width: calc(50% - 20px); float: left; margin: 10px;}
|
||||
|
||||
|
||||
/* 友情链接 */
|
||||
|
||||
@@ -79,19 +79,23 @@
|
||||
查看更多>>
|
||||
</a>
|
||||
</div>
|
||||
<ul class="IndexExpert-ul talentExpert">
|
||||
<ul class="second-IndexExpert IndexExpertNew" style="margin: 0">
|
||||
@if (getArticlesBYCate(29,6)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(29,6) as $article)
|
||||
<li>
|
||||
<a href="{{ $article->link }}">
|
||||
<div class="ce-img IndexExpert-img">
|
||||
<div class="IndexExpertNew-li">
|
||||
<span class="IndexExpertNew-tips">客座教授</span>
|
||||
<div class="IndexExpertNew-title">{{ $article->title }}</div>
|
||||
</div>
|
||||
<!-- <div class="ce-img IndexExpert-img">
|
||||
<span style="background-image: url({{ $article->cover_path }});"></span>
|
||||
</div>
|
||||
<div class="IndexExpert-name">
|
||||
<div class="IndexExpert-title">
|
||||
<span>{{ $article->title }}</span>{{ $article->description }}
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user