wangliang_wd

feat:优化沉浸式视频首次打开时,关闭手势提示时,不滑动问题

... ... @@ -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
... ...