完成全项目响应式审核与换机交接
This commit is contained in:
@@ -26,6 +26,8 @@ foreach ($expected in @(
|
||||
'class="media-photo-editor"',
|
||||
'class="media-photo-editor__thumb"',
|
||||
'class="media-photo-editor__position"',
|
||||
'<textarea',
|
||||
'auto-height',
|
||||
'const MAX_PHOTOS = 9;',
|
||||
'const selectMockPhotos = () =>',
|
||||
'const selectPhoto = (index) =>',
|
||||
@@ -71,6 +73,7 @@ foreach ($requiredPosition in @(
|
||||
if ($page -notmatch $requiredPosition) { throw "F09 required thumbnail overlay boundary missing: $requiredPosition" }
|
||||
}
|
||||
if ([regex]::Matches($page, 'position\s*:').Count -ne 3) { throw 'F09 must keep only thumbnail badges and their local photo boundary positioned' }
|
||||
if ([regex]::Matches($page, '<textarea(?=[^>]*\sauto-height(?:\s|>))').Count -ne 2) { throw 'F09 batch and per-photo descriptions must both grow with content' }
|
||||
|
||||
if ($catalog -match '(?m)^\s*f09\s*:') {
|
||||
throw 'F09 obsolete page-catalog owner must be removed'
|
||||
|
||||
Reference in New Issue
Block a user