This commit is contained in:
2020-10-15 13:52:47 +08:00
parent e4aab3587e
commit ef78cc7b0c
11 changed files with 1629 additions and 1520 deletions

View File

@@ -41,10 +41,16 @@
</div>
<div class="biaoti">{{ $article->title }}</div>
<div class="sshuomign"><span>发布时间:{{ $article->created_at->format('Y-m-d') }}</span></div>
<!-- 图片 -->
@if ($article->cover && $article->category_id==127)
<div style="width: 100%; text-align: center; margin-top: 20px;">
<img src="{{ $article->cover_path }}" style="width: 400px;">
</div>
@endif
<div class="article_txt">
{{-- @if ($article->cover)--}}
{{-- <img src="{{ $article->cover_path }}">--}}
{{-- @endif--}}
{!! $article->content !!}
</div>