修改完成

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
+13
View File
@@ -29,4 +29,17 @@ if ($source.Contains('application-status-card.png')) {
throw 'N01 must not reuse the genealogy application card'
}
if ($source -match '<image\s+(?:[^>]*\s)?class="notice-(?:card|state-card)__skin"') {
throw 'N01 decorative frames must be container backgrounds instead of positioned image layers'
}
if ($source -match 'position\s*:') {
throw 'N01 must keep ordinary content in document flow'
}
foreach ($background in @(
'background: url("/static/assets/modules/notification/transparent/n01-notice-card.png") center / 100% 100% no-repeat',
'background: url("/static/assets/modules/notification/transparent/n01-notice-card.png") top center / 100% 220rpx no-repeat'
)) {
if (-not $source.Contains($background)) { throw "N01 missing document-flow background: $background" }
}
Write-Output 'N01-MODULE-BASELINE-CONTRACT PASS'