|
|
@@ -4,6 +4,15 @@ const config: CapacitorConfig = {
|
|
|
appId: 'com.kym.washadmin',
|
|
|
appName: '自助洗车运营管理',
|
|
|
webDir: 'dist/app',
|
|
|
+ plugins: {
|
|
|
+ // Capacitor 8 内置 SystemBars:状态栏/手势条 inset 处理
|
|
|
+ SystemBars: {
|
|
|
+ // index.html 已含 viewport-fit=cover,提前声明避免首帧布局偏移
|
|
|
+ initialViewportFitValueHint: 'cover',
|
|
|
+ // App 固定浅色主题:状态栏用深色图标(不随系统深色模式翻转)
|
|
|
+ style: 'LIGHT',
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
|
|
|
export default config;
|