From 044a3c560a3acaea5e3073cebd98df0cbe8ffe9c Mon Sep 17 00:00:00 2001
From: xuanchen <122383162@qq.com>
Date: Mon, 29 Nov 2021 15:21:26 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=98=BE=E7=A4=BA=E9=A1=BA?=
=?UTF-8?q?=E5=BA=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
resources/views/category/kxjs_rcdw.blade.php | 35 +++++++++-----------
resources/views/category/kxyj.blade.php | 4 +--
2 files changed, 17 insertions(+), 22 deletions(-)
diff --git a/resources/views/category/kxjs_rcdw.blade.php b/resources/views/category/kxjs_rcdw.blade.php
index 69b0c75..84b8d89 100644
--- a/resources/views/category/kxjs_rcdw.blade.php
+++ b/resources/views/category/kxjs_rcdw.blade.php
@@ -44,27 +44,22 @@
-
- @if(getCateChild(32)->isNotEmpty())
- @foreach(getCateChild(32) as $cate)
-
- @if (getArticlesBYCate($cate->id,3)->isNotEmpty())
- @foreach (getArticlesBYCate($cate->id,3) as $info)
-
-
-
- {{ $info->title }}
-
-
-
-
-
-
+ @if (getArticlesBYCate(32,3)->isNotEmpty())
+
+ @foreach (getArticlesBYCate(32,3) as $info)
+
+
+
+ {{ $info->title }}
- @endforeach
- @endif
-
- @endforeach
+
+
+
+
+
+
+ @endforeach
+
@endif
diff --git a/resources/views/category/kxyj.blade.php b/resources/views/category/kxyj.blade.php
index 16242cf..1dd615a 100644
--- a/resources/views/category/kxyj.blade.php
+++ b/resources/views/category/kxyj.blade.php
@@ -284,7 +284,7 @@
- {{ $video->format('Y年m月d日') }}
+ {{ $video->created_at->format('Y年m月d日') }}
@@ -323,7 +323,7 @@
- {{ $info->format('Y年m月d日') }}
+ {{ $info->created_at->format('Y年m月d日') }}