新增题库页面和学习统计页面的框架,并写成组件
This commit is contained in:
15
entry/src/main/ets/components/HomeContent.ets
Normal file
15
entry/src/main/ets/components/HomeContent.ets
Normal file
@@ -0,0 +1,15 @@
|
||||
@Component
|
||||
export struct HomeContent {
|
||||
build() {
|
||||
Column() {
|
||||
Text('首页')
|
||||
.fontSize(20)
|
||||
.fontWeight(FontWeight.Bold)
|
||||
.fontColor('#333333')
|
||||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
.justifyContent(FlexAlign.Center)
|
||||
.alignItems(HorizontalAlign.Center)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user