[更新]
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 {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;
|
.IndexExpertNew-tips::after {position: absolute; content: ''; left: calc(50% - 16px); bottom: -10px; background-color: #ffb993; width: 30px; height: 4px;
|
||||||
border-radius: 22px;}
|
border-radius: 22px;}
|
||||||
|
.second-IndexExpert li {width: calc(50% - 20px); float: left; margin: 10px;}
|
||||||
|
|
||||||
|
|
||||||
/* 友情链接 */
|
/* 友情链接 */
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -79,19 +79,23 @@
|
|||||||
查看更多>>
|
查看更多>>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<ul class="IndexExpert-ul talentExpert">
|
<ul class="second-IndexExpert IndexExpertNew" style="margin: 0">
|
||||||
@if (getArticlesBYCate(29,6)->isNotEmpty())
|
@if (getArticlesBYCate(29,6)->isNotEmpty())
|
||||||
@foreach (getArticlesBYCate(29,6) as $article)
|
@foreach (getArticlesBYCate(29,6) as $article)
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ $article->link }}">
|
<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>
|
<span style="background-image: url({{ $article->cover_path }});"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="IndexExpert-name">
|
<div class="IndexExpert-name">
|
||||||
<div class="IndexExpert-title">
|
<div class="IndexExpert-title">
|
||||||
<span>{{ $article->title }}</span>{{ $article->description }}
|
<span>{{ $article->title }}</span>{{ $article->description }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
@@ -125,4 +129,4 @@
|
|||||||
autoplay: 2000
|
autoplay: 2000
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@endpush
|
@endpush
|
||||||
|
|||||||
Reference in New Issue
Block a user