@extends('layouts.app') @section('title', '首页') @section('css') @endsection @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->description1 ?? '' }}
@else
{{ $info->title }}
{{ $info->description1 ?? ''}}
@endif @endforeach @endif
{{ getOneCategory(43,'title') }} 更多 >>
@if (getArticlesBYCate(43,6,'all')->isNotEmpty())
@endif
{{ getOneCategory(18,'title') }}更多 >>
@if (getArticlesBYCate(18,8)->isNotEmpty())
@foreach (getArticlesBYCate(18,8) as $info) @if ($loop->iteration>1) @endif @endforeach
@endif
{{ getOneCategory(8,'title')}} 更多 >>
@if (getArticlesBYCate(43,6,'all')->isNotEmpty())
    @foreach (getArticlesBYCate(8,12) as $info) @if ($loop->iteration>1)
  • {{ $info->title }}
  • @endif @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(74,'title') }}
更多 >>
{{ getOneCategory(8,'title') }}
更多 >>
@if (getArticlesBYCate(8,4)->isNotEmpty())
    @foreach (getArticlesBYCate(8,4) as $info) @if ($loop->iteration>1)
  • {{ $info->title }}
  • @endif @endforeach
@endif
@endsection @push('script') @endpush