启动页:阶段提示文字移到进度条下方

SplashPage 覆盖层顺序调整为 进度条 → 阶段文案(原为文案 → 进度条)。模拟器验证通过。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
lanterngamescn
2026-06-26 20:49:08 +08:00
co-authored by Claude Opus 4.8
parent 2702b619a7
commit f839c5b413
+5 -4
View File
@@ -83,6 +83,11 @@ export struct SplashPage {
// 启动进度/公告叠加在底部(深色文字,白底可见)
Column({ space: 14 }) {
if (this.blocked === '') {
Progress({ value: this.percent, total: 100, type: ProgressType.Linear })
.width('56%')
.color(SplashPage.GOLD)
.backgroundColor('#E6E6E6')
// 阶段提示文字放在进度条下方
Row({ space: 8 }) {
LoadingProgress()
.width(20)
@@ -92,10 +97,6 @@ export struct SplashPage {
.fontSize(15)
.fontColor(SplashPage.NAVY)
}
Progress({ value: this.percent, total: 100, type: ProgressType.Linear })
.width('56%')
.color(SplashPage.GOLD)
.backgroundColor('#E6E6E6')
} else {
Text(this.blocked)
.fontSize(16)