mirror of
https://gitee.com/openharmony/applications_launcher
synced 2025-02-11 02:36:57 +00:00
commit
a5ea8bd667
@ -9,6 +9,7 @@
|
||||
"distributedNotificationEnabled": true,
|
||||
"keepAlive": true,
|
||||
"minAPIVersion": 8,
|
||||
"targetAPIVersion": 9
|
||||
"targetAPIVersion": 9,
|
||||
"userDataClearable": false
|
||||
}
|
||||
}
|
||||
|
@ -272,7 +272,7 @@ struct settingDialog {
|
||||
}
|
||||
}
|
||||
.backgroundColor(Color.White)
|
||||
.opacity(0.85)
|
||||
.opacity(1)
|
||||
.width('100%')
|
||||
.padding({
|
||||
bottom: StyleConstants.DEFAULT_24
|
||||
|
@ -21,4 +21,5 @@ export default class StyleConstants {
|
||||
static readonly DEFAULT_MARGIN_SIZE = 82;
|
||||
static readonly DEFAULT_NUMBER_0 = 0;
|
||||
static readonly DEFAULT_APP_TOP_RATIO = 24;
|
||||
static readonly DEFAULT_BG_COLOR = '#00000000';
|
||||
}
|
@ -24,10 +24,10 @@ import { SettingsModel } from '@ohos/common';
|
||||
import { LayoutViewModel } from '@ohos/common';
|
||||
import { SmartDock } from '@ohos/smartdock';
|
||||
import { PageDesktopLayout } from '@ohos/pagedesktop';
|
||||
import { PageDesktopDragHandler } from '@ohos/pagedesktop';
|
||||
import { BigFolderConstants } from '@ohos/bigfolder';
|
||||
import { FolderOpenComponent } from '@ohos/bigfolder';
|
||||
import PadStage from '../common/PadStage';
|
||||
import StyleConstants from '../common/constants/StyleConstants';
|
||||
|
||||
const RAW_IMAGE_CACHE_SIZE = 20000000;
|
||||
const TAG = 'EntryView';
|
||||
@ -56,6 +56,9 @@ struct EntryView {
|
||||
|
||||
this.registerPageDesktopNavigatorStatusChangeEvent(this.mLocalEventListener);
|
||||
this.navigationBarStatus = SettingsModel.getInstance().getValue();
|
||||
|
||||
// set window background color transparent
|
||||
setAppBgColor(StyleConstants.DEFAULT_BG_COLOR);
|
||||
}
|
||||
|
||||
registerPageDesktopNavigatorStatusChangeEvent(listener): void {
|
||||
@ -178,9 +181,6 @@ struct EntryView {
|
||||
|
||||
FolderOpenComponent();
|
||||
}
|
||||
.backgroundImage('/common/pics/img_wallpaper_default.jpg')
|
||||
.backgroundImageSize(ImageSize.Cover)
|
||||
.backgroundImagePosition(Alignment.Center)
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
}
|
||||
|
@ -20,4 +20,5 @@ export default class StyleConstants {
|
||||
static readonly DEFAULT_APP_NAME_HEIGHT = 95;
|
||||
static readonly DEFAULT_APP_TOP_RATIO = 0;
|
||||
static readonly DEFAULT_NUMBER_0 = 0;
|
||||
static readonly DEFAULT_BG_COLOR = '#00000000';
|
||||
}
|
@ -61,6 +61,9 @@ struct EntryView {
|
||||
|
||||
this.registerPageDesktopNavigatorStatusChangeEvent(this.mLocalEventListener);
|
||||
this.navigationBarStatus = SettingsModel.getInstance().getValue();
|
||||
|
||||
// set window background color transparent
|
||||
setAppBgColor(StyleConstants.DEFAULT_BG_COLOR);
|
||||
}
|
||||
|
||||
registerPageDesktopNavigatorStatusChangeEvent(listener): void {
|
||||
@ -146,9 +149,6 @@ struct EntryView {
|
||||
}
|
||||
FolderOpenComponent();
|
||||
}
|
||||
.backgroundImage(StyleConstants.DEFAULT_BACKGROUND_IMAGE)
|
||||
.backgroundImageSize(ImageSize.Cover)
|
||||
.backgroundImagePosition(Alignment.Center)
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user