调整首页

This commit is contained in:
2021-12-01 13:58:46 +08:00
parent c67a2833e2
commit 4c17de56ae
2 changed files with 17 additions and 17 deletions

View File

@@ -27,9 +27,9 @@ class HomeController extends Controller
// $column->append(Dashboard::extensions());
// });
//
// $row->column(4, function (Column $column) {
// $column->append(Dashboard::dependencies());
// });
$row->column(4, function (Column $column) {
$column->append(Dashboard::dependencies());
});
});
}

View File

@@ -113,12 +113,12 @@
<div class="swiper-cont">
<div class="swiper-container indexBuild-swiper">
<div class="swiper-wrapper">
@if (getArticlesBYCate(28,30)->isNotEmpty())
@foreach (getArticlesBYCate(28,30) as $article)
@if (getResumesByCate(28,30)->isNotEmpty())
@foreach (getResumesByCate(28,30) as $article)
@if($loop->odd)
<div class="swiper-slide">
{{ $article->title }}
<span>{{ $article->description }}</span>
<div class="swiper-slide" data-href="{{ $article->link }}">
{{ $article->name }}
{{-- <span>{{ $article->description }}</span>--}}
</div>
@endif
@endforeach
@@ -129,12 +129,12 @@
<div class="swiper-cont">
<div class="swiper-container indexBuildNew-swiper">
<div class="swiper-wrapper">
@if (getArticlesBYCate(28,30)->isNotEmpty())
@foreach (getArticlesBYCate(28,30) as $article)
@if (getResumesByCate(28,30)->isNotEmpty())
@foreach (getResumesByCate(28,30) as $article)
@if($loop->even)
<div class="swiper-slide">
{{ $article->title }}
<span>{{ $article->description }}</span>
<div class="swiper-slide" data-href="{{ $article->link }}">
{{ $article->name }}
{{-- <span>{{ $article->description }}</span>--}}
</div>
@endif
@endforeach
@@ -396,13 +396,13 @@
<!-- 专家智库 -->
<div role="screen-2" class="tab-pane fade" id="screen-2">
<ul class="IndexExpertNew">
@if (getArticlesBYCate(29,9)->isNotEmpty())
@foreach (getArticlesBYCate(29,9) as $article)
@if (getResumesByCate(29,9)->isNotEmpty())
@foreach (getResumesByCate(29,9) as $article)
<li>
<a href="{{ $article->link }}" target="_blank" title="{{ $article->title }}">
<a href="{{ $article->link }}" target="_blank" title="{{ $article->name }}">
<div class="IndexExpertNew-li">
<span class="IndexExpertNew-tips">客座教授</span>
<div class="IndexExpertNew-title">{{ $article->title }}</div>
<div class="IndexExpertNew-title">{{ $article->name }}</div>
</div>
</a>
</li>