diff --git a/src/views/manage/post.vue b/src/views/manage/post.vue index 00054fb..2718b52 100644 --- a/src/views/manage/post.vue +++ b/src/views/manage/post.vue @@ -170,6 +170,12 @@ + @@ -558,6 +564,14 @@ const searchPostsList = async() => { } } } + + .el-pagination { + height: 50px; + margin-top: -25px; + background-color: #fff; + display: flex; + justify-content: center; + } } } } diff --git a/src/views/posts/comment.vue b/src/views/posts/comment.vue index 123dddd..5a24571 100644 --- a/src/views/posts/comment.vue +++ b/src/views/posts/comment.vue @@ -83,13 +83,15 @@
- 共 {{ getPages(commentBlock.replyList.total) }} 页 - + 共 {{ getPages(commentBlock.replyList.total) }} 页 +
共{{commentBlock.replyList.total}}条回复 查看更多 @@ -107,6 +109,13 @@
+ @@ -316,7 +325,6 @@ const submitComment = async (subjectId: string,rootId: string, fatherId: string, margin-bottom: 20px; display: flex; - .image { width: 40px; height: 40px; @@ -415,6 +423,16 @@ const submitComment = async (subjectId: string,rootId: string, fatherId: string, } } } + + .more-comment { + height: 100px; + } + } + + .el-pagination { + display: flex; + justify-content: center; + margin-top: 20px; } } } @@ -422,7 +440,6 @@ const submitComment = async (subjectId: string,rootId: string, fatherId: string, .pagination-container { display: flex; align-items: center; /* 垂直居中 */ - justify-content: space-between; /* 元素之间的空间平均分配 */ width: 100%; /* 或根据实际需要调整宽度 */ } diff --git a/src/views/posts/post.vue b/src/views/posts/post.vue index 45c54f0..22a89c5 100644 --- a/src/views/posts/post.vue +++ b/src/views/posts/post.vue @@ -267,6 +267,8 @@ const changePost = async (nowPostId: string) => { .post { width: 1000px; margin: 0 30px; + margin-bottom: 10px; + .information { position: fixed;