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(); + },