调整首页
This commit is contained in:
@@ -27,9 +27,9 @@ class HomeController extends Controller
|
|||||||
// $column->append(Dashboard::extensions());
|
// $column->append(Dashboard::extensions());
|
||||||
// });
|
// });
|
||||||
//
|
//
|
||||||
// $row->column(4, function (Column $column) {
|
$row->column(4, function (Column $column) {
|
||||||
// $column->append(Dashboard::dependencies());
|
$column->append(Dashboard::dependencies());
|
||||||
// });
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -113,12 +113,12 @@
|
|||||||
<div class="swiper-cont">
|
<div class="swiper-cont">
|
||||||
<div class="swiper-container indexBuild-swiper">
|
<div class="swiper-container indexBuild-swiper">
|
||||||
<div class="swiper-wrapper">
|
<div class="swiper-wrapper">
|
||||||
@if (getArticlesBYCate(28,30)->isNotEmpty())
|
@if (getResumesByCate(28,30)->isNotEmpty())
|
||||||
@foreach (getArticlesBYCate(28,30) as $article)
|
@foreach (getResumesByCate(28,30) as $article)
|
||||||
@if($loop->odd)
|
@if($loop->odd)
|
||||||
<div class="swiper-slide">
|
<div class="swiper-slide" data-href="{{ $article->link }}">
|
||||||
{{ $article->title }}
|
{{ $article->name }}
|
||||||
<span>{{ $article->description }}</span>
|
{{-- <span>{{ $article->description }}</span>--}}
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
@@ -129,12 +129,12 @@
|
|||||||
<div class="swiper-cont">
|
<div class="swiper-cont">
|
||||||
<div class="swiper-container indexBuildNew-swiper">
|
<div class="swiper-container indexBuildNew-swiper">
|
||||||
<div class="swiper-wrapper">
|
<div class="swiper-wrapper">
|
||||||
@if (getArticlesBYCate(28,30)->isNotEmpty())
|
@if (getResumesByCate(28,30)->isNotEmpty())
|
||||||
@foreach (getArticlesBYCate(28,30) as $article)
|
@foreach (getResumesByCate(28,30) as $article)
|
||||||
@if($loop->even)
|
@if($loop->even)
|
||||||
<div class="swiper-slide">
|
<div class="swiper-slide" data-href="{{ $article->link }}">
|
||||||
{{ $article->title }}
|
{{ $article->name }}
|
||||||
<span>{{ $article->description }}</span>
|
{{-- <span>{{ $article->description }}</span>--}}
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
@@ -396,13 +396,13 @@
|
|||||||
<!-- 专家智库 -->
|
<!-- 专家智库 -->
|
||||||
<div role="screen-2" class="tab-pane fade" id="screen-2">
|
<div role="screen-2" class="tab-pane fade" id="screen-2">
|
||||||
<ul class="IndexExpertNew">
|
<ul class="IndexExpertNew">
|
||||||
@if (getArticlesBYCate(29,9)->isNotEmpty())
|
@if (getResumesByCate(29,9)->isNotEmpty())
|
||||||
@foreach (getArticlesBYCate(29,9) as $article)
|
@foreach (getResumesByCate(29,9) as $article)
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ $article->link }}" target="_blank" title="{{ $article->title }}">
|
<a href="{{ $article->link }}" target="_blank" title="{{ $article->name }}">
|
||||||
<div class="IndexExpertNew-li">
|
<div class="IndexExpertNew-li">
|
||||||
<span class="IndexExpertNew-tips">客座教授</span>
|
<span class="IndexExpertNew-tips">客座教授</span>
|
||||||
<div class="IndexExpertNew-title">{{ $article->title }}</div>
|
<div class="IndexExpertNew-title">{{ $article->name }}</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user