未验证 提交 6023af7d 编写于 作者: L LiAn 提交者: Gitee

update zh-cn/application-dev/ui/ui-ts-layout-grid-container-new.md.

Signed-off-by: NLiAn <lian15@huawei.com>
Signed-off-by: NLiAn <lian15@huawei.com>
上级 8306f493
......@@ -83,7 +83,7 @@ GridRow({
}
}) {
Row() {
Text(${index})
Text(`${index}`)
}.width("100%").height("50vp")
}.backgroundColor(color)
})
......@@ -264,7 +264,7 @@ GridCol组件作为GridRow组件的子组件,通过给GridCol传参或者设
ForEach(this.bgColors, (color, index) => {
GridCol({ span: 2 }) {
Row() {
Text(${index})
Text(`${index}`)
}.width("100%").height("50vp")
}
.backgroundColor(color)
......@@ -281,7 +281,7 @@ GridCol组件作为GridRow组件的子组件,通过给GridCol传参或者设
ForEach(this.bgColors, (color, index) => {
GridCol({ span: { xs: 1, sm: 2, md: 3, lg: 4 } }) {
Row() {
Text(${index})
Text(`${index}`)
}.width("100%").height("50vp")
}
.backgroundColor(color)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册