添加Layout页面

This commit is contained in:
2024-04-07 20:10:10 +08:00
parent aa78ceba6a
commit c1387d9104
6 changed files with 171 additions and 20 deletions

View File

@@ -0,0 +1,16 @@
@Entry
@Component
struct LinearLayoutPage {
@State space: number = 10;
build() {
Column({ space: this.space }) {
Text(`space:${this.space}`)
Row().width('90%')
Row().width('90%')
Row().width('90%')
}
}
}