From 06618cd2189d8e25f5a4ef97cd7d9306e55f5452 Mon Sep 17 00:00:00 2001 From: peijunlei Date: Tue, 8 Sep 2026 15:33:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=E4=BD=BF=E7=94=A8=E5=8A=A8?= =?UTF-8?q?=E6=80=81UI=20ID=E6=9B=BF=E6=8D=A2=E7=A1=AC=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E7=9A=84=E6=A0=8F=E7=9B=AEID=EF=BC=8C=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=86=85=E5=AE=B9=E4=BB=A5=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/themes/website/1/en/demo/single_index.html | 25 ++++++++++++++--------- public/themes/website/1/zh/demo/single_index.html | 25 ++++++++++++++--------- 2 files changed, 30 insertions(+), 20 deletions(-) diff --git a/public/themes/website/1/en/demo/single_index.html b/public/themes/website/1/en/demo/single_index.html index 7e2f569..36589b7 100644 --- a/public/themes/website/1/en/demo/single_index.html +++ b/public/themes/website/1/en/demo/single_index.html @@ -59,12 +59,17 @@ {include file="components/header"}
+ {php} + $ui_product = uiId('product'); + $ui_solution = uiId('solution'); + $ui_news = uiId('news'); + {/php} {if !empty($sub_cates[0])}
{php} - $news = getChildCategoriesContent(361,$seller_id,5); + $news = getChildCategoriesContent($ui_news,$seller_id,5); {/php} {hcTaglib:content cid="$sub_cates[0]['id']" moduleId="1" item="vo" limit="5" mainField="*" subField="*" key="key"}
@@ -75,7 +80,7 @@

{$vo.title ?? ''}

{$vo.sub_title|raw}

{$vo.description ?? ''}

- {hcTaglib:category id="333" item="vo" field="*"} + {hcTaglib:category id="$ui_product" item="vo" field="*"} Explore more {/hcTaglib:category}
@@ -142,7 +147,7 @@
- {hcTaglib:allSubCategory pid="333" field="*" max-level="2" item="vo" sort="sort asc" key="key"} + {hcTaglib:allSubCategory pid="$ui_product" field="*" max-level="2" item="vo" sort="sort asc" key="key"}
@@ -765,7 +770,7 @@
- {hcTaglib:allSubCategory pid="345" field="*" max-level="2" item="vo" sort=""} + {hcTaglib:allSubCategory pid="$ui_solution" field="*" max-level="2" item="vo" sort=""}
@@ -788,8 +793,8 @@