This commit is contained in:
make
2026-01-20 13:00:42 +08:00
parent 83a92479a1
commit aa426d83e7
3 changed files with 6 additions and 2 deletions

View File

@@ -127,14 +127,17 @@
</a>
</li>
{/video:categorytype}
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
{if $arrChildrenCategory['v_category'] && !empty($arrChildrenCategory['v_category'])}
<li class="col-lg-5 col-md-5 col-sm-5 col-xs-3 ">
<a class="btn btn-sm btn-block {if $arrChildrenCategory.v_category_en == $Request.route.strCategory}btn-warm{else}btn-default{/if}"
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"/}'>
{$arrChildrenCategory.v_category}
</a>
</li>
{/if}
{/foreach}
{/video:categorytype}