Compare commits
2 Commits
9936525df3
...
4f627dfbf8
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f627dfbf8 | |||
| 2115c0f0fe |
@@ -14,7 +14,7 @@
|
||||
<span>/ {{ getOneCategory(7,'description') }}</span>
|
||||
</div>
|
||||
<div class="idxTitle-more" data-href="{{ getOneCategory(7,'link') }}">
|
||||
查看更多<img src="images/idxRow.png">
|
||||
查看更多<img src="/assets/index/images/idxRow.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="oneCont-top">
|
||||
@@ -35,10 +35,12 @@
|
||||
</div>
|
||||
<ul class="oneCont-ul">
|
||||
@foreach (getArticlesBYCate(7,5) as $article)
|
||||
<li data-href="{{ $article->link }}">
|
||||
<p class="ce-nowrap">{{ $article->title }}</p>
|
||||
<span>{{ $article->created_at->format('Y-m-d') }}</span>
|
||||
</li>
|
||||
@if ($loop->iteration>1)
|
||||
<li data-href="{{ $article->link }}">
|
||||
<p class="ce-nowrap">{{ $article->title }}</p>
|
||||
<span>{{ $article->created_at->format('Y-m-d') }}</span>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
@@ -70,18 +72,19 @@
|
||||
<!-- end 第一模板 -->
|
||||
|
||||
<!-- 第二模板 -->
|
||||
<div class="idxTwo ce-morgin-tb">
|
||||
<div class="contant">
|
||||
<div class="idxTitle">
|
||||
<div class="idxTitle-name">
|
||||
{{ getOneCategory(24,'title') }}<span>/ {{ getOneCategory(24,'description') }}</span>
|
||||
@if (getArticlesBYCate(24,4)->isNotEmpty())
|
||||
|
||||
<div class="idxTwo ce-morgin-tb">
|
||||
<div class="contant">
|
||||
<div class="idxTitle">
|
||||
<div class="idxTitle-name">
|
||||
{{ getOneCategory(24,'title') }}<span>/ {{ getOneCategory(24,'description') }}</span>
|
||||
</div>
|
||||
<div class="idxTitle-more" data-href="{{ getOneCategory(24,'link') }}">
|
||||
查看更多<img src="/assets/index/images/idxRow.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="idxTitle-more" data-href="{{ getOneCategory(24,'link') }}">
|
||||
查看更多<img src="/assets/index/images/idxRow.png">
|
||||
</div>
|
||||
</div>
|
||||
<ul class="newTwo-list">
|
||||
@if (getArticlesBYCate(24,4)->isNotEmpty())
|
||||
<ul class="newTwo-list">
|
||||
@foreach (getArticlesBYCate(24,4) as $article)
|
||||
<li data-href="{{ $article->link }}">
|
||||
<div class="ce-img newTwo-list-img">
|
||||
@@ -93,10 +96,11 @@
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- end 第二模板 -->
|
||||
|
||||
<!-- 第三模板 -->
|
||||
@@ -188,19 +192,20 @@
|
||||
<!-- end 第三模板 -->
|
||||
|
||||
<!-- 第四模板 -->
|
||||
<div class="idxFour ce-morgin-tb">
|
||||
<div class="contant">
|
||||
<div class="idxTitle">
|
||||
<div class="idxTitle-name">
|
||||
{{ getOneCategory(8,'title') }}<span>/ {{ getOneCategory(8,'description') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="idxFourSwiper">
|
||||
<!-- Swiper -->
|
||||
<div class="swiper-container idxFour-container">
|
||||
<div class="swiper-wrapper">
|
||||
@if (getArticlesBYCate(8,4)->isNotEmpty())
|
||||
|
||||
<div class="idxFour ce-morgin-tb">
|
||||
<div class="contant">
|
||||
<div class="idxTitle">
|
||||
<div class="idxTitle-name">
|
||||
{{ getOneCategory(8,'title') }}<span>/ {{ getOneCategory(8,'description') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="idxFourSwiper">
|
||||
<!-- Swiper -->
|
||||
<div class="swiper-container idxFour-container">
|
||||
<div class="swiper-wrapper">
|
||||
|
||||
@if (getArticlesBYCate(8,4)->isNotEmpty())
|
||||
@foreach (getArticlesBYCate(8,4) as $article)
|
||||
<div class="swiper-slide idxFour-slide">
|
||||
<div class="ce-img idxFour-img">
|
||||
@@ -219,17 +224,18 @@
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- Add Arrows -->
|
||||
<div class="idxFour-Arrows">
|
||||
<div class="swiper-button-next">></div>
|
||||
<div class="swiper-button-prev"><</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Add Arrows -->
|
||||
<div class="idxFour-Arrows">
|
||||
<div class="swiper-button-next">></div>
|
||||
<div class="swiper-button-prev"><</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- end 第四模板 -->
|
||||
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user