From 9d083ce44acef6730990eef15ab78fea10b065df Mon Sep 17 00:00:00 2001 From: Hakadao Date: Tue, 7 Mar 2023 02:12:43 +0800 Subject: [PATCH] feat: add comment content in video page * style(main.scss, reset.scss): remove useless styles --- src/contentScripts/views/Video/Video.vue | 93 ++++++++++++++++-------- src/contentScripts/views/Video/types.ts | 2 +- src/styles/main.scss | 66 +++++++++-------- src/styles/reset.scss | 1 - 4 files changed, 102 insertions(+), 60 deletions(-) diff --git a/src/contentScripts/views/Video/Video.vue b/src/contentScripts/views/Video/Video.vue index 2a0f0895..c3aec272 100644 --- a/src/contentScripts/views/Video/Video.vue +++ b/src/contentScripts/views/Video/Video.vue @@ -1,15 +1,16 @@ @@ -137,33 +138,67 @@ function getVideoComments() { {{ videoInfo.title }}

-
-
- -
-

- {{ videoInfo.owner?.name }} -

- - +
+
+
+ +
+

+ {{ videoInfo.owner?.name }} +

+ + +
-
+
+
-
- +
    -
  • +
  • +
    + +
    +
    +

    + {{ comment.member.uname }} +

    +
    + {{ comment.content.message }} +
      +
    • +
      + +
      +

      + {{ reply.member.uname }} +

      +

      {{ reply.content.message }}

      +
    • +
    +
    +
    +
+