From e7a47cf2dfca0529edc3835fa96d5f4e1671894f Mon Sep 17 00:00:00 2001 From: Hakadao Date: Fri, 13 Oct 2023 18:45:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20add=20horizontal=20style=20in=20`VideoC?= =?UTF-8?q?ard`=20*=20fix:=20=E4=BF=AE=E6=AD=A3=E6=BB=91=E5=8B=95=E5=88=B0?= =?UTF-8?q?=E5=BD=B1=E7=89=87=E5=8D=A1=E7=89=87hover=E6=95=88=E6=9E=9C?= =?UTF-8?q?=E6=9C=89=E6=99=82=E6=9C=83=E5=87=BA=E7=8F=BE=E8=A2=AB=E8=A3=81?= =?UTF-8?q?=E5=88=87=E5=95=8F=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoCard.vue | 99 ++++++++++++++++++++++++++---------- 1 file changed, 73 insertions(+), 26 deletions(-) diff --git a/src/components/VideoCard.vue b/src/components/VideoCard.vue index fe73faac..cdcdab46 100644 --- a/src/components/VideoCard.vue +++ b/src/components/VideoCard.vue @@ -7,6 +7,7 @@ const props = defineProps<{ duration?: number durationStr?: string title: string + desc?: string cover: string author?: string authorFace?: string @@ -20,6 +21,7 @@ const props = defineProps<{ bvid?: string aid?: number isFollowed?: boolean + horizontal?: boolean }>() const videoUrl = computed(() => { @@ -134,9 +136,8 @@ function handelMouseLeave() {
@@ -176,9 +177,12 @@ function handelMouseLeave() {
-
+
+
-