完成50%

This commit is contained in:
2026-07-23 08:23:59 +08:00
parent 9b0ad62df4
commit f1edc6b533
218 changed files with 24318 additions and 5514 deletions
+4 -11
View File
@@ -19,7 +19,6 @@ $g08 = Get-Content -LiteralPath (Join-Path $root 'pages/genealogy/g08-join-appli
$g09 = Get-Content -LiteralPath (Join-Path $root 'pages/genealogy/g09-my-applications.vue') -Raw -Encoding utf8
$g10 = Get-Content -LiteralPath (Join-Path $root 'pages/genealogy/g10-application-review.vue') -Raw -Encoding utf8
$profiles = Get-Content -LiteralPath (Join-Path $root 'styles/adaptive-frame-profiles.scss') -Raw -Encoding utf8
$catalog = Get-Content -LiteralPath (Join-Path $root 'data/page-catalog.js') -Raw -Encoding utf8
foreach ($page in @($g08, $g09, $g10)) {
if ($page -match '<ModulePage') { throw 'G08-G10 must not retain the generic ModulePage shell' }
@@ -35,13 +34,11 @@ foreach ($required in @(
'adaptive.adaptive-genealogy-state-panel',
'adaptive.adaptive-genealogy-form-field',
'a01-scroll-primary-v3.png',
'const genealogyPreview',
'findGenealogyFixture',
'query.genealogyId',
'const source = ref("search")',
'const sourceContract = computed(() =>',
'const fieldErrors = reactive({',
'/pages/genealogy/g09-my-applications',
'/pages/genealogy/g01-my-genealogies?genealogyId='
'const fieldErrors = reactive({'
)) { Assert-Contains $g08 $required "Missing G08 join contract: $required" }
foreach ($assetName in @('g01-empty-panel-frame.png', 'g-form-field-frame.png')) {
Assert-Contains $profiles $assetName "Adaptive genealogy profile must own: $assetName"
@@ -62,12 +59,11 @@ foreach ($required in @(
'"PENDING"',
'"APPROVED"',
'"REJECTED"',
'"WITHDRAWN"',
'"LOCAL_WITHDRAWN"',
'const applicationSamples',
'const actionFor = (item) =>',
'const withdrawTarget = ref(null)',
'<AppDialog',
'/pages/genealogy/g08-join-application?source=search&previous=rejected&genealogyId='
'<AppDialog'
)) { Assert-Contains $g09 $required "Missing G09 application contract: $required" }
Assert-Contains $profiles 'list-slip-frame.png' 'Adaptive genealogy list profile must own the G09 card asset'
foreach ($nativeUi in @('uni.showToast', 'uni.showModal', 'uni.showLoading', 'uni.showActionSheet')) {
@@ -96,9 +92,6 @@ foreach ($className in @('join-panel', 'join-action', 'application-card', 'revie
foreach ($page in @($g08, $g09, $g10)) { Assert-NoCssSurface $page $className }
}
foreach ($entry in @('g07:', 'g08:', 'g09:')) {
if ($catalog -match [regex]::Escape($entry)) { throw "Page catalog must remove migrated generic entry: $entry" }
}
$statusAsset = Join-Path $root 'static/assets/modules/genealogy/transparent/list-slip-frame.png'
if (-not (Test-Path -LiteralPath $statusAsset)) { throw 'G09-G10 cards and application empty states require list-slip-frame.png' }