diff --git a/resources/views/category/djwh.blade.php b/resources/views/category/djwh.blade.php index 31913ca..ccb21f0 100644 --- a/resources/views/category/djwh.blade.php +++ b/resources/views/category/djwh.blade.php @@ -14,6 +14,45 @@
+ +
+
+ {{ getOneCategory(79,'title') }} +
更多>>
+
+ +
+ @if (getHasCoverArticlesByCate(79,1)->isNotEmpty()) + @foreach (getHasCoverArticlesByCate(79,1) as $info) +
+ + +
+ {{ $info->title }} +
+
+ @endforeach + @endif +
    + @if (getArticlesBYCate(79,2)->isNotEmpty()) + @foreach (getArticlesBYCate(79,2) as $info) +
  • + +
    +
    +
    + {{ $info->title }} +
    +
    +
    +
  • + @endforeach + @endif +
+
+
+ +
diff --git a/resources/views/category/videos.blade.php b/resources/views/category/videos.blade.php index 2d838c7..ff9c848 100644 --- a/resources/views/category/videos.blade.php +++ b/resources/views/category/videos.blade.php @@ -2,6 +2,10 @@ @section('title', $parent->title) +@section('css') + +@endsection + @section('content') @include('category.navigation') @@ -11,11 +15,49 @@
@include('category.left') + -
-
-
党建风采
-
+
+
党建风采
+
+ + @if ($articles->isNotEmpty()) +
+
+
+ @foreach ($articles as $article) +
+
+
+ + +
+
+

{{ $article->title }}

+
+
+
+ @endforeach +
+
+
+ @if ($articles->isNotEmpty()) + {{ $articles->links('layouts.pagination') }} + @endif +
+
+ @else +
+
+ + 抱歉,暂无内容 +
+
+ @endif + + +
@endsection + +@push('script') + +@endpush diff --git a/resources/views/category/ysxw.blade.php b/resources/views/category/ysxw.blade.php new file mode 100644 index 0000000..26c1a12 --- /dev/null +++ b/resources/views/category/ysxw.blade.php @@ -0,0 +1,46 @@ +@extends('layouts.app') + +@section('title', '院所新闻') + +@section('content') + + + @include('category.navigation') + + +
+
+ + @include('category.left') + + @if ($articles->isNotEmpty()) +
+
    + @foreach ($articles as $article) +
  • +
    +
    {{ $article->created_at->format('Y-m-d') }}
    {{ $article->title }} +
    +
    + {{ $article->description }} +
    +
  • + @endforeach +
+
+ @if ($articles->isNotEmpty()) + {{ $articles->links('layouts.pagination') }} + @endif +
+
+ @else +
+
+ + 抱歉,暂无内容 +
+
+ @endif +
+
+@endsection diff --git a/resources/views/layouts/footer.blade.php b/resources/views/layouts/footer.blade.php index 6abd853..e589144 100644 --- a/resources/views/layouts/footer.blade.php +++ b/resources/views/layouts/footer.blade.php @@ -30,12 +30,12 @@ 地址:{{ config('address') }}