来源:2026-11-02 对 Porsche Consulting 中国站首页的 live 实测(1600×900 /
390×844,逐元素 getComputedStyle + getBoundingClientRect)。
令牌层
- --font-size-statement 56/68/81px:对标实测字阶为 16/18/24/40/64/80,本仓在
63px(5xl)与 108px(7xl)之间有一级空档,64/80 无处落。
- --spacer-band 7.5rem:对标首页两条独立的 120px 空模块(内部零内容、padding 0),
它的节奏不靠段内 padding,而靠一条命名的空白带。
- --aspect-{hero-wide,editorial,square,tile}:对标首页逐个 <img> 量出的四种比例,
每种绑一个构图角色;JS 侧同一份数在 image-ratios.ts,由 R12 逐字对账。
门禁层(R12–R17)
- R12 影像比例两侧真源与实测值逐字相等
- R13 营销面零非记档圆角 / R14 hover 不抬升 / R15 零装饰阴影
- R16 零品牌红彩色面 / R17 零 font-black
五条都是递减棘轮(现取 71/21/21/26/53,全部顶在上限 = 存量一处未清),
分母 = 营销面扫描文件数(78),地板 60 防止路径正则失配导致集体空转。
顺带清掉 detail-cta-section 的 2 处 rounded-full,使 R13 的 71 与实地一致
(不清理则本分支读数 73 > 上限 71,闸会红 —— 那是真实的存量差,不是噪声)。
验证:check:grammar --selftest 9/9 + R10/R11/R12/R13–R17 各自自证通过;
check:grammar EXIT=0(17/17);jest src/components/detail 32/32 通过。
39 lines
1.7 KiB
TypeScript
39 lines
1.7 KiB
TypeScript
export { COMPANY_INFO, BRAND_NARRATIVE, TRUST_SIGNALS, EARLY_ACCESS } from './company';
|
|
export type { BrandPillar } from './company';
|
|
export { NAVIGATION_V2, MEGA_DROPDOWN_DATA, MEGA_KEYS, STANDALONE_GROUP_ID } from './navigation';
|
|
export type { NavigationItemV2, MegaDropdownItem, MegaDropdownGroup, MegaDropdownData } from './navigation';
|
|
export { STATS, type StatItem } from './stats';
|
|
export { SERVICES } from './services';
|
|
export { PRODUCTS, type Product } from './products';
|
|
export type { StandaloneProduct } from './standalone-products';
|
|
export { NEWS, type NewsItem, type NewsCategory } from './news';
|
|
export type { TeamMember } from './team';
|
|
export { METHODOLOGY, type MethodologyPhase } from './methodology';
|
|
export { SOLUTIONS, type Solution } from './solutions';
|
|
export { CASE_INDUSTRIES, type CaseStudy, type CaseMetric, type CaseTimelinePhase, type CaseService, type CaseTestimonial } from './cases';
|
|
export { HERO_THEMES, getHeroTheme, type HeroTheme, type HeroLayout, type HeroTexture } from './hero-themes';
|
|
export { IMAGE_RATIOS, aspectStyle, aspectWidthStyle, type ImageRatio } from './image-ratios';
|
|
export { getProductCrossRefs, getSolutionCrossRefs, getServiceCrossRefs, type CrossReference } from './cross-references';
|
|
export {
|
|
SERVICE_COMMITMENTS,
|
|
INQUIRY_RESPONSE_COMMITMENT,
|
|
FIRST_CONVERSATION_DELIVERY,
|
|
FREE_FIRST_CONSULT,
|
|
CTA_COMMITMENT_LINE,
|
|
type Commitment,
|
|
type CommitmentBasis,
|
|
} from './commitments';
|
|
export {
|
|
CTA_LABELS,
|
|
canonicalCtaLabel,
|
|
CONSULT_CTA_ALLOWLIST,
|
|
} from './cta-labels';
|
|
export {
|
|
METRIC_BASES,
|
|
METRIC_BASIS_NOTES,
|
|
resolveMetricBasis,
|
|
weakestBasis,
|
|
FORBIDDEN_PROOF_PHRASES,
|
|
type MetricBasis,
|
|
} from './metrics-basis';
|