fix(brand): 全面校准统一品牌名称为【纳海川】并消除不恰当简称

这个提交包含在:
wikiboss
2026-10-08 16:39:36 +08:00
父节点 73c56c810e
当前提交 5f42eec8e7
共有 5 个文件被更改,包括 24 次插入 和 11 次删除

查看文件

@@ -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 规范
*/