修改完成

This commit is contained in:
2026-07-21 07:53:03 +08:00
parent 01d246c47b
commit ff60119277
172 changed files with 7982 additions and 2999 deletions
+12
View File
@@ -0,0 +1,12 @@
$ErrorActionPreference = 'Stop'
$root = Split-Path -Parent $PSScriptRoot
$page = Get-Content -LiteralPath (Join-Path $root 'pages/tree/t03-member-profile.vue') -Raw -Encoding utf8
$style = [regex]::Match($page, '(?s)<style[^>]*>(.*?)</style>').Groups[1].Value
if ([regex]::IsMatch($style, '(?m)\bposition\s*:')) { throw 'T03 member profile must use document flow throughout' }
foreach ($required in @(
'background: url("/static/assets/modules/tree/transparent/t01-state-panel.png")',
'background: url("/static/assets/modules/genealogy/transparent/current-seal-frame.png")',
'background: url("/static/assets/modules/tree/transparent/t07-search-input-frame.png")',
'background: url("/static/assets/foundation/transparent/a01-scroll-primary-v3.png")'
)) { if ($page -notmatch [regex]::Escape($required)) { throw "T03 is missing real asset background: $required" } }
Write-Output 'T03-DOCUMENT-FLOW-CONTRACT PASS'