feat: V2/V3组件体系与水墨雅致视觉改造

- 新增detail-v2组件库(HeroV2/V3, TrustSectionV2, CTASectionV2等)
- Hero组件水墨雅致改造:浅色宣纸底/深色墨色文字/墨韵纹理
- 方案卡片添加推荐组合徽标(Package图标)
- 独立产品页从V1组件迁移到V2/V3
- 修复why-us-section未使用导入和ESLint引号转义错误
This commit is contained in:
张翔
2026-06-07 16:19:44 +08:00
parent 2d602c0e57
commit 724a00f582
32 changed files with 3690 additions and 87 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ export function Footer() {
<div data-testid="card-products">
<h3 className="font-semibold text-base mb-5 text-white">产品与方案</h3>
<ul className="space-y-3">
{(MEGA_DROPDOWN_DATA.products ?? []).map((item) => (
{(MEGA_DROPDOWN_DATA.products ?? []).flatMap(group => group.items).filter(item => item.href !== '#').map((item) => (
<li key={item.id}>
<StaticLink
href={item.href}
@@ -66,7 +66,7 @@ export function Footer() {
</StaticLink>
</li>
))}
{(MEGA_DROPDOWN_DATA.solutions ?? []).map((item) => (
{(MEGA_DROPDOWN_DATA.solutions ?? []).flatMap(group => group.items).map((item) => (
<li key={item.id}>
<StaticLink
href={item.href}