From 926575d6e60137d13a8223fc138d662c48b14762 Mon Sep 17 00:00:00 2001 From: QMZ <1164250597@qq.com> Date: Sun, 22 Dec 2024 15:32:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=AF=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/community/PostCard.vue | 4 +-- src/views/community/Postform.vue | 5 ++-- src/views/community/trends.vue | 46 ++++++++++++++++++++++++-------- 3 files changed, 40 insertions(+), 15 deletions(-) diff --git a/src/views/community/PostCard.vue b/src/views/community/PostCard.vue index 0432b027..61ce2794 100644 --- a/src/views/community/PostCard.vue +++ b/src/views/community/PostCard.vue @@ -19,8 +19,8 @@ -
-
-
- +
+
@@ -123,15 +123,38 @@
-
- -
{{ story.username }}
-
{{ story.content }}
-
+ style="margin-top: 20px; display: flex; justify-content: center; flex-direction: column; gap: 10px;"> +
+ +
+ {{ story.username }} +
+
+ {{ story.content }} +
+
+
@@ -161,7 +184,7 @@ checkPostsindex: 0, checkPosts: [], page: 1, - userid: 1, + userid:getUserId(), totalPages: 1, familystoriespage: 0, checkfamilystories: [], @@ -184,6 +207,7 @@ // 在组件实例创建时调用 this.loadData(); + },