未验证 提交 296b8dad 编写于 作者: L luoying_ace 提交者: Gitee

update zh-cn/application-dev/reference/arkui-ts/ts-container-tabs.md.

Signed-off-by: Nluoying_ace <luoying19@huawei.com>
上级 cf4f1e0f
...@@ -112,12 +112,17 @@ struct TabsExample { ...@@ -112,12 +112,17 @@ struct TabsExample {
Column().width('100%').height('100%').backgroundColor(Color.Green) Column().width('100%').height('100%').backgroundColor(Color.Green)
}.tabBar('green') }.tabBar('green')
} }
.vertical(true).scrollable(true).barMode(BarMode.Fixed) .vertical(true)
.barWidth(70).barHeight(150).animationDuration(400) .scrollable(true)
.barMode(BarMode.Fixed)
.barWidth(70)
.barHeight(150)
.animationDuration(400)
.onChange((index: number) => { .onChange((index: number) => {
console.info(index.toString()) console.info(index.toString())
}) })
.width('90%').backgroundColor(0xF5F5F5) .width('90%')
.backgroundColor(0xF5F5F5)
}.width('100%').height(150).margin({ top: 5 }) }.width('100%').height(150).margin({ top: 5 })
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册