@extends('layouts.app') @section('title', '首页') @section('css') @endsection @section('content')
    @if ($adverts->isNotEmpty()) @foreach ($adverts as $advert)
  • @endforeach @endif
{{-- 新闻与通告--}}
@if (getArticlesBYCate(53,8)->isNotEmpty())
    @foreach (getArticlesBYCate(53,8) 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(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--}} {{--
--}}
@if (getArticlesBYCate(17,8,'all')->isNotEmpty()) @foreach (getArticlesBYCate(17,8,'all') as $info)
{{ $info->title }}
@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) @endforeach
@endif
{{-- 政府决策服务--}}
{{ getOneCategory(8,'title')}} 更多 >>
@if (getArticlesBYCate(8,6,'all')->isNotEmpty())
@endif
@if (getArticlesBYCate(127,3)->isNotEmpty()) @endif
{{--院级领军人才梯队--}}
@if (getArticlesBYCate(176,3)->isNotEmpty()) @endif
{{-- 专家学者--}}
{{ getOneCategory(74,'title') }}
更多 >>
@if (getArticlesBYCate(74,5)->isNotEmpty())
@foreach (getArticlesBYCate(74,5) as $info) @endforeach
@endif
论坛
{{-- 更多 >>--}}
@if ($lt_adverts->isNotEmpty())
    @foreach ($lt_adverts as $advert)
  • {{ $advert->title }}
  • @endforeach
@endif
@endsection @push('script') @endpush