diff --git a/docs/screenshot/PotPlayerMini64_hdXgAC52He.png b/docs/screenshot/PotPlayerMini64_hdXgAC52He.png new file mode 100644 index 0000000..f166a1c Binary files /dev/null and b/docs/screenshot/PotPlayerMini64_hdXgAC52He.png differ diff --git a/docs/screenshot/PotPlayerMini64_mgzfMZHM6A.png b/docs/screenshot/PotPlayerMini64_mgzfMZHM6A.png new file mode 100644 index 0000000..4956571 Binary files /dev/null and b/docs/screenshot/PotPlayerMini64_mgzfMZHM6A.png differ diff --git a/entry/src/main/ets/pages/SplashPage.ets b/entry/src/main/ets/pages/SplashPage.ets index 6c8b98c..57a809e 100644 --- a/entry/src/main/ets/pages/SplashPage.ets +++ b/entry/src/main/ets/pages/SplashPage.ets @@ -7,8 +7,10 @@ import { RouteName, BridgeGameParams } from '../routes/AppRoutes'; * 进入即跑 StartupOrchestrator(本地配置→远程配置→资源准备→app_data 注入), * 完成后 replace 进大厅容器;被 showmessage 阻断时弹公告。 * - * 闪屏底图 launch_image 为**白底 + 金色 logo**,故覆盖层文字用深色(navy), - * 进度条用品牌金色,且明确展示当前阶段中文文案(获取配置/检测升级/下载等)。 + * 🔴 与系统启动窗保持一致:systemWindow 用 module.json5 的 startWindowIcon($media:startIcon, + * 1:1 方形)居中白底渲染;本页**复刻同一资源同一布局**——白底 + 居中同一个 startIcon, + * 避免此前"系统窗(方形小图标) → 本页(横图全屏大 logo)"两套资源比例不一致导致的切换跳变。 + * 覆盖层文字用品牌 navy(白底可见),进度条金色,展示当前阶段中文文案。 */ @Component export struct SplashPage { @@ -73,11 +75,10 @@ export struct SplashPage { build() { NavDestination() { Stack() { - // 启动闪屏全屏背景(白底 + 金色 logo,docs/Res/LaunchImage) - Image($r('app.media.launch_image')) - .width('100%') - .height('100%') - .objectFit(ImageFit.Cover) + // 与系统启动窗一致:白底 + 居中同一个 startIcon(Stack 默认居中,位置/尺寸对齐系统图标) + Image($r('app.media.startIcon')) + .width('38%') + .objectFit(ImageFit.Contain) // 启动进度/公告叠加在底部(深色文字,白底可见) Column({ space: 14 }) { if (this.blocked === '') { @@ -112,6 +113,7 @@ export struct SplashPage { } .width('100%') .height('100%') + .backgroundColor(Color.White) } .hideTitleBar(true) }