调整文章详情

This commit is contained in:
2021-01-13 17:03:34 +08:00
parent 81d1cc5d65
commit 147ff79d58

View File

@@ -8,8 +8,8 @@
<!-- 侧边导航 -->
<div class="child-nav">
<div class="kj-bjt" style="text-align: center;">
<b>{{ $category->title }}</b>
<p>{{ $category->description }}</p>
<b>{{ $parent->title }}</b>
<p>{{ $parent->description }}</p>
</div>
<ul class="child-nav-ul">
@if ($parent->childrens->isNotEmpty())
@@ -24,27 +24,24 @@
<!-- content -->
<div class="child-content">
<!-- mian -->
<div class="container child">
<div class="wzxq">
<h3>{{ $article->title }}</h3>
<p>发表时间:{{ $article->created_at }}</p>
</div>
<div class="ritText">
{{-- @if ($article->cover)--}}
{{-- <img src="{{ $article->cover_path }}">--}}
{{-- @endif--}}
<p>
{!! $article->content !!}
</p>
</div>
@if ($next)
<div class="xyp">
<b>下一篇</b><a href="{{ $next->link }}">{{ $next->title }}</a>
</div>
@endif
<div class="wzxq">
<h3>{{ $article->title }}</h3>
<p>发表时间:{{ $article->created_at }}</p>
</div>
<!-- end mian -->
<div class="ritText">
{{-- @if ($article->cover)--}}
{{-- <img src="{{ $article->cover_path }}">--}}
{{-- @endif--}}
<p>
{!! $article->content !!}
</p>
</div>
@if ($next)
<div class="xyp">
<b>下一篇</b><a href="{{ $next->link }}">{{ $next->title }}</a>
</div>
@endif
<!-- end mian -->
</div>
</div>