From 35ada7f2b722e214cc6c22d1a787d000abc8c132 Mon Sep 17 00:00:00 2001 From: rekirt Date: Mon, 13 Oct 2025 09:28:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9demo=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E5=85=A5=E5=8F=A3=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entry/src/main/ets/entryability/EntryAbility.ets | 12 ------------ WaterFlowSample/entry/src/main/ets/pages/Index.ets | 3 ++- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/WaterFlowSample/entry/src/main/ets/entryability/EntryAbility.ets b/WaterFlowSample/entry/src/main/ets/entryability/EntryAbility.ets index f4a3f755..4931ab1f 100644 --- a/WaterFlowSample/entry/src/main/ets/entryability/EntryAbility.ets +++ b/WaterFlowSample/entry/src/main/ets/entryability/EntryAbility.ets @@ -39,18 +39,6 @@ export default class EntryAbility extends UIAbility { hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); let path = 'pages/Index'; - path = 'pages/ForceShowOnTopLeftPage'; - path = 'pages/MergeDoubleWaterFlowPage'; - path = 'pages/ZoomChangeColumnPage'; - path = 'pages/FlowItemAutoPlayPage'; - path = 'pages/StickOnTopPage'; - path = 'pages/SectionOptionsUsePage'; - path = 'pages/DataUpadteAndAnimationPage'; - path = 'pages/FadingEdgePage'; - path = 'pages/ElementByOrderPage' - path = 'pages/DataLoadMorePage'; - path = 'pages/FlowItemRmoveAnimationPage'; - windowStage.loadContent(path, (err) => { if (err.code) { hilog.error(DOMAIN, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err)); diff --git a/WaterFlowSample/entry/src/main/ets/pages/Index.ets b/WaterFlowSample/entry/src/main/ets/pages/Index.ets index e92c9301..3248f64f 100644 --- a/WaterFlowSample/entry/src/main/ets/pages/Index.ets +++ b/WaterFlowSample/entry/src/main/ets/pages/Index.ets @@ -20,8 +20,9 @@ struct Index { build() { Column() { - + Text('×î¼Ñʵ¼ùÅäÌ×¹¤³Ì') } + .alignItems(HorizontalAlign.Center) .height('100%') .width('100%') } -- Gitee