From e04340236c4943f41daaf34b251fad9eae69ff70 Mon Sep 17 00:00:00 2001 From: loucongjun <905507426@qq.com> Date: Mon, 7 Sep 2026 20:37:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=85=AC=E5=8F=B8=E6=88=90?= =?UTF-8?q?=E7=BB=A9=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/themes/website/1/en/demo/single_index.html | 27 ++++++++++------------- public/themes/website/1/zh/demo/single_index.html | 19 +++++++--------- 2 files changed, 20 insertions(+), 26 deletions(-) diff --git a/public/themes/website/1/en/demo/single_index.html b/public/themes/website/1/en/demo/single_index.html index 1809f09..7e2f569 100644 --- a/public/themes/website/1/en/demo/single_index.html +++ b/public/themes/website/1/en/demo/single_index.html @@ -855,20 +855,17 @@

{$sub_cates[4]['desc']}

- {php}$arr = explode(',',$sub_cates[4]['description']){/php} + {php} + $arr = explode(',',$sub_cates[4]['description']); + $stats = array_chunk($arr, 2); // 每2个一组 + {/php} @@ -891,7 +888,7 @@ - + {/if} @@ -901,7 +898,7 @@

{$news[1]['title'] ?? ''}

- +
@@ -914,7 +911,7 @@

{$news[2]['title'] ?? ''}

- +
@@ -927,7 +924,7 @@

{$news[3]['title'] ?? ''}

- +
diff --git a/public/themes/website/1/zh/demo/single_index.html b/public/themes/website/1/zh/demo/single_index.html index 5720c04..edcdbf2 100644 --- a/public/themes/website/1/zh/demo/single_index.html +++ b/public/themes/website/1/zh/demo/single_index.html @@ -855,20 +855,17 @@

{$sub_cates[4]['desc']}

- {php}$arr = explode(',',$sub_cates[4]['description']){/php} + {php} + $arr = explode(',',$sub_cates[4]['description']); + $stats = array_chunk($arr, 2); + {/php}