From 51bac86d4b2af0b9eb4c405c31c19821566a108b Mon Sep 17 00:00:00 2001 From: xuanchen120 <122383162@qq.com> Date: Tue, 19 Jul 2022 13:45:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9C=80=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/index/css/style.css | 10 ++++---- resources/views/category/cxpt.blade.php | 3 +-- resources/views/category/kycg.blade.php | 3 +-- resources/views/category/sitemap.blade.php | 29 ++++++++++++++++++++++ resources/views/index/search.blade.php | 2 +- 5 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 resources/views/category/sitemap.blade.php diff --git a/public/assets/index/css/style.css b/public/assets/index/css/style.css index 0d350f4..07d5d7e 100644 --- a/public/assets/index/css/style.css +++ b/public/assets/index/css/style.css @@ -1343,9 +1343,9 @@ input { background-repeat: no-repeat; } .platformCont-name { - width: calc(100% - 80px); - line-height: 60px; - font-size: 26px; + width: calc(100% - 110px); + line-height: 32px; + font-size: 21px; font-weight: 600; } .platformCont-name>span { @@ -2122,10 +2122,10 @@ input { } .noGraphList-time>small { line-height: 30px; - font-size: 14px; + font-size: 12px; } .noGraphList-time>span { - font-size: 28px; + font-size: 18px; display: block; font-weight: 600; color: #000; diff --git a/resources/views/category/cxpt.blade.php b/resources/views/category/cxpt.blade.php index b3a169e..b0f2223 100644 --- a/resources/views/category/cxpt.blade.php +++ b/resources/views/category/cxpt.blade.php @@ -45,8 +45,7 @@ style="background-image: url({{ asset('assets/index/images/laboratoryImg_1.png') }});">
- {{ $zdCate->title }} - {{ $zdCate->description }} + {{ $zdCate->description }}
查看详情 diff --git a/resources/views/category/kycg.blade.php b/resources/views/category/kycg.blade.php index 4d2b253..e1c2e8f 100644 --- a/resources/views/category/kycg.blade.php +++ b/resources/views/category/kycg.blade.php @@ -75,7 +75,7 @@
- +
@@ -131,4 +131,3 @@ @endsection - diff --git a/resources/views/category/sitemap.blade.php b/resources/views/category/sitemap.blade.php new file mode 100644 index 0000000..0a8907f --- /dev/null +++ b/resources/views/category/sitemap.blade.php @@ -0,0 +1,29 @@ +@extends('layouts.app') + +@section('content') + +
+
+
+ + @if($all_categorys->isNotEmpty()) + @foreach($all_categorys as $category) + @if($category->children->isNotEmpty()) +
+
{{ $category->title }}
+
    + @foreach($category->children()->where('status',1)->get() as $child) +
  • + {{ $child->title }} +
  • + @endforeach +
+
+ @endif + + @endforeach + @endif +
+
+
+@endsection diff --git a/resources/views/index/search.blade.php b/resources/views/index/search.blade.php index 3a0ca31..1f2ddd4 100644 --- a/resources/views/index/search.blade.php +++ b/resources/views/index/search.blade.php @@ -27,7 +27,7 @@ @endif @else - @include('layouts.empty') + @include('layouts.empty') @endif