From 5f42eec8e7908cdfa5ea6debe2663066e23b9d0c Mon Sep 17 00:00:00 2001 From: wikiboss Date: Thu, 8 Oct 2026 16:39:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(brand):=20=E5=85=A8=E9=9D=A2=E6=A0=A1?= =?UTF-8?q?=E5=87=86=E7=BB=9F=E4=B8=80=E5=93=81=E7=89=8C=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E4=B8=BA=E3=80=90=E7=BA=B3=E6=B5=B7=E5=B7=9D=E3=80=91=E5=B9=B6?= =?UTF-8?q?=E6=B6=88=E9=99=A4=E4=B8=8D=E6=81=B0=E5=BD=93=E7=AE=80=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../view/web/official_common/pc/footer.html | 6 +++--- .../official/view/web/official_common/pc/nav.html | 6 +++--- addons/official/view/web/official_home/index.html | 6 +++--- addons/official/view/web/official_home/index_e.html | 4 ++-- tests/HomepageDesignTest.php | 13 +++++++++++++ 5 files changed, 24 insertions(+), 11 deletions(-) diff --git a/addons/official/view/web/official_common/pc/footer.html b/addons/official/view/web/official_common/pc/footer.html index 386a1a1..5a86d3f 100644 --- a/addons/official/view/web/official_common/pc/footer.html +++ b/addons/official/view/web/official_common/pc/footer.html @@ -5,11 +5,11 @@
- 纳海川科技 - 企业级软件 + 纳海川 + 纳海川
统一技术标准 · 遵循 ISO 研发规范 · 源码交付与私有化部署 diff --git a/addons/official/view/web/official_common/pc/nav.html b/addons/official/view/web/official_common/pc/nav.html index 0dfd63e..ec85572 100644 --- a/addons/official/view/web/official_common/pc/nav.html +++ b/addons/official/view/web/official_common/pc/nav.html @@ -11,11 +11,11 @@
川
{/if}
- 纳海川科技 - NAHAICHUAN TECH + 纳海川 + NAHAICHUAN
- 纳川·工造 + 纳海川
diff --git a/addons/official/view/web/official_home/index.html b/addons/official/view/web/official_home/index.html index 2e38c21..c2d8580 100644 --- a/addons/official/view/web/official_home/index.html +++ b/addons/official/view/web/official_home/index.html @@ -9,7 +9,7 @@
- 匠心铸造 + 纳海川 现代企业数字化底座与智能体定制专家
@@ -20,7 +20,7 @@

- 纳海川科技专注于为政企与高成长型企业构筑稳固的业务技术中台、全端移动生态与垂直领域 AI 智能体体系,融合东方秩序美学与现代软件工程标准,赋能实体业务深层数字化跃升。 + 纳海川专注于为政企与高成长型企业构筑稳固的业务技术中台、全端移动生态与垂直领域 AI 智能体体系,融合东方秩序美学与现代软件工程标准,赋能实体业务深层数字化跃升。

@@ -313,7 +313,7 @@
解决方案 - 搭建纳川定制 B2B 分销中台,接入灵活等级阶梯价、信用授信账期管控及自动化拆单履约。 + 搭建纳海川定制 B2B 分销中台,接入灵活等级阶梯价、信用授信账期管控及自动化拆单履约。
diff --git a/addons/official/view/web/official_home/index_e.html b/addons/official/view/web/official_home/index_e.html index 428d2e7..98fd64b 100644 --- a/addons/official/view/web/official_home/index_e.html +++ b/addons/official/view/web/official_home/index_e.html @@ -25,7 +25,7 @@
- 匠心铸造 + 纳海川 现代企业数字化底座与智能体定制专家
@@ -34,7 +34,7 @@

- 纳海川科技专注于为政企与高成长型企业构筑稳固的业务技术中台、全端移动生态与垂直领域 AI 智能体体系。 + 纳海川专注于为政企与高成长型企业构筑稳固的业务技术中台、全端移动生态与垂直领域 AI 智能体体系。

diff --git a/tests/HomepageDesignTest.php b/tests/HomepageDesignTest.php index d789f46..8cab77a 100644 --- a/tests/HomepageDesignTest.php +++ b/tests/HomepageDesignTest.php @@ -38,6 +38,9 @@ class HomepageDesignTest { echo "=== 开始执行首页改版设计规范与完整性测试 (TDD) ===\n"; + // 0. 品牌名称必须为纳海川 + $this->testBrandName(); + // 1. 色彩体系测试 $this->testColorSystem(); @@ -79,6 +82,16 @@ class HomepageDesignTest } } + /** + * 测试品牌名称严格为【纳海川】 + */ + public function testBrandName() + { + $this->assert(strpos($this->htmlContent, '纳海川') !== false, "必须明确展示品牌名称【纳海川】"); + $hasWrongAbbr = preg_match('/纳川(?![海])/u', $this->htmlContent); + $this->assert(!$hasWrongAbbr, "严禁将品牌名称错误简称为【纳川】"); + } + /** * 测试色彩体系是否严格符合 AGENTS.md 规范 */