From bd9987d600f1724a195bcc6875fcd558171a5d23 Mon Sep 17 00:00:00 2001 From: ovo Date: Sun, 8 Dec 2024 17:00:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E8=B5=B7=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/VideoView.vue | 47 ++++++++++++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 12 deletions(-) diff --git a/src/views/VideoView.vue b/src/views/VideoView.vue index e28d045..49f9c1e 100644 --- a/src/views/VideoView.vue +++ b/src/views/VideoView.vue @@ -25,7 +25,8 @@
- + +
- - {{ formatDuration(video.duration) }} + + {{ formatDuration(video.duration || 0) }}

{{ video.title }}

@@ -45,11 +49,11 @@
- {{ formatNumber(video.viewCount) }} + {{ formatNumber(video.viewCount || 0) }} - {{ formatNumber(video.likeCount) }} + {{ formatNumber(video.likeCount || 0) }} {{ formatDate(video.createdTime) }}
@@ -80,8 +84,8 @@ - -