微调
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
<p>发表时间:{{ $article->created_at }}</p>
|
||||
</div>
|
||||
<div class="ritText">
|
||||
@if ($article->cover)
|
||||
<img src="{{ $article->cover_path }}">
|
||||
@endif
|
||||
{{-- @if ($article->cover)--}}
|
||||
{{-- <img src="{{ $article->cover_path }}">--}}
|
||||
{{-- @endif--}}
|
||||
<p>
|
||||
{!! $article->content !!}
|
||||
</p>
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', '首页')
|
||||
|
||||
@section('content')
|
||||
<!-- mian -->
|
||||
<div class="container child">
|
||||
<!-- 侧边导航 -->
|
||||
<div class="child-nav">
|
||||
<div class="kj-bjt">
|
||||
<b>{{ $parent->title }}</b>
|
||||
<p>Exchange and cooperation</p>
|
||||
</div>
|
||||
<ul class="child-nav-ul">
|
||||
@if ($parent->childrens->isNotEmpty())
|
||||
@foreach ($parent->childrens as $child)
|
||||
<li>
|
||||
<a href="{{ $child->link }}" @if($category->id==$child->id) class="show" @endif>{{ $child->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
<!-- content -->
|
||||
<div class="child-content">
|
||||
<ul class="party-ul list-ul">
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="party-ul-li">
|
||||
<a href="#">
|
||||
<span class="party-time">
|
||||
<h3>09</h3>
|
||||
<p>2020-05</p>
|
||||
</span>
|
||||
<h3 class="party-title nowrap">创新团队</h3>
|
||||
<p class="party-info nowrap-multi">新华社北京7月25日电
|
||||
为引领推动我国印刷业高质量发展,由国家新闻出版署主办的2019中国印刷业创新大会25日在京开幕。</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end mian -->
|
||||
@endsection
|
||||
@@ -37,12 +37,13 @@
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
<div class="pages">
|
||||
@if ($articles->isNotEmpty())
|
||||
{{ $articles->links('layouts.pagination') }}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="pages">
|
||||
@if ($articles->isNotEmpty())
|
||||
{{ $articles->links('layouts.pagination') }}
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- end mian -->
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user