diff --git a/src/components/video/VideoCard.vue b/src/components/video/VideoCard.vue new file mode 100644 index 0000000..617ee14 --- /dev/null +++ b/src/components/video/VideoCard.vue @@ -0,0 +1,160 @@ + + + + + {{ video.duration }} + + + + + + + {{ video.title }} + + {{ formatNumber(video.views) }}次观看 + {{ formatDate(video.date) }} + + + + + + + + + 添加到播放列表 + 分享 + 举报 + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/video/VideoGrid.vue b/src/components/video/VideoGrid.vue new file mode 100644 index 0000000..0059627 --- /dev/null +++ b/src/components/video/VideoGrid.vue @@ -0,0 +1,27 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/views/VideoPlayView.vue b/src/views/VideoPlayView.vue new file mode 100644 index 0000000..d0b038f --- /dev/null +++ b/src/views/VideoPlayView.vue @@ -0,0 +1,326 @@ + + + + + + + + + + + {{ currentVideo.title }} + + {{ formatNumber(currentVideo.views) }}次观看 + {{ formatDate(currentVideo.date) }} + + + + + {{ formatNumber(currentVideo.likes) }} + + + 收藏 + + 分享 + + + + {{ currentVideo.description }} + + + + + + 评论 ({{ comments.length }}) + + + 发表评论 + + + + + + + + {{ comment.username }} + {{ formatDate(comment.date) }} + + {{ comment.content }} + + + {{ comment.likes }} + + 回复 + + + + + + + + + + 推荐视频 + + + + + + + + + + \ No newline at end of file
{{ comment.content }}
评论 ({{ comments.length }})
+{{ comment.content }}
+