From 9387933b72a9fcca2c9e0ea625808f006c304097 Mon Sep 17 00:00:00 2001 From: xiaodong Date: Wed, 2 Sep 2026 16:43:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E9=97=BB=E6=A0=8F=E7=9B=AE=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/themes/website/1/zh/demo/news.html | 1811 ++++++++++++----------------- 1 file changed, 738 insertions(+), 1073 deletions(-) diff --git a/public/themes/website/1/zh/demo/news.html b/public/themes/website/1/zh/demo/news.html index e45ed47..217117b 100644 --- a/public/themes/website/1/zh/demo/news.html +++ b/public/themes/website/1/zh/demo/news.html @@ -1,146 +1,91 @@ - + - - {php} - $current_cate_id = $current_cate['id'] ?? ''; - // var_dump($current_cate);exit; - {/php} - - - {$current_cate.seo_title} - - - - - - - - - - + + {php} + $current_cate_id = $current_cate['id'] ?? ''; + // var_dump($current_cate);exit; + {/php} - - - - - - + + + {$current_cate.seo_title} + + + + + + + + + + - - - - {include file="components/header"} + + + + + + -
-
-
-

- 了解睿能科技 - 新闻动态 -

-
- - {hcTaglib:subcategory pid="$current_cate_id" item="vo" sort=""} - - {/hcTaglib:subcategory} - -
-
- {hcTaglib:contentPage2 cid="$current_cate_id" mainField="id,category_id,title,sub_title,thumbnail,content,description,create_time" subField="" name="hc_content" limit="100" item="content_sub22" sort="sort asc"} - {/hcTaglib:contentPage2} - - {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; - {/php} - + + + +{include file="components/header"} - {/volist} +
+ {hcTaglib:category id="361" item="vo" field="id,title,alias"} + {php} + $news_cate_info = $vo; + $news_cate_info_alias = $vo['alias'] ?? ''; + {/php} + {/hcTaglib:category} +
+
+

+ 了解睿能科技 + 新闻动态 +

+
+ 全部 + {hcTaglib:subcategory pid="$news_cate_info['id']" item="vo" sort=""} + {$vo.title} + {/hcTaglib:subcategory} +
+
-
- {hcTaglib:contentPage2 cid="$current_cate_id" mainField="id,category_id,title,sub_title,thumbnail,content,description,create_time" subField="" name="hc_content" limit="6" item="content_sub22" sort="sort asc"} +
+
+ -
-
-
- -
-
+
+
+
+ +
+ + + + + + + + +
+
+ +
+ + + + + + + + + + + + + + - - - - - - - - - - + \ No newline at end of file