diff --git a/dependence/PulledUpApplication/entry/src/main/module.json5 b/dependence/PulledUpApplication/entry/src/main/module.json5 index 2d6965f3b53f5d88b80491517c5ad4f463112e2e..321db63e14e37a6a73a4a72c3366fbdf87f73e77 100644 --- a/dependence/PulledUpApplication/entry/src/main/module.json5 +++ b/dependence/PulledUpApplication/entry/src/main/module.json5 @@ -1,5 +1,7 @@ +// [Start module1] { "module": { + // [StartExclude module1] "name": "entry", "type": "entry", "description": "$string:module_desc", @@ -11,8 +13,10 @@ "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", + // [EndExclude module1] "abilities": [ { + // [StartExclude module1] "name": "EntryAbility", "srcEntry": "./ets/entryability/EntryAbility.ets", "description": "$string:EntryAbility_desc", @@ -21,15 +25,20 @@ "startWindowIcon": "$media:startIcon", "startWindowBackground": "$color:start_window_background", "exported": true, + // [EndExclude module1] "skills": [ { "entities": [ - "entity.system.browsable", + // [StartExclude module1] "entity.system.home", - "entity.system.default" + "entity.system.default", + // [EndExclude module1] + "entity.system.browsable" ], "actions": [ + // [StartExclude module1] "action.system.home", + // [EndExclude module1] "ohos.want.action.viewData", ], "uris": [ @@ -44,6 +53,7 @@ ] } ], + // [StartExclude module1] "extensionAbilities": [ { "name": "EntryBackupAbility", @@ -57,6 +67,8 @@ } ], } - ] + ], + // [EndExclude module1] } -} \ No newline at end of file +} +// [End module1] \ No newline at end of file diff --git a/entry/src/main/ets/pages/Index.ets b/entry/src/main/ets/pages/Index.ets index 27770c5ba62d73b7a8c8aa9cad20853caad20ce0..5cbafbe99c3547e00d587a091cf61222c05eec5e 100644 --- a/entry/src/main/ets/pages/Index.ets +++ b/entry/src/main/ets/pages/Index.ets @@ -134,6 +134,7 @@ struct Index { } build() { + // [Start navigation] Navigation(this.navPathStack) { Column() { Web({ @@ -149,6 +150,7 @@ struct Index { }) } } + // [End navigation] .hideTitleBar(true) .navDestination(this.PageMap) .mode(NavigationMode.Stack) diff --git a/entry/src/main/ets/pages/OriginPage.ets b/entry/src/main/ets/pages/OriginPage.ets index e16de57edc72a18f116559ed5ce3a02540240255..484e2dc7baf4580c92eb11098428b8bc39c76694 100644 --- a/entry/src/main/ets/pages/OriginPage.ets +++ b/entry/src/main/ets/pages/OriginPage.ets @@ -21,15 +21,17 @@ export struct OriginPage { @StorageProp(Constants.SYSTEM_LANGUAGE_KEY) la: string = ''; build() { + // [Start nav_dest] NavDestination() { Column() { - Button($r('app.string.back_to_web_page')) - .width(Constants.FULL_SCREEN) - .height($r('app.float.button_height')) + Button('return to the web page') + .width('100%') + .height(40) .onClick(() => { this.navPathStack.pop(); }) } + // [StartExclude nav_dest] .width(Constants.FULL_SCREEN) .height(Constants.FULL_SCREEN) .justifyContent(FlexAlign.End) @@ -39,6 +41,8 @@ export struct OriginPage { bottom: $r('app.float.space_bottom') }) } + // [EndExclude nav_dest] .title(this.la = Constants.ENGLISH_LANGUAGE ? Constants.ORIGIN_PAGE : Constants.ORIGIN_PAGE_CHINESE) + // [End nav_dest] } } \ No newline at end of file diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index 589e929bb06f47f8389d6d62c39b9b322176aeda..07b2fc35ccc8ed918d9f9cfdb0b4d740d91a9a7d 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -58,8 +58,10 @@ ], } ], + // [Start query_scheme] "querySchemes": [ "app1Scheme" - ] + ], + // [End query_scheme] } } \ No newline at end of file diff --git a/entry/src/main/resources/rawfile/index_en.html b/entry/src/main/resources/rawfile/index_en.html index f5969d848b1379263df1fda03bd1b4fdff7651a6..cd0bccff2b53e2eae681f6df91c4907c52463f1c 100644 --- a/entry/src/main/resources/rawfile/index_en.html +++ b/entry/src/main/resources/rawfile/index_en.html @@ -12,7 +12,9 @@
web and application jump and pull up