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
wuyanan
2024-08-06 10:41:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6f606a025a98086119af51fa99739a303ea93424
6f606a02
1 parent
4d8dc22b
ref |> 修复单个视频播放页返回按钮不容易点击问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
sight_harmony/features/wdComponent/src/main/ets/pages/VideoPlayPage.ets
sight_harmony/features/wdComponent/src/main/ets/pages/VideoPlayPage.ets
View file @
6f606a0
...
...
@@ -18,6 +18,8 @@ export struct VideoPlayPage {
@State currentTime: string = ''
@State totalTime: string = ''
@State progressVal: number = 0;
@Provide topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0
aboutToAppear(): void {
let par: Action = router.getParams() as Action
...
...
@@ -65,26 +67,27 @@ export struct VideoPlayPage {
Row() {
Image($r('app.media.icon_arrow_left_white'))
.width(24)
.height(24)
.aspectRatio(1)
.interpolation(ImageInterpolation.High)
.margin({
right: 10
})
.onClick(() => {
router.back()
})
}
.width('100%')
.alignItems(VerticalAlign.Center)
.margin({
bottom: 10
})
.margin({ top: `${this.topSafeHeight}px` })
}.width('100%')
.padding({
top: 20,
bottom: 6,
left: 10,
right: 10
})
// .padding({
// top: 20,
// bottom: 6,
// left: 10,
// right: 10
// })
.alignItems(HorizontalAlign.Start)
}
...
...
Please
register
or
login
to post a comment