Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -16,6 +16,7 @@ import { window } from '@kit.ArkUI'; | @@ -16,6 +16,7 @@ import { window } from '@kit.ArkUI'; | ||
| 16 | import { EmptyComponent, WDViewDefaultType } from 'wdComponent/Index'; | 16 | import { EmptyComponent, WDViewDefaultType } from 'wdComponent/Index'; |
| 17 | import { TrackConstants, TrackingPageBrowse } from 'wdTracking/Index'; | 17 | import { TrackConstants, TrackingPageBrowse } from 'wdTracking/Index'; |
| 18 | import { LottieView } from 'wdComponent/Index' | 18 | import { LottieView } from 'wdComponent/Index' |
| 19 | +import lottie from '@ohos/lottie'; | ||
| 19 | 20 | ||
| 20 | interface loadMoreData { | 21 | interface loadMoreData { |
| 21 | pageNum: number; | 22 | pageNum: number; |
| @@ -356,9 +357,10 @@ export struct VideoChannelDetail { | @@ -356,9 +357,10 @@ export struct VideoChannelDetail { | ||
| 356 | autoplay: true, | 357 | autoplay: true, |
| 357 | loop: true | 358 | loop: true |
| 358 | }) | 359 | }) |
| 359 | - .visibility(this.isMouted && this.GestureLoadStrategy == 0 ? Visibility.Visible : Visibility.Hidden) | 360 | + .visibility(this.isMouted && this.GestureLoadStrategy == 0 ? Visibility.Visible : Visibility.None) |
| 360 | .onTouch(() => { | 361 | .onTouch(() => { |
| 361 | this.GestureLoadStrategy = 1 | 362 | this.GestureLoadStrategy = 1 |
| 363 | + lottie.destroy('slider_up_view_more') | ||
| 362 | }) | 364 | }) |
| 363 | 365 | ||
| 364 | } | 366 | } |
-
Please register or login to post a comment