diff --git a/src/api/topic/types/reply.ts b/src/api/topic/types/reply.ts index 818dfc54..2eb88347 100644 --- a/src/api/topic/types/reply.ts +++ b/src/api/topic/types/reply.ts @@ -22,6 +22,7 @@ export interface TopicReply { edited: number content: string upvotes: number[] + upvote_time: number likes: number[] dislikes: number[] tags: string[] diff --git a/src/views/topic/components/comment/Comments.vue b/src/views/topic/components/comment/Comments.vue index ebe34b2d..feb128c7 100644 --- a/src/views/topic/components/comment/Comments.vue +++ b/src/views/topic/components/comment/Comments.vue @@ -177,14 +177,21 @@ const handleClickReply = (uid: number, name: string) => { } .operate ul { display: flex; + justify-content: center; align-items: center; li { + display: flex; + justify-content: center; + align-items: center; margin-right: 10px; + .icon { + cursor: pointer; + color: var(--kungalgame-font-color-2); + margin-right: 2px; + } } } -.icon { - color: var(--kungalgame-font-color-2); -} + /* 单个评论 */ .text { font-size: 12px; diff --git a/src/views/topic/components/footer/Footer.vue b/src/views/topic/components/footer/Footer.vue index c55fcd1a..b903dad3 100644 --- a/src/views/topic/components/footer/Footer.vue +++ b/src/views/topic/components/footer/Footer.vue @@ -99,8 +99,8 @@ const handleClickRewrite = () => { :to-uid="masterUid" /> - -