@extends('layouts.app') @section('title', $parent->title) @section('content') @include('category.navigation')
@include('category.left')
{{ getOneCategory(60,'title') }}
更多>>
@if (getArticlesBYCate(60,3)->isNotEmpty()) @foreach (getArticlesBYCate(60,3) as $info)
{{ $info->title }}
{{ $info->created_at->toDateString() }}
{{ $info->description }}
@endforeach @endif
{{ getOneCategory(61,'title') }}
更多>>
@if (getArticlesBYCate(61,3)->isNotEmpty()) @foreach (getArticlesBYCate(61,3) as $info) @if($loop->iteration==1)
{{ dateLocalMonth($info->created_at->format('m')) }} {{ $info->created_at->format('d') }}
{{ $info->title }}
{{ $info->description }}
@endif @endforeach @endif
@if (getArticlesBYCate(61,3)->isNotEmpty()) @foreach (getArticlesBYCate(61,3) as $info) @if($loop->iteration>1)
{{ dateLocalMonth($info->created_at->format('m')) }} {{ $info->created_at->format('d') }}
{{ $info->title }}
@endif @endforeach @endif
{{ getOneCategory(62,'title') }}
更多>>
{{ getOneCategory(62,'title') }}
@endsection