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 19d3709..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} @@ -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'] ?? ''}

- +