提交 f771c190 编写于 作者: Z zhouke

测试用例执行顺序调整.hap包切成arkui新框架stage模型 .Signed-off-by: <zhouke35@huawei.com>.

Signed-off-by: Nzhouke <zhouke35@huawei.com>
上级 fc5fab07
......@@ -38,12 +38,12 @@ struct ScrollExample {
.type(ButtonType.Capsule)
.margin({ top: 20 })
.onClick(() => {
router.push({ uri: 'pages/second' })
router.push({ uri: 'MainAbility/pages/second' })
})
.gesture(
LongPressGesture({ repeat: false })
.onAction((event: GestureEvent) => {
router.push({ uri: 'pages/fourth' })
router.push({ uri: 'MainAbility/pages/fourth' })
})
)
Button() {
......@@ -56,7 +56,7 @@ struct ScrollExample {
.gesture(
TapGesture({ count: 1 })
.onAction(() => {
router.push({ uri: 'pages/third' })
router.push({ uri: 'MainAbility/pages/third' })
})
)
Button() {
......@@ -67,12 +67,12 @@ struct ScrollExample {
.type(ButtonType.Capsule)
.margin({ top: 20 })
.onClick(() => {
router.push({ uri: 'pages/screen' })
router.push({ uri: 'MainAbility/pages/screen' })
})
.gesture(
LongPressGesture({ repeat: false })
.onAction((event: GestureEvent) => {
router.push({ uri: 'pages/drag' })
router.push({ uri: 'MainAbility/pages/drag' })
})
)
Checkbox({ name: 'hi' })
......@@ -103,7 +103,7 @@ struct ScrollExample {
top: 20, left: 150
})
.onClick(() => {
router.push({ uri: 'pages/second' })
router.push({ uri: 'MainAbility/pages/second' })
})
}.width('100%')
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册