{php}$download_keywords = input('keywords', '');{/php} {$current_cate.seo_title} {include file="components/header"}

{$current_cate.title}

{$current_cate.description}

{php} $download_cid = (string)input('cid', ''); $download_all_id = (string)($current_cate['id'] ?? ''); if ($download_cid === '') { $download_cid = $download_all_id; } $download_keywords = (string)input('keywords', ''); {/php} {volist name="sub_cates" id="vo"} {php} $count = getCategoryChildrenCount($vo['id']); $vo_id = (string)($vo['id'] ?? ''); $group_active = false; $group_label = $vo['title'] ?? ''; if ($count > 0) { $group_children = (new \app\model\Category())->where('parent_id', $vo['id'])->field('id,title')->select()->toArray(); foreach ($group_children as $gc) { if ((string)($gc['id'] ?? '') === $download_cid) { $group_active = true; $group_label = $gc['title'] ?? $group_label; break; } } } {/php} {if $count > 0}
{else} {/if} {/volist}
{hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="12" item="vo" sort="sort desc"} {php}$dl_file = !empty($vo['url']) ? $vo['url'] : ($vo['thumbnail']['url'] ?? '');{/php} {/hcTaglib:contentPage}
{php} $list_empty = isHcListEmpty($hc_content ?? null); if ($list_empty) { $empty_text = '暂无相关资料'; } {/php} {if $list_empty} {include file="components/empty"} {else /} {$hc_content|raw} {/if}
{include file="components/mask"} {include file="components/footer"}