修复启动页横屏下进度条/提示文字与 logo 重叠
auto_rotation_landscape 横屏时屏幕高为短边,原 padding bottom 56vp 约占 17%, 配合 FlexAlign.End 把进度块顶进居中 logo 的英文行。改为底边距 24vp, 使进度条+提示文字以底部为基准、落在 logo 下方空白带(系统手势条由安全区避让)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
f84988869c
commit
5cfb68209c
@@ -111,7 +111,9 @@ export struct SplashPage {
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
.justifyContent(FlexAlign.End)
|
||||
.padding({ bottom: 56 })
|
||||
// 横屏(auto_rotation_landscape)下屏幕"高"为短边,过大的底边距会把进度块顶进居中 logo。
|
||||
// 以底部为基准只留一小段间距,使进度/文字落在 logo 下方的空白带、贴近底部(系统手势条由安全区自动避让)。
|
||||
.padding({ bottom: 24 })
|
||||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
|
||||
Reference in New Issue
Block a user