This commit is contained in:
2020-09-17 08:58:40 +08:00
parent 1f6ddc1993
commit b266a81b29
6 changed files with 38 additions and 26 deletions

View File

@@ -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>