{include file="components/header"}
{hcTaglib:category id="253" item="vo" field="*"}

{$vo.sub_title}

{/hcTaglib:category}
{hcTaglib:category id="253" item="vo" field="*"}

{$vo.sub_title}

{/hcTaglib:category} {hcTaglib:category id="310" item="vo" field="*"}

{$vo.title}

{/hcTaglib:category}
{hcTaglib:subcategory pid="310" name="hc_subcategory" item="vo" sort="sort asc" onlyData="1"} {/hcTaglib:subcategory} {php} $finalData = []; $allData = []; {/php} {volist name="hc_subcategory" id="vo" key="key"} {hcTaglib:contentPage2 cid="$vo.id" mainField="*" subField="*" name="hc_content" limit="10" item="vo22" sort="sort asc"} {php} $finalData[$vo['id']][] = $vo22; if (!empty($vo22)) { $allData[] = $vo22->toArray(); } {/php} {/hcTaglib:contentPage2} {/volist} {php} // 进行多字段排序 if (!empty($allData)) { // 提取排序字段 $sorts = array_column($allData, 'sort'); // $createTimes = array_column($allData, 'create_time'); // 多字段排序:sort 倒序,create_time 倒序 // array_multisort($sorts, SORT_DESC, $createTimes, SORT_DESC, $allData); array_multisort($sorts, SORT_DESC, $allData); } {/php}
{volist name="allData" id="vo" key="key"}
{$vo.title}

{$vo.title}

{$vo.description}

{/volist}
{volist name="hc_subcategory" id="vo" key="key"}
{php} $currentList = $finalData[$vo['id']] ?? []; {/php} {volist name="currentList" id="vo2" key="key"}
{$vo2.title}

{$vo2.title}

{$vo2.description}

{/volist}
{/volist}

联系我们

用智能科技让每一座建筑都更懂生活

{hcTaglib:content cid="80" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} {$vo.title}{$vo.sub_title} {/hcTaglib:content}
{hcTaglib:category id="81" item="vo" field="*"}
{$vo.sub_title}
{/hcTaglib:category}
{hcTaglib:content cid="82" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"}
{$vo.title} {$vo.sub_title}
{$vo.title}
{/hcTaglib:content}
{hcTaglib:content cid="83" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"}
{$vo.title}
{/hcTaglib:content}

在线预约

{include file="components/footer"}