启动页:阶段提示文字移到进度条下方
SplashPage 覆盖层顺序调整为 进度条 → 阶段文案(原为文案 → 进度条)。模拟器验证通过。 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
2702b619a7
commit
f839c5b413
@@ -83,6 +83,11 @@ export struct SplashPage {
|
|||||||
// 启动进度/公告叠加在底部(深色文字,白底可见)
|
// 启动进度/公告叠加在底部(深色文字,白底可见)
|
||||||
Column({ space: 14 }) {
|
Column({ space: 14 }) {
|
||||||
if (this.blocked === '') {
|
if (this.blocked === '') {
|
||||||
|
Progress({ value: this.percent, total: 100, type: ProgressType.Linear })
|
||||||
|
.width('56%')
|
||||||
|
.color(SplashPage.GOLD)
|
||||||
|
.backgroundColor('#E6E6E6')
|
||||||
|
// 阶段提示文字放在进度条下方
|
||||||
Row({ space: 8 }) {
|
Row({ space: 8 }) {
|
||||||
LoadingProgress()
|
LoadingProgress()
|
||||||
.width(20)
|
.width(20)
|
||||||
@@ -92,10 +97,6 @@ export struct SplashPage {
|
|||||||
.fontSize(15)
|
.fontSize(15)
|
||||||
.fontColor(SplashPage.NAVY)
|
.fontColor(SplashPage.NAVY)
|
||||||
}
|
}
|
||||||
Progress({ value: this.percent, total: 100, type: ProgressType.Linear })
|
|
||||||
.width('56%')
|
|
||||||
.color(SplashPage.GOLD)
|
|
||||||
.backgroundColor('#E6E6E6')
|
|
||||||
} else {
|
} else {
|
||||||
Text(this.blocked)
|
Text(this.blocked)
|
||||||
.fontSize(16)
|
.fontSize(16)
|
||||||
|
|||||||
Reference in New Issue
Block a user