deciceTypes整改

Signed-off-by: fanchenxuan <fanchenxuan@huawei.com>
This commit is contained in:
fanchenxuan 2022-09-20 14:41:40 +08:00
parent f5b27099af
commit 33982336ec
7 changed files with 212 additions and 613 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
/node_modules
/local.properties
/.idea
**/build
**/build
/.hvigor

View File

@ -21,15 +21,16 @@
"description": "$string:entry_desc",
"mainElement": "MainAbility",
"deviceTypes": [
"phone"
"default"
],
"deliveryWithInstall": true,
"installationFree": false,
"pages": "$profile:main_pages",
"uiSyntax": "ets",
"abilities": [
{
"name": "MainAbility",
"startWindowBackground": '$color:default_background_color',
"startWindowIcon": "$media:icon",
"srcEntrance": "./ets/MainAbility/MainAbility.ts",
"description": "$string:MainAbility_desc",
"icon": "$media:icon",

View File

@ -0,0 +1,8 @@
{
"color": [
{
"name": "default_background_color",
"value": "#ffffff"
}
]
}

798
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -11,8 +11,9 @@
"repository":{},
"version":"1.0.0",
"dependencies":{
"@ohos/hvigor-ohos-plugin":"1.0.6",
"@ohos/hvigor-ohos-plugin": "1.2.2",
"hypium":"^1.0.0",
"@ohos/hvigor":"1.0.6"
"@ohos/hvigor": "1.2.2",
"@ohos/hypium": "1.0.2"
}
}

View File

@ -526,7 +526,6 @@ struct authorityManagementPage {
.height(Constants.FULL_HEIGHT)
.width(Constants.FULL_WIDTH)
.backgroundColor($r("sys.color.ohos_id_color_sub_background"))
.opacity(Constants.MANAGEMENT_TRANSPARENCY)
}
}
}

View File

@ -8,15 +8,16 @@
"description": "$string:permissionmanager_desc",
"mainElement": "MainAbility",
"deviceTypes": [
"phone"
"default"
],
"deliveryWithInstall": true,
"installationFree": false,
"pages": "$profile:main_pages",
"uiSyntax": "ets",
"abilities": [
{
"name": "com.ohos.permissionmanager.MainAbility",
"startWindowBackground": "$color:default_background_color",
"startWindowIcon": "$media:icon",
"srcEntrance": "./ets/MainAbility/MainAbility.ts",
"description": "$string:MainAbility_desc",
"icon": "$media:icon",