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
wangliang_wd
2024-10-16 11:06:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f75075f963e3be3c8343cce8be9efc3f48978f54
f75075f9
1 parent
c0e64964
feat:优化沉浸式视频首次打开时,关闭手势提示时,不滑动问题
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/VideoChannelDetail.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/pages/VideoChannelDetail.ets
View file @
f75075f
...
...
@@ -390,9 +390,6 @@ export struct VideoChannelDetail {
.height('100%')
.visibility(this.isMouted && this.GestureLoadStrategy == 0 ? Visibility.Visible : Visibility.Hidden)
.backgroundColor('rgba(0, 0, 0, 0.50)')
.onTouch(() => {
this.GestureLoadStrategy = 1
})
// 手势动画 初次进入显示
if(this.isMouted && this.GestureLoadStrategy == 0) {
LottieView({
...
...
@@ -409,5 +406,12 @@ export struct VideoChannelDetail {
.width('100%')
.height('100%')
.backgroundColor('#000000')
.onTouch(() => {
if (this.isMouted && this.GestureLoadStrategy == 0) {
///解决首次加载动画滑动切换问题
this.GestureLoadStrategy = 1
this.swiperController.showNext()
}
})
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment