调整
This commit is contained in:
@@ -43,9 +43,9 @@
|
||||
<div class="biaoti">{{ $article->title }}</div>
|
||||
<div class="sshuomign"><span>发布时间:{{ $article->created_at->format('Y-m-d') }}</span></div>
|
||||
<div class="article_txt">
|
||||
@if ($article->cover)
|
||||
<img src="{{ $article->cover_path }}">
|
||||
@endif
|
||||
{{-- @if ($article->cover)--}}
|
||||
{{-- <img src="{{ $article->cover_path }}">--}}
|
||||
{{-- @endif--}}
|
||||
{!! $article->content !!}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
<div class="txt flexcolumn jc_sb" data-href="{{ $info->link }}">
|
||||
<div>
|
||||
<div class="title overflow1">{{ $info->title }}</div>
|
||||
<div class="overflow4 "> {{ $info->descrition }}</div>
|
||||
<div class="overflow4 "> {{ $info->description }}</div>
|
||||
</div>
|
||||
<div class="flexrow getMore">查看更多 <img src="/assets/index/images/right.png"></div>
|
||||
</div>
|
||||
@@ -104,7 +104,7 @@
|
||||
<div class="txt flexcolumn jc_sb" data-href="{{ $info->link }}">
|
||||
<div>
|
||||
<div class="title overflow1">{{ $info->title }}</div>
|
||||
<div class="overflow4 "> {{ $info->descrition }}</div>
|
||||
<div class="overflow4 "> {{ $info->description }}</div>
|
||||
</div>
|
||||
<div class="flexrow getMore">查看更多 <img src="/assets/index/images/right.png"></div>
|
||||
</div>
|
||||
@@ -126,32 +126,33 @@
|
||||
<span><a href="{{ getOneCategory(43,'link') }}">更多 >></a></span>
|
||||
</div>
|
||||
<div class="words11_zzgz_xfgz_content">
|
||||
@if (getArticlesBYCate(43,10,'all')->isNotEmpty())
|
||||
|
||||
@if (getArticlesBYCate(43,6,'all')->isNotEmpty())
|
||||
<div class="box">
|
||||
<div class="focus" style="width: 100%; height: 160px; margin: 0 0 10px">
|
||||
@foreach (getArticlesBYCate(43,8,'all') as $article)
|
||||
@foreach (getArticlesBYCate(43,6,'all') as $article)
|
||||
@if ($loop->iteration<=2)
|
||||
<img src="{{ $article->cover_path }}" style="width: calc(50% - 5px); height: 100%; margin-right: 5px">
|
||||
<img data-href="{{ $article->link }}" src="{{ $article->cover_path }}" style="width: calc(50% - 5px); height: 100%; margin-right: 5px">
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="tem">
|
||||
<ul>
|
||||
@foreach (getArticlesBYCate(43,8,'all') as $article)
|
||||
@if ($loop->iteration>2&&$loop->iteration<6)
|
||||
@foreach (getArticlesBYCate(43,6,'all') as $article)
|
||||
@if ($loop->iteration<=3)
|
||||
<li>
|
||||
<a href=""><img src="{{ $article->cover_path }}">{{ $article->title }}
|
||||
<a href="{{ $article->link }}">
|
||||
<img src="/assets/index/images/icon.png">{{ $article->title }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
<ul>
|
||||
@foreach (getArticlesBYCate(43,8,'all') as $article)
|
||||
@if ($loop->iteration >5)
|
||||
@foreach (getArticlesBYCate(43,6,'all') as $article)
|
||||
@if ($loop->iteration >3)
|
||||
<li>
|
||||
<a href=""><img src="{{ $article->cover_path }}">{{ $article->title }}
|
||||
<a href="{{ $article->link }}">
|
||||
<img src="/assets/index/images/icon.png">{{ $article->title }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user