Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -76,6 +76,7 @@ export struct PageComponent { | @@ -76,6 +76,7 @@ export struct PageComponent { | ||
| 76 | onActionEnd(this.pageModel, this.pageAdvModel) | 76 | onActionEnd(this.pageModel, this.pageAdvModel) |
| 77 | }) | 77 | }) |
| 78 | ) | 78 | ) |
| 79 | + .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP]) | ||
| 79 | 80 | ||
| 80 | } | 81 | } |
| 81 | 82 |
| @@ -126,7 +126,6 @@ export struct VideoChannelPage { | @@ -126,7 +126,6 @@ export struct VideoChannelPage { | ||
| 126 | .width('100%') | 126 | .width('100%') |
| 127 | 127 | ||
| 128 | .justifyContent(FlexAlign.Center) | 128 | .justifyContent(FlexAlign.Center) |
| 129 | - .backgroundColor(this.currentTopNavSelectedIndex === 0 ? Color.Transparent : Color.White) | ||
| 130 | 129 | ||
| 131 | // 搜索按钮 | 130 | // 搜索按钮 |
| 132 | Row() { | 131 | Row() { |
| @@ -180,7 +179,7 @@ export struct VideoChannelPage { | @@ -180,7 +179,7 @@ export struct VideoChannelPage { | ||
| 180 | channelId: item.channelId + '', | 179 | channelId: item.channelId + '', |
| 181 | autoRefresh: this.autoRefresh | 180 | autoRefresh: this.autoRefresh |
| 182 | }) | 181 | }) |
| 183 | - .margin({ top: 40 }) | 182 | + .padding({ top: 40 }) |
| 184 | .backgroundColor(Color.White) | 183 | .backgroundColor(Color.White) |
| 185 | } | 184 | } |
| 186 | }, (item: TopNavDTO) => item.channelId + '') | 185 | }, (item: TopNavDTO) => item.channelId + '') |
-
Please register or login to post a comment