diff --git a/src/components/Comment.vue b/src/components/Comment.vue new file mode 100644 index 00000000..9b4262eb --- /dev/null +++ b/src/components/Comment.vue @@ -0,0 +1,47 @@ + + + \ No newline at end of file diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index 650fce65..70a1153e 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -80,33 +80,7 @@ v-bind:key="comment.commentId" v-for="comment in comments.comments" > -
-
-   Pinned by - {{ video.uploader }} -
- avatar -
- - {{ comment.author }} -
-

{{ comment.commentText }}

-
- {{ numberFormat(comment.likeCount) }} -   - -   - -
-
+ @@ -128,6 +102,7 @@ import Player from "@/components/Player.vue"; import VideoItem from "@/components/VideoItem.vue"; import ErrorHandler from "@/components/ErrorHandler.vue"; +import Comment from "@/components/Comment.vue"; export default { name: "App", @@ -269,6 +244,7 @@ export default { Player, VideoItem, ErrorHandler, + Comment }, };