更新官网首页、服务与案例页面及配套视觉资源

这个提交包含在:
wikiboss
2026-11-05 14:58:25 +08:00
父节点 7ce37ad995
当前提交 77495769c4
共有 75 个文件被更改,包括 3025 次插入 和 8735 次删除

查看文件

@@ -82,9 +82,9 @@ class CasesPageTest
$hasFilter = (strpos($this->htmlContent, 'nhc-case-filter') !== false || strpos($this->htmlContent, '全部案例') !== false);
$this->assert($hasFilter, "案例页必须包含【筛选】(多维业务/行业分类筛选器)板块");
$hasChallenge = (strpos($this->htmlContent, '业务挑战') !== false || strpos($this->htmlContent, 'CHALLENGE') !== false);
$hasSolution = (strpos($this->htmlContent, '技术方案') !== false || strpos($this->htmlContent, 'SOLUTION') !== false || strpos($this->htmlContent, '解决方案') !== false);
$hasResult = (strpos($this->htmlContent, '成果验证') !== false || strpos($this->htmlContent, 'RESULT') !== false || strpos($this->htmlContent, '交付成效') !== false);
$hasChallenge = (strpos($this->htmlContent, '遇到的问题') !== false || strpos($this->htmlContent, '业务挑战') !== false || strpos($this->htmlContent, 'CHALLENGE') !== false);
$hasSolution = (strpos($this->htmlContent, '我们的做法') !== false || strpos($this->htmlContent, '技术方案') !== false || strpos($this->htmlContent, '实施方案') !== false || strpos($this->htmlContent, 'SOLUTION') !== false || strpos($this->htmlContent, '解决方案') !== false);
$hasResult = (strpos($this->htmlContent, '交付结果') !== false || strpos($this->htmlContent, '成果验证') !== false || strpos($this->htmlContent, '交付内容') !== false || strpos($this->htmlContent, 'RESULT') !== false || strpos($this->htmlContent, '交付成效') !== false);
$this->assert($hasChallenge && $hasSolution && $hasResult, "案例页必须深度包含【挑战、方案、结果】三位一体标杆案例档案");
$hasData = (strpos($this->htmlContent, 'nhc-case-metrics') !== false || strpos($this->htmlContent, '数据验证') !== false || strpos($this->htmlContent, '成果指标') !== false);
@@ -93,9 +93,9 @@ class CasesPageTest
public function testNoAiCharacteristics()
{
// 必须具备真实量化指标(百分比、单量等)
$hasMetrics = (strpos($this->htmlContent, '%') !== false && (strpos($this->htmlContent, '10W') !== false || strpos($this->htmlContent, '300') !== false || strpos($this->htmlContent, '50') !== false));
$this->assert($hasMetrics, "去AI味道:案例必须具备真实可信的量化业务指标数据");
// 必须具备真实可信的业务机制与指标(不使用无出处的百分比/单量)
$hasMetrics = (strpos($this->htmlContent, 'nhc-case-metrics') !== false && (strpos($this->htmlContent, '自动分单') !== false || strpos($this->htmlContent, '动态 BOM') !== false || strpos($this->htmlContent, '断网断电仍可收银') !== false));
$this->assert($hasMetrics, "去AI味道:案例必须具备真实可信的业务机制与指标");
// 覆盖重点实体行业(商贸零售、智能制造、政企服务等)
$hasRealIndustries = (strpos($this->htmlContent, '商贸') !== false || strpos($this->htmlContent, '零售') !== false || strpos($this->htmlContent, '制造') !== false);
@@ -122,7 +122,7 @@ class CasesPageTest
$this->assert(!empty($this->mobileHtmlContent), "移动端案例模板 list_e.html 文件必须存在");
$this->assert(strpos($this->mobileHtmlContent, '纳海川') !== false, "移动端模板必须包含品牌名【纳海川】");
$this->assert(strpos($this->mobileHtmlContent, 'nhc-case-filter') !== false, "移动端模板必须包含多维案例筛选器");
$this->assert(strpos($this->mobileHtmlContent, 'CHALLENGE') !== false || strpos($this->mobileHtmlContent, '业务挑战') !== false, "移动端模板必须包含标杆案例挑战/方案/结果");
$this->assert(strpos($this->mobileHtmlContent, '遇到的问题') !== false || strpos($this->mobileHtmlContent, 'CHALLENGE') !== false || strpos($this->mobileHtmlContent, '业务挑战') !== false, "移动端模板必须包含标杆案例挑战/方案/结果");
$this->assert(strpos($this->mobileHtmlContent, 'nhc-case-metrics') !== false, "移动端模板必须包含数据指标墙");
}
}