From 3c8fc56406f4677a4263d72f59c6b6d34533b6fa Mon Sep 17 00:00:00 2001 From: xiaodong Date: Wed, 2 Sep 2026 16:57:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E9=97=BB=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E5=8F=B3=E4=BE=A7=E5=86=85=E5=AE=B9=E5=B1=95=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/themes/website/1/zh/demo/news.html | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/public/themes/website/1/zh/demo/news.html b/public/themes/website/1/zh/demo/news.html index e6d47e4..18c57ea 100644 --- a/public/themes/website/1/zh/demo/news.html +++ b/public/themes/website/1/zh/demo/news.html @@ -97,14 +97,11 @@ {volist name="hc_content" id="vo_content"} {php} - $content = $hc_content['content'] ?? ''; - $description = $hc_content['description'] ?? ''; - $create_time_int = $hc_content['create_time'] ?? ''; - $create_time_str = ''; - if(!empty($create_time_int)){ - $create_time_str = date('Y-m-d', $create_time_int); - } - // dd($hc_content->toArray());exit; + $content = $vo_content['content'] ?? ''; // 富文本 + $description = $vo_content['description'] ?? ''; + $title = $vo_content['description'] ?? ''; + $create_time_str = $vo_content['create_time'] ?? ''; + // dd($vo_content->toArray());exit; {/php}