Commit 7b02a1bb by 毛勇泽

设置图标

parent b4e7748d
......@@ -81,7 +81,7 @@ struct MainPage {
.width($r('app.float.main_image_size'))
.height($r('app.float.main_image_size'))
Text(button.title)
.fontColor(this.currentPageIndex === button.index ? '#e92f4f' : Color.Black)
.fontColor(this.currentPageIndex === button.index ? '#19ac88' : Color.Black)
.opacity(this.currentPageIndex === button.index ? StyleConstants.FULL_OPACITY : StyleConstants.SIXTY_OPACITY)
.fontWeight(StyleConstants.FONT_WEIGHT_FIVE)
.textAlign(TextAlign.Center)
......
......@@ -7,11 +7,12 @@ struct SplashPage {
build() {
Row() {
Column() {
Image($rawfile("await/await1.png"))
Image($rawfile("await/await.png"))
.objectFit(ImageFit.Contain)
}
.width('100%')
}
.height("100%")
}.width('100%')
.height('100%')
}
aboutToAppear() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论