From 592be77f113cf2cd628f4f3319e00a0d91bbe83c Mon Sep 17 00:00:00 2001 From: peijunlei Date: Tue, 8 Sep 2026 14:21:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(investment):=20=E6=B7=BB=E5=8A=A0=E6=8A=95?= =?UTF-8?q?=E8=B5=84=E7=9B=B8=E5=85=B3UI=20ID=E5=B9=B6=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=8A=95=E8=B5=84=E9=A1=B5=E9=9D=A2=E4=BB=A5=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=8A=A8=E6=80=81ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/ui_ids.php | 6 ++++++ public/themes/website/1/en/demo/investment.html | 23 ++++++++++++++++------- public/themes/website/1/zh/demo/investment.html | 23 ++++++++++++++++------- 3 files changed, 38 insertions(+), 14 deletions(-) diff --git a/config/ui_ids.php b/config/ui_ids.php index 727df3a..78f95c8 100644 --- a/config/ui_ids.php +++ b/config/ui_ids.php @@ -24,6 +24,12 @@ return [ 'news_video' => ['zh' => 757, 'en' => 758], // 企业视频 'exhibition' => ['zh' => 364, 'en' => 733], // 展会与活动 'invest' => ['zh' => 365, 'en' => 734], // 投资者关系 + 'invest_info' => ['zh' => 366, 'en' => 735], // 基本信息 + 'invest_announce' => ['zh' => 367, 'en' => 736], // 公司公告 + 'invest_stock' => ['zh' => 368, 'en' => 737], // 股票信息 + 'invest_learn' => ['zh' => 369, 'en' => 738], // 投资知识学习 + 'invest_hotline' => ['zh' => 370, 'en' => 739], // 投资者热线 + 'about' => ['zh' => 371, 'en' => 740], // 关于睿能 'about_intro' => ['zh' => 372, 'en' => 741], // 公司简介 'about_history' => ['zh' => 373, 'en' => 742], // 发展历史 diff --git a/public/themes/website/1/en/demo/investment.html b/public/themes/website/1/en/demo/investment.html index 3037128..ef2dc3d 100644 --- a/public/themes/website/1/en/demo/investment.html +++ b/public/themes/website/1/en/demo/investment.html @@ -64,7 +64,14 @@ - {hcTaglib:category id="366" item="vo" field="*"} + {php} + $ui_invest_info = uiId('invest_info'); + $ui_invest_announce = uiId('invest_announce'); + $ui_invest_stock = uiId('invest_stock'); + $ui_invest_learn = uiId('invest_learn'); + $ui_invest_hotline = uiId('invest_hotline'); + {/php} + {hcTaglib:category id="$ui_invest_info" item="vo" field="*"} {php} $descStr = $vo['description'] ?? ''; $infoList = []; @@ -88,7 +95,7 @@ {/hcTaglib:category} - {hcTaglib:category id="367" item="vo" field="*"} + {hcTaglib:category id="$ui_invest_announce" item="vo" field="*"}

{$vo.title}

@@ -108,7 +115,7 @@
- {hcTaglib:contentPage cid="367" mainField="*" subField="*" name="hc_content" limit="12" item="vo"} + {hcTaglib:contentPage cid="$ui_invest_announce" mainField="*" subField="*" name="hc_content" limit="12" item="vo"}

{$vo.title}

@@ -140,8 +147,9 @@
{/hcTaglib:category} + {hcTaglib:category id="$ui_invest_stock" item="vo" field="*"}
-

Stock information

+

{$vo.title}

Stock code: {$stockInfo.code}

@@ -175,13 +183,14 @@
+ {/hcTaglib:category} - {hcTaglib:category id="369" item="vo" field="*"} + {hcTaglib:category id="$ui_invest_learn" item="vo" field="*"}

{$vo.title}

{/hcTaglib:category} - {hcTaglib:category id="370" item="vo" field="*"} + {hcTaglib:category id="$ui_invest_hotline" item="vo" field="*"}
- {hcTaglib:category id="366" item="vo" field="*"} + {php} + $ui_invest_info = uiId('invest_info'); + $ui_invest_announce = uiId('invest_announce'); + $ui_invest_stock = uiId('invest_stock'); + $ui_invest_learn = uiId('invest_learn'); + $ui_invest_hotline = uiId('invest_hotline'); + {/php} + {hcTaglib:category id="$ui_invest_info" item="vo" field="*"} {php} $descStr = $vo['description'] ?? ''; $infoList = []; @@ -88,7 +95,7 @@ {/hcTaglib:category} - {hcTaglib:category id="367" item="vo" field="*"} + {hcTaglib:category id="$ui_invest_announce" item="vo" field="*"}

{$vo.title}

@@ -108,7 +115,7 @@
- {hcTaglib:contentPage cid="367" mainField="*" subField="*" name="hc_content" limit="12" item="vo"} + {hcTaglib:contentPage cid="$ui_invest_announce" mainField="*" subField="*" name="hc_content" limit="12" item="vo"}

{$vo.title}

@@ -140,8 +147,9 @@
{/hcTaglib:category} + {hcTaglib:category id="$ui_invest_stock" item="vo" field="*"}
-

股票信息

+

{$vo.title}

股票代码:{$stockInfo.code}

@@ -175,13 +183,14 @@
+ {/hcTaglib:category} - {hcTaglib:category id="369" item="vo" field="*"} + {hcTaglib:category id="$ui_invest_learn" item="vo" field="*"}

{$vo.title}

{/hcTaglib:category} - {hcTaglib:category id="370" item="vo" field="*"} + {hcTaglib:category id="$ui_invest_hotline" item="vo" field="*"}