opt: 视频详情页Hero动画

This commit is contained in:
guozhigq
2024-05-26 15:48:28 +08:00
parent 319b717eb9
commit fe9d6c76d2

View File

@ -612,18 +612,16 @@ class _VideoDetailPageState extends State<VideoDetailPage>
child: videoPlayerPanel, child: videoPlayerPanel,
), ),
/// 关闭自动播放时 手动播放 /// 关闭自动播放时 手动播放
Obx( Obx(
() => Visibility( () => Visibility(
visible: !vdCtr.autoPlay.value && visible: !vdCtr.autoPlay.value &&
vdCtr.isShowCover.value, vdCtr.isShowCover.value,
child: Positioned( child: Positioned(
top: 0, top: 0,
left: 0, left: 0,
right: 0, right: 0,
child: handlePlayPanel(), child: handlePlayPanel(),
),
),
), ),
], ],
), ),