diff --git a/app/src/main/ets/pages/system/SchemePage.ets b/app/src/main/ets/pages/system/SchemePage.ets index 1617635..6363f4b 100644 --- a/app/src/main/ets/pages/system/SchemePage.ets +++ b/app/src/main/ets/pages/system/SchemePage.ets @@ -1,15 +1,25 @@ +import { TitleBar } from '@devwiki/common_ui/Index'; import { common, Want } from '@kit.AbilityKit'; @Component @Entry export struct SchemePage { - - - build() { + Column() { + TitleBar({ + title: 'SchemePage', + onLeftClicked: () => { + this.getUIContext().getRouter().back() + } + }) + + Button("Open").width(120).height(36).onClick(() => { + this.openScheme() + }).margin({ top: 48 }) + } } - openHttp() { + openScheme() { let context = getContext(this) as common.UIAbilityContext; let wantInfo: Want = { uri: 'https://devwiki.net'