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

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
+5 -3
View File
@@ -19,12 +19,14 @@ foreach ($expected in @(
'/pages/family/f01-family-feed',
'ModulePageBackground',
'PageHeader',
'AppButton'
'AppButton',
'@use "../../styles/adaptive-frame-profiles.scss" as adaptive;',
'@include adaptive.adaptive-family-panel;'
)) {
Assert-Contains $page $expected "F10 contract missing: $expected"
}
foreach ($forbidden in @('<ModulePage page-id="f10"', 'import ModulePage from')) {
foreach ($forbidden in @('<ModulePage page-id="f10"', 'import ModulePage from', 'class="video-status-card__skin"', 'module-content-frame.png')) {
if ($page.Contains($forbidden)) { throw "F10 retains forbidden dependency: $forbidden" }
}
@@ -32,7 +34,7 @@ if ($page -match '(?m)^\s*position\s*:\s*relative\s*;') {
throw 'F10 ordinary page content must not use position: relative'
}
foreach ($selector in @('.video-status-lead text', '.video-status-card__body')) {
foreach ($selector in @('.video-status-lead text')) {
$escapedSelector = [regex]::Escape($selector)
if ($page -notmatch "(?s)$escapedSelector\s*\{[^}]*z-index\s*:\s*1\s*;") {
throw "F10 grid content must render above its decorative skin: $selector"