commit | c0f7e9b98ccae929a8c8b0d25f40aa48f5c8ce1d | [log] [tgz] |
---|---|---|
author | Krishya <2271857550@qq.com> | Tue Apr 22 15:28:28 2025 +0800 |
committer | Krishya <2271857550@qq.com> | Tue Apr 22 15:28:28 2025 +0800 |
tree | 959a2d12a5e408ca2e53cc50a3f63e2c29c6c353 | |
parent | 25590de2dd9f9abfa55b937bf7f0806dfbf3048f [diff] |
修改个人中心、发布种子、兴趣小组 Change-Id: I73caa8ef511ad9ae12a0cc49fc0edb5ccb0b2a74
diff --git a/src/pages/Forum/posts-main/ForumPage.css b/src/pages/Forum/posts-main/ForumPage.css index aa0a5c3..db3a654 100644 --- a/src/pages/Forum/posts-main/ForumPage.css +++ b/src/pages/Forum/posts-main/ForumPage.css
@@ -1,6 +1,6 @@ .forum-page { color: #fff; - background-color: #4A3B34; + background-color: #5F4437; min-height: 100vh; font-family: Arial, sans-serif; } @@ -17,7 +17,7 @@ .post-card { text-decoration: none; /* 移除链接的下划线 */ - background-color: #4A3B34; + background-color: #5F4437; padding: 15px; border-radius: 10px; position: relative;
diff --git a/src/pages/Forum/posts-main/ForumPage.jsx b/src/pages/Forum/posts-main/ForumPage.jsx index bf2aa63..577d336 100644 --- a/src/pages/Forum/posts-main/ForumPage.jsx +++ b/src/pages/Forum/posts-main/ForumPage.jsx
@@ -18,8 +18,7 @@ <Header /> <div className="toolbar"> <CreatePostButton /> - <SearchBar onSearch={handleSearch} /> - + <SearchBar onSearch={handleSearch} /> </div> <PostList search={searchQuery} /> </div>
diff --git a/src/pages/Forum/posts-main/components/PostList.css b/src/pages/Forum/posts-main/components/PostList.css index 59533ff..ee4d951 100644 --- a/src/pages/Forum/posts-main/components/PostList.css +++ b/src/pages/Forum/posts-main/components/PostList.css
@@ -5,6 +5,9 @@ padding: 30px; } +.post-actions { + justify-content: flex-end; /*靠右对齐*/ +} .post-card { background-color: #e9ded2; border: 1px solid #000000;