@extends('layouts.app') @section('title', '首页') @section('content')
    @if ($adverts->isNotEmpty()) @foreach ($adverts as $advert)
  • @endforeach @endif
@if (getArticlesBYCate(53,6)->isNotEmpty())

{{ getArticlesBYCate(53,6)->first()->title}}

    @foreach (getArticlesBYCate(53,6) as $info) @if ($loop->iteration>1)
  • {{ $info->title }}{{ $info->created_at->format('Y-m-d') }}
  • @endif @endforeach
@endif
{{ getOneCategory(17,'title') }} 更多 >>
@if (getArticlesBYCate(17,8,'all')->isNotEmpty()) @foreach (getArticlesBYCate(17,8,'all') as $info) @if ($loop->odd)
{{ $info->title }}
{{ $info->description }}
查看更多
@else
{{ $info->title }}
{{ $info->description }}
查看更多
@endif @endforeach @endif
{{ getOneCategory(43,'title') }} 更多 >>
@if (getArticlesBYCate(43,6,'all')->isNotEmpty())
@foreach (getArticlesBYCate(43,6,'all') as $article) @if ($loop->iteration<=2) @endif @endforeach
    @foreach (getArticlesBYCate(43,6,'all') as $article) @if ($loop->iteration<=3)
  • {{ $article->title }}
  • @endif @endforeach
    @foreach (getArticlesBYCate(43,6,'all') as $article) @if ($loop->iteration >3)
  • {{ $article->title }}
  • @endif @endforeach
@endif
{{ getOneCategory(74,'title') }}更多 >>
@if (getArticlesBYCate(74,5)->isNotEmpty())
    @foreach (getArticlesBYCate(74,5) as $article)
  • @endforeach
@endif
论坛
@if ($lt_adverts->isNotEmpty())
    @foreach ($lt_adverts as $advert)
  • @endforeach
@endif
{{ getOneCategory(127,'title') }}
更多 >>
@if (getArticlesBYCate(127,4)->isNotEmpty())

{{ getArticlesBYCate(127,4)->first()->title}}

    @foreach (getArticlesBYCate(127,4) as $info) @if ($loop->iteration>1)
  • {{ $info->title }}
  • @endif @endforeach
@endif
{{ getOneCategory(8,'title') }}
更多 >>
@if (getArticlesBYCate(8,4)->isNotEmpty())

{{ getArticlesBYCate(8,4)->first()->title}}

    @foreach (getArticlesBYCate(8,4) as $info) @if ($loop->iteration>1)
  • {{ $info->title }}
  • @endif @endforeach
@endif
{{ getOneCategory(18,'title') }}
更多 >>
@if (getArticlesBYCate(18,4)->isNotEmpty())

{{ getArticlesBYCate(18,4)->first()->title}}

    @foreach (getArticlesBYCate(18,4) as $info) @if ($loop->iteration>1)
  • {{ $info->title }}
  • @endif @endforeach
@endif
@endsection @push('script') @endpush