更新最新

This commit is contained in:
2022-07-19 13:45:37 +08:00
parent 7ef285be6c
commit 51bac86d4b
5 changed files with 37 additions and 10 deletions

View File

@@ -45,8 +45,7 @@
style="background-image: url({{ asset('assets/index/images/laboratoryImg_1.png') }});">
<div class="platformCont-img"><img src="{{ $zdCate->cover_url }}"></div>
<div class="platformCont-name">
{{ $zdCate->title }}
<span>{{ $zdCate->description }}</span>
{{ $zdCate->description }}
</div>
</div>
<a href="{{ $zdCate->link }}" class="platformCont-more">查看详情

View File

@@ -75,7 +75,7 @@
</div>
</div>
<div class="ce-img awardList-img">
<span style="background-image: url({{ asset('assets/index/temporary/img5.png') }});"></span>
<span style="background-image: url({{ $article->cover_url }});"></span>
</div>
</a>
</li>
@@ -131,4 +131,3 @@
</div>
<!-- end 内容 -->
@endsection

View File

@@ -0,0 +1,29 @@
@extends('layouts.app')
@section('content')
<!-- Start 内容区域 -->
<div class="second">
<div class="container">
<div class="secondCont">
<!-- 导航 -->
@if($all_categorys->isNotEmpty())
@foreach($all_categorys as $category)
@if($category->children->isNotEmpty())
<div class="itemize">
<div class="itemize-title">{{ $category->title }}</div>
<ul class="itemize-ul">
@foreach($category->children()->where('status',1)->get() as $child)
<li>
<a href="{{ $child->link }}">{{ $child->title }}</a>
</li>
@endforeach
</ul>
</div>
@endif
@endforeach
@endif
</div>
</div>
</div>
@endsection