- @if (getArticlesBYCate(27,8)->isNotEmpty())
- @foreach (getArticlesBYCate(27,8) as $article)
+ @if (getArticlesBYCate(28,8)->isNotEmpty())
+ @foreach (getArticlesBYCate(28,8) as $article)
{{ $article->title }}
{{ $article->description }}
diff --git a/resources/views/index/index.blade_old.php b/resources/views/index/index.blade_old.php
deleted file mode 100644
index 346df75..0000000
--- a/resources/views/index/index.blade_old.php
+++ /dev/null
@@ -1,299 +0,0 @@
-@extends('layouts.app')
-
-@section('title', '首页')
-
-@section('content')
-
- @if (getAdvertsByCate(23)->isNotEmpty())
-
-
- @foreach (getAdvertsByCate(23) as $advert)
-
- @endforeach
-
-
-
- @endif
-
-
-
-
-
-
-
-
 }})
-
-
-
-
-
{{ getOneCategory(7,'title') }}
-
/ {{ getOneCategory(7,'description') }}
-
更多
-
-
-
-
-
-
-
-
{{ getOneCategory(8,'title') }}
-
/ {{ getOneCategory(8,'description') }}
-
更多
-
-
- @if (getArticlesBYCate(8,3)->isNotEmpty())
- @foreach (getArticlesBYCate(8,3) as $article)
- -
-
-
-
-
{{ $article->description }}
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-
-
- {{-- 党政建设--}}
- {{ getOneCategory(4,'title') }}
- {{-- 媒体报道--}}
- {{ getOneCategory(17,'title') }}
-
-
-
-
-
- {{-- 交流合作--}}
-
{{ getOneCategory(5,'title') }}
-
/ Exchange and cooperation
-
更多
-
-
-
-
-
-
-
-
-
-
-
-
{{ getOneCategory(27,'title') }}
-
{{ getOneCategory(28,'title') }}
-
{{ getOneCategory(29,'title') }}
- {{--
{{ getOneCategory(17,'title') }}--}}
- {{--
{{ getOneCategory(16,'title') }} --}}
- {{--
更多--}}
-
-
-
-
- @if (getArticlesBYCate(27,4)->isNotEmpty())
- @foreach (getArticlesBYCate(27,4) as $article)
- -
-
-
-
-
-
-
{{ $article->title }}
- {{ $article->description }}
-
-
- @endforeach
- @endif
-
-
-
- @if (getArticlesBYCate(28,4)->isNotEmpty())
- @foreach (getArticlesBYCate(28,4) as $article)
- -
-
-
-
-
{{ $article->title }}
- {{ $article->description }}
-
-
- @endforeach
- @endif
-
-
-
-
- @if (getArticlesBYCate(29,4)->isNotEmpty())
- @foreach (getArticlesBYCate(29,4) as $article)
- -
-
-
-
-
{{ $article->title }}
- {{ $article->description }}
-
-
- @endforeach
- @endif
-
-
-
-
-
-
-
-
-@endsection
-
-@push('script')
-
-@endpush