@extends('layouts.app') @section('title', '首页') @section('content') @if (getAdvertsByCate(23)->isNotEmpty())
@foreach (getAdvertsByCate(23) as $advert)
{{ $advert->title }}
@endforeach
@endif
@if (getArticlesByPosition(1)->isNotEmpty()) @foreach (getArticlesByPosition(1) as $article)
{{ $article->title }}
@endforeach @endif

分院新闻

News Information
    @if (getArticlesBYCate(24,4)->isNotEmpty()) @foreach (getArticlesBYCate(24,4) as $article)
  • {{ $article->title }}
  • @endforeach @endif
{{--梯队人才--}}
{{ getOneCategory(28,'title') }} MORE
@if (getArticlesBYCate(28,30)->isNotEmpty()) @foreach (getArticlesBYCate(28,30) as $article) @if($loop->odd)
{{ $article->title }} {{ $article->description }}
@endif @endforeach @endif
@if (getArticlesBYCate(28,30)->isNotEmpty()) @foreach (getArticlesBYCate(28,30) as $article) @if($loop->even)
{{ $article->title }} {{ $article->description }}
@endif @endforeach @endif
@if (getArticlesBYCate(24,5,'all',false,'asc')->isNotEmpty()) @foreach (getArticlesBYCate(24,5) as $article) @if($loop->index==4)
{{ $article->title }}
@endif @endforeach @endif
@if (getAdvertsByCate(21,2)->isNotEmpty()) @foreach (getAdvertsByCate(21,2) as $advert) @endforeach @endif
{{ getOneCategory(17,'title') }}
{{ getOneArticleBYCate(17,'title') }}
{{ getOneArticleBYCate(17,'description') }}
MORE
@if (getArticlesBYCate(10,8)->isNotEmpty()) @foreach (getArticlesBYCate(10,8) as $article)
{{ $article->title }}
@endforeach @endif
@endsection @push('script') @endpush