fix: rebuild A01 as responsive page

This commit is contained in:
rain
2026-07-13 14:57:57 +08:00
parent 225c5272b6
commit 5a3adbc5d0
7 changed files with 290 additions and 93 deletions
+10 -9
View File
@@ -23,12 +23,13 @@ foreach ($rule in $rules) {
}
$layoutRules = @(
(ConvertFrom-Utf8Base64 '5Zu65a6a6K6+6K6h55S75biD5Li6IGA3NTBycHhgIOWuvQ=='),
(ConvertFrom-Utf8Base64 'ODUyIMOXIDE4NDZweA=='),
(ConvertFrom-Utf8Base64 'NzUwIMOXIDE2MjVycHg='),
(ConvertFrom-Utf8Base64 '6L+Q6KGM5pe26KeG6KeJ5rqQ'),
(ConvertFrom-Utf8Base64 '5Li75oyJ6ZKu5paH5qGI5Zu65a6a5Li64oCc55m75b2V4oCd'),
(ConvertFrom-Utf8Base64 'b3ZlcmZsb3c6IGhpZGRlbg==')
(ConvertFrom-Utf8Base64 '6aG16Z2i5qC55a655Zmo5a695bqm5b+F6aG75Li6IDEwMCU='),
(ConvertFrom-Utf8Base64 '5pyx56CC5a6256Wg5aS05Zu+6auYIDI0NHJweA=='),
(ConvertFrom-Utf8Base64 '5pON5L2c5Yy65bem5Y+z5YaF6L656LedIDEwMHJweA=='),
(ConvertFrom-Utf8Base64 '5Li75oyJ6ZKu6auY5bqmIDEyNHJweA=='),
(ConvertFrom-Utf8Base64 '5Y2P6K6u6KGM5Zyo5rOo5YaM5YWl5Y+j5LiL5pa5IDE2MHJweA=='),
(ConvertFrom-Utf8Base64 'ZW52KHNhZmUtYXJlYS1pbnNldC1ib3R0b20p'),
(ConvertFrom-Utf8Base64 '5pWI5p6c56i/IHYzIOS7heS9nOinhuinieavlOWvueS+neaNrg==')
)
foreach ($rule in $layoutRules) {
@@ -37,9 +38,9 @@ foreach ($rule in $layoutRules) {
}
}
$legacyLayoutRule = ConvertFrom-Utf8Base64 '5YaF5a655a695bqmIDYzOHJweA=='
if ($record -match [regex]::Escape($legacyLayoutRule)) {
throw "Legacy A01 layout rule remains: $legacyLayoutRule"
$forbiddenLayoutRule = ConvertFrom-Utf8Base64 '6L+Q6KGM5pe26KeG6KeJ5rqQ'
if ($record -match [regex]::Escape($forbiddenLayoutRule)) {
throw "Whole-image A01 layout rule remains: $forbiddenLayoutRule"
}
$currentStructure = [regex]::Match($record, '(?s)## 2\..*?(?=## 3\.)').Value