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-06-20 14:37:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1357fd69ca5b658630cfe5dcc247cba1953036bf
1357fd69
1 parent
67132589
fix: 18883 功能缺陷-【uat】 进入视频详情,点击全屏按钮,进入全屏,按住进度条不放,会自动消失,android不消失,看图
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerFullScreenView.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerFullScreenView.ets
View file @
1357fd6
...
...
@@ -142,6 +142,16 @@ export struct PlayerFullScreenView {
.margin({ left: 16, right: 8 })
PlayerProgressFullScreenView({ playerController: this.playerController }).layoutWeight(1)
.onTouch((event?: TouchEvent) => {
if (event) {
if (event.type === TouchType.Down) {
clearInterval(this.timer)
}
if (event.type === TouchType.Up) {
this.restartTimer();
}
}
})
Text(DateTimeUtils.secondToTime(this.videoDuration))
.fontSize(12)
...
...
Please
register
or
login
to post a comment