添加Layout页面
This commit is contained in:
16
common_ui/src/main/ets/pages/layout/LinearLayoutPage.ets
Normal file
16
common_ui/src/main/ets/pages/layout/LinearLayoutPage.ets
Normal 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%')
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user