|
|
|
@ -64,6 +64,7 @@ $current_cate_id = $current_cate['id'] ?? ''; |
|
|
|
{include file="components/header"} |
|
|
|
|
|
|
|
<main class="main-category" data-header-dark data-nav="产品"> |
|
|
|
{php}$ui_product = uiId('product');{/php} |
|
|
|
<div class="c-page section__wrap"> |
|
|
|
<nav class="c-breadcrumb" aria-label="Breadcrumb"> |
|
|
|
<a class="c-breadcrumb__link" href="{:getMuiLangUrl('/')}">Home</a> |
|
|
|
@ -73,7 +74,7 @@ $current_cate_id = $current_cate['id'] ?? ''; |
|
|
|
</svg> |
|
|
|
</span> |
|
|
|
|
|
|
|
{hcTaglib:category id="333" item="vo" field="*"} |
|
|
|
{hcTaglib:category id="$ui_product" item="vo" field="*"} |
|
|
|
<a class="c-breadcrumb__link" href="{$vo.alias}">{$vo.title}</a> |
|
|
|
{/hcTaglib:category} |
|
|
|
|
|
|
|
@ -89,7 +90,7 @@ $current_cate_id = $current_cate['id'] ?? ''; |
|
|
|
<aside class="c-sidebar" aria-label="Product categories" data-lenis-prevent> |
|
|
|
<ul class="c-sidebar__list" data-category-nav> |
|
|
|
<!-- 获取所有一级分类 --> |
|
|
|
{hcTaglib:subcategory pid="333" item="vo" sort="" key="key_top"} |
|
|
|
{hcTaglib:subcategory pid="$ui_product" item="vo" sort="" key="key_top"} |
|
|
|
{php} |
|
|
|
$sub_cate_id = $vo['id']; |
|
|
|
$need_show_sub_content = (int)($vo['need_show_sub_content'] ?? 0); |
|
|
|
@ -129,7 +130,7 @@ $current_cate_id = $current_cate['id'] ?? ''; |
|
|
|
</aside> |
|
|
|
|
|
|
|
<div class="c-main"> |
|
|
|
{hcTaglib:subcategory pid="333" item="vo" sort="" key="key_top"} |
|
|
|
{hcTaglib:subcategory pid="$ui_product" item="vo" sort="" key="key_top"} |
|
|
|
{php} |
|
|
|
$sub_cate_id = $vo['id']; |
|
|
|
$need_show_sub_content = (int)($vo['need_show_sub_content'] ?? 0); |
|
|
|
|