debug
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<div class="ch-c v{$TpStyle.template_cfg.pages.category_home.variant}">
|
||||
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
<article class="cat-article">
|
||||
|
||||
{if $TpStyle.template_cfg.pages.category_home.variant < 7}
|
||||
<h2>{$val.v_category}分类导航</h2>
|
||||
{elseif $TpStyle.template_cfg.pages.category_home.variant < 14 /}
|
||||
<h3>{$val.v_category}内容索引</h3>
|
||||
{else /}
|
||||
<h3>{$val.v_category}类型入口</h3>
|
||||
{/if}
|
||||
|
||||
{if !in_array($TpStyle.template_cfg.pages.category_home.variant,[4,9,16])}
|
||||
<p class="intro">
|
||||
本页整理{$val.v_category}相关的多个细分类型,方便浏览与筛选。
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<nav class="cat-nav">
|
||||
{foreach $val.children as $child}
|
||||
<a href="{site:vclurl parent_category="$val.v_category_en" category="$child.v_category_en" page="1"}">
|
||||
{$child.v_category}
|
||||
</a>
|
||||
{/foreach}
|
||||
</nav>
|
||||
|
||||
</article>
|
||||
{/video:categorytype}
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user