mirror of
https://gitee.com/openharmony/applications_app_samples
synced 2024-11-26 18:20:47 +00:00
错误修改
Signed-off-by: l-l <liuxiaobofight@163.com>
This commit is contained in:
parent
24ff62f00b
commit
6b07a7df8a
@ -15,8 +15,8 @@
|
||||
|
||||
{
|
||||
"app": {
|
||||
"bundleName": "com.example.formSample",
|
||||
"vendor": "example",
|
||||
"bundleName": "com.samples.formSample",
|
||||
"vendor": "samples",
|
||||
"versionCode": 1000000,
|
||||
"versionName": "1.0.0",
|
||||
"icon": "$media:app_icon",
|
||||
|
@ -66,7 +66,7 @@ entry/src/main/ets/
|
||||
|
||||
1.本示例仅支持标准系统上运行,支持设备:RK3568。
|
||||
|
||||
2.本示例为Stage模型,支持API11版本SDK,SDK版本号(API Version 12 Release)。
|
||||
2.本示例为Stage模型,支持API12版本SDK,SDK版本号(API Version 12 Release)。
|
||||
|
||||
3.本示例需要使用DevEco Studio版本号(DevEco Studio 5.0.0 Release)及以上版本才可编译运行。
|
||||
|
||||
|
@ -29,7 +29,7 @@ export default struct AddFormByMenu {
|
||||
Menu() {
|
||||
AddFormMenuItem(
|
||||
{
|
||||
bundleName: 'com.example.formSample', // 包名
|
||||
bundleName: 'com.samples.formSample', // 包名
|
||||
abilityName: 'EntryFormAbility', // 模块ability名称
|
||||
parameters: {
|
||||
'ohos.extra.param.key.form_dimension': 2,
|
||||
@ -79,6 +79,7 @@ export default struct AddFormByMenu {
|
||||
}
|
||||
.backgroundImage($r("app.media.CardEvent"))
|
||||
.backgroundImageSize(ImageSize.Cover)
|
||||
.id(this.compId)
|
||||
.width(200)
|
||||
.height(200)
|
||||
.borderRadius(10)
|
||||
|
@ -45,11 +45,11 @@ struct WidgetCard {
|
||||
Row() {
|
||||
Column() {
|
||||
Text(this.city_value)
|
||||
.fontSize($r('app.float.font_size'))
|
||||
.fontSize($r('app.string.font_size'))
|
||||
.fontWeight(FontWeight.Medium)
|
||||
.fontColor($r('app.color.item_title_font'))
|
||||
Text(this.time_value)
|
||||
.fontSize($r('app.float.font_size'))
|
||||
.fontSize($r('app.string.font_size'))
|
||||
.fontWeight(FontWeight.Medium)
|
||||
.fontColor($r('app.color.item_title_font'))
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ export default function abilityTest() {
|
||||
let abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator();
|
||||
try {
|
||||
await abilityDelegator.startAbility({
|
||||
bundleName: 'com.example.formSample',
|
||||
bundleName: 'com.samples.formSample',
|
||||
abilityName: 'EntryAbility'
|
||||
});
|
||||
} catch (exception) {
|
||||
|
@ -29,7 +29,7 @@ export default struct AddFormByMenu {
|
||||
Menu() {
|
||||
AddFormMenuItem(
|
||||
{
|
||||
bundleName: 'com.example.formSample', // 包名
|
||||
bundleName: 'com.samples.formSample', // 包名
|
||||
abilityName: 'EntryAbility', // 模块ability名称
|
||||
parameters: {
|
||||
'ohos.extra.param.key.form_dimension': 2,
|
||||
|
Loading…
Reference in New Issue
Block a user