diff --git a/public/themes/website/1/zh/demo/news.html b/public/themes/website/1/zh/demo/news.html index b6047cd..642e40e 100644 --- a/public/themes/website/1/zh/demo/news.html +++ b/public/themes/website/1/zh/demo/news.html @@ -91,7 +91,7 @@ - {hcTaglib:contentPage2 cid="$current_cate_id" mainField="id,category_id,title,sub_title,thumbnail,content,description,create_time,is_top" subField="" name="hc_featured" limit="100" item="content_sub22" sort="sort asc" isTop="1"} + {hcTaglib:contentPage2 cid="$current_cate_id" mainField="id,category_id,title,sub_title,thumbnail,content,description,create_time,is_top" subField="" name="hc_featured" limit="100" item="content_sub22" isTop="1"} {/hcTaglib:contentPage2} {php} $news_has_featured = false; @@ -112,7 +112,7 @@ $content = $vo_content['content'] ?? ''; // 富文本 $description = $vo_content['description'] ?? ''; // 描述 $title = $vo_content['title'] ?? ''; // 标题 - $create_time_str = $vo_content['create_time'] ?? ''; + $create_time_str = $vo_content['publish_time'] ?? $vo_content['create_time']; {/php}