diff --git a/resources/views/category/jgsz.blade.php b/resources/views/category/jgsz.blade.php index f7cf146..fcb3c23 100644 --- a/resources/views/category/jgsz.blade.php +++ b/resources/views/category/jgsz.blade.php @@ -1,28 +1,53 @@ @extends('layouts.app') -@section('title', $article->title) - +@section('title', $category->title) @section('content') -
- -

{{ $article->title }}

- @if (in_array($parent->id,config('app.show_time'))) -

{{ $article->created_at }}

- @endif - -
- {{-- --}} - - {!! $article->content !!} -
- - @if ($next) -
- - 下一篇:{{ $next->title }} +
+ + + +
+ - @endif +
+ {{ getOneCategory(5,'title') }} + {{ getOneCategory(6,'title') }} + {{ getOneCategory(7,'title') }} + {{ getOneCategory(8,'title') }} + {{ getOneCategory(9,'title') }} +
+
    +
  • + {{ getOneCategory(37,'title') }} + + @if (getCateChild(37)->isNotEmpty()) + @foreach (getCateChild(37) as $child) + {{ $child->title }} + @endforeach + @endif +
  • +
  • + {{ getOneCategory(38,'title') }} + + @if (getCateChild(38)->isNotEmpty()) + @foreach (getCateChild(38) as $child) + {{ $child->title }} + @endforeach + @endif +
  • +
  • + {{ getOneCategory(39,'title') }} +
  • +
+ +
+ @endsection diff --git a/resources/views/index/index.blade.php b/resources/views/index/index.blade.php index 052a4a7..ef0d287 100644 --- a/resources/views/index/index.blade.php +++ b/resources/views/index/index.blade.php @@ -41,10 +41,10 @@
- +