{php} $current_cate_id = $current_cate['id'] ?? ''; // var_dump($current_cate);exit; {/php} {$current_cate.seo_title} {include file="components/header"}
{php}$news_root_id = uiId('news');{/php} {hcTaglib:category id="$news_root_id" item="vo" field="id,title,alias"} {php} $news_cate_info = $vo; $news_cate_info_alias = $vo['alias'] ?? ''; {/php} {/hcTaglib:category}

了解睿能科技 新闻动态

{php} $news_active_cat = (string)input('cat', ''); if ($news_active_cat === '' || $news_active_cat === 'all') { $news_active_cat = (string)($current_cate_id ?: ($news_cate_info['id'] ?? '')); } $news_all_cat = (string)($news_cate_info['id'] ?? ''); $news_video_id = (string)uiId('news_video'); $is_news_video = ($news_video_id !== '' && $news_video_id !== '0' && $news_active_cat === $news_video_id); {/php} 全部 {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,is_top" subField="" name="hc_featured" limit="100" item="content_sub22" isTop="1"} {/hcTaglib:contentPage2} {php} $news_has_featured = false; if (!empty($hc_featured)) { if (is_object($hc_featured) && method_exists($hc_featured, 'isEmpty')) { $news_has_featured = !$hc_featured->isEmpty(); } elseif (is_countable($hc_featured)) { $news_has_featured = count($hc_featured) > 0; } } {/php} {if $news_has_featured && !$is_news_video} {/if}
{hcTaglib:contentPage2 cid="$current_cate_id" mainField="id,category_id,title,sub_title,thumbnail,cover,content,description,create_time,publish_time,is_top" subField="" name="hc_content" limit="6" item="content_sub22" isTop="222"} {/hcTaglib:contentPage2} {volist name="hc_content" id="vo_content"} {php} $content = $vo_content['content'] ?? ''; $description = $vo_content['description'] ?? ''; $create_time_str = $vo_content['publish_time'] ?? $vo_content['create_time']; {/php} {if $is_news_video} {else /} {php} $is_item_video = ($news_video_id !== '' && $news_video_id !== '0' && (string)($vo_content['category_id'] ?? '') === $news_video_id); {/php}

{$vo_content.title}

{if !$is_item_video} 探索更多 {/if}
{if $is_item_video} {notempty name="description"} {$description} {/notempty} {/if}
{/if} {/volist}
{php} $list_empty = isHcListEmpty($hc_content ?? null); if ($list_empty) { $empty_text = $is_news_video ? '暂无相关视频' : '暂无相关新闻'; } {/php} {if $list_empty} {include file="components/empty"} {else /} {$hc_content|raw} {/if}
{include file="components/mask"} {include file="components/footer"}