完成全项目响应式审核与换机交接

This commit is contained in:
2026-07-22 07:41:27 +08:00
parent a127280ce6
commit eced3d1e6e
77 changed files with 2052 additions and 378 deletions
+7 -3
View File
@@ -7,9 +7,13 @@ if ($positions.Count -ne 1 -or $positions[0].Groups[1].Value.Trim() -ne 'fixed')
throw "G12 must retain only its fixed feedback layer; found $($positions.Count) position declarations"
}
foreach ($required in @(
'background: url("/static/assets/modules/genealogy/transparent/g01-empty-panel-frame.png")',
'background: url("/static/assets/modules/genealogy/transparent/g-form-field-frame.png")',
'@include adaptive.adaptive-genealogy-state-panel;',
'@include adaptive.adaptive-genealogy-form-field;',
'background: url("/static/assets/foundation/transparent/a01-scroll-secondary-v3.png")'
)) { if ($page -notmatch [regex]::Escape($required)) { throw "G12 is missing real asset background: $required" } }
)) { if ($page -notmatch [regex]::Escape($required)) { throw "G12 is missing adaptive asset surface: $required" } }
if ($page -notmatch '(?s)<textarea[^>]*auto-height') { throw 'G12 generation poem field must grow from its text data' }
$poemPanelStyle = [regex]::Match($style, '(?s)\.poem-panel\s*\{(?<body>.*?)\}').Groups['body'].Value
if ($poemPanelStyle -match '\bmin-height\s*:') {
throw 'G12 poem panel height must be driven by its current content'
}
Write-Output 'G12-DOCUMENT-FLOW-CONTRACT PASS'