From 2115c0f0fe55438a20e2ea5aaaf9729248bbf935 Mon Sep 17 00:00:00 2001 From: xuanchen <122383162@qq.com> Date: Mon, 22 Nov 2021 10:14:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A6=96=E9=A1=B5=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/index/index.blade.php | 82 ++++++++++++++------------- 1 file changed, 44 insertions(+), 38 deletions(-) diff --git a/resources/views/index/index.blade.php b/resources/views/index/index.blade.php index 3e6df19..433e73d 100644 --- a/resources/views/index/index.blade.php +++ b/resources/views/index/index.blade.php @@ -14,7 +14,7 @@ / {{ getOneCategory(7,'description') }}
- 查看更多 + 查看更多
@@ -35,10 +35,12 @@
@endif @@ -70,18 +72,19 @@ -
-
-
-
- {{ getOneCategory(24,'title') }}/ {{ getOneCategory(24,'description') }} + @if (getArticlesBYCate(24,4)->isNotEmpty()) + +
+
+
+
+ {{ getOneCategory(24,'title') }}/ {{ getOneCategory(24,'description') }} +
+
+ 查看更多 +
-
- 查看更多 -
-
-
    - @if (getArticlesBYCate(24,4)->isNotEmpty()) +
      @foreach (getArticlesBYCate(24,4) as $article)
    • @@ -93,10 +96,11 @@
    • @endforeach - @endif -
    +
+
-
+ @endif + @@ -188,19 +192,20 @@ -
-
-
-
- {{ getOneCategory(8,'title') }}/ {{ getOneCategory(8,'description') }} -
-
-
- -
-
+ @if (getArticlesBYCate(8,4)->isNotEmpty()) + +
+
+
+
+ {{ getOneCategory(8,'title') }}/ {{ getOneCategory(8,'description') }} +
+
+
+ +
+
- @if (getArticlesBYCate(8,4)->isNotEmpty()) @foreach (getArticlesBYCate(8,4) as $article)
@@ -219,17 +224,18 @@
@endforeach - @endif +
+
+ +
+
>
+
<
-
- -
-
>
-
<
-
+ @endif + @endsection