Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
王士厅
2024-09-25 18:03:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
79aaecf330528d06633cf7470b1123d92a33f2d3
79aaecf3
1 parent
3ffcfc8a
fix: 点播视频返回按钮位置偏低,已上调
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/view/EmptyComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/EmptyComponent.ets
View file @
79aaecf
...
...
@@ -65,6 +65,8 @@ export struct EmptyComponent {
@State timeNum: number = 10
///占位图上是否显示返回按钮
@State showBackButton: boolean = true
@State bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0
/**
* The empty image width percentage setting.
*/
...
...
@@ -114,6 +116,7 @@ export struct EmptyComponent {
Stack({alignContent:Alignment.Bottom}) {
this.noProgrammeData();
if (this.showBackButton) {
Column(){
Image($r("app.media.icon_arrow_left_white"))
.width(24)
.height(24)
...
...
@@ -121,10 +124,18 @@ export struct EmptyComponent {
router.back();
})
.position({
bottom: 15
,
bottom: 16
,
left: 16
})
}
.height(56)
.width('100%')
.justifyContent(FlexAlign.Center)
.alignItems(HorizontalAlign.Start)
.margin({
bottom: px2vp(this.bottomSafeHeight)
})
}
}
}
...
...
Please
register
or
login
to post a comment