{layout name="layout" /}
{$category['title'] ?? ''}
{php} $childCategoryGroup = []; foreach($childCategory as $childCate) { $childCategoryGroup[$childCate['group_name']][] = $childCate; } $childCategoryGroupList = array_values($childCategoryGroup); {/php}
{$blocks['slogan1_title']['value'] ?? ''}
{foreach $childCategoryGroupList[0] ?? [] as $ki => $cate}
{$ki + 1}

{$cate['title'] ?? ''}

{/foreach}
{$blocks['slogan2_title']['value'] ?? ''}
{foreach $childCategoryGroupList[1] ?? [] as $ki => $cate}
{$ki + 1}

{$cate['title'] ?? ''}

{/foreach}
{$blocks['slogan3_title']['value'] ?? ''}
{:nl2br($blocks['slogan3_subtitle']['value'] ?? '')}
{if isset($blocks['slogan3_group']['json_value_list']) && !empty($blocks['slogan3_group']['json_value_list'])} {foreach $blocks['slogan3_group']['json_value_list'] as $ki => $groupItem}
{$ki + 1}

{$groupItem['title'] ?? ''}

{:nl2br($groupItem['desc'] ?? '')}
立即咨询
{/foreach} {/if}