mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
fix postercard
This commit is contained in:
@@ -35,8 +35,8 @@ const getImgUrl = computed(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// 跳转播放
|
// 跳转播放
|
||||||
function goPlay() {
|
function goPlay(isHovering = false) {
|
||||||
if (props.media?.link)
|
if (props.media?.link && isHovering)
|
||||||
window.open(props.media?.link, '_blank')
|
window.open(props.media?.link, '_blank')
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -53,7 +53,7 @@ function goPlay() {
|
|||||||
'transition transform-cpu duration-300 scale-105 shadow-lg': hover.isHovering,
|
'transition transform-cpu duration-300 scale-105 shadow-lg': hover.isHovering,
|
||||||
'ring-1': isImageLoaded,
|
'ring-1': isImageLoaded,
|
||||||
}"
|
}"
|
||||||
@click.stop="goPlay"
|
@click.stop="goPlay(hover.isHovering)"
|
||||||
>
|
>
|
||||||
<VImg
|
<VImg
|
||||||
aspect-ratio="2/3"
|
aspect-ratio="2/3"
|
||||||
|
|||||||
Reference in New Issue
Block a user