From 45fd8c5daa1b0b995d42c22d9cb422954a405ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Sat, 8 Nov 2025 13:46:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=20=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=97=AA=E5=8A=A8=E9=97=AE=E9=A2=98=E5=92=8C=20=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E9=A1=B5=20=E7=90=83=E5=8F=8B=E7=9A=84=E6=94=B9?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UserInfo/index.tsx | 2 +- src/game_pages/list/index.config.ts | 1 + src/game_pages/list/index.module.scss | 2 +- src/user_pages/follow/index.config.ts | 2 +- src/user_pages/follow/index.tsx | 2 +- src/user_pages/myself/index.scss | 1 + src/user_pages/other/index.scss | 17 ++++++++++------- 7 files changed, 16 insertions(+), 11 deletions(-) diff --git a/src/components/UserInfo/index.tsx b/src/components/UserInfo/index.tsx index a71cab5..72cce14 100644 --- a/src/components/UserInfo/index.tsx +++ b/src/components/UserInfo/index.tsx @@ -321,7 +321,7 @@ export const UserInfoCard: React.FC = ({ {user_info.stats?.followers_count || 0} - 球友 + 粉丝 diff --git a/src/game_pages/list/index.config.ts b/src/game_pages/list/index.config.ts index 2292231..a197496 100644 --- a/src/game_pages/list/index.config.ts +++ b/src/game_pages/list/index.config.ts @@ -3,5 +3,6 @@ export default definePageConfig({ enablePullDownRefresh: true, backgroundTextStyle: 'dark', navigationStyle: 'custom', + backgroundColor: '#FAFAFA', onReachBottomDistance: 300, }) diff --git a/src/game_pages/list/index.module.scss b/src/game_pages/list/index.module.scss index 528c071..d5d43cc 100644 --- a/src/game_pages/list/index.module.scss +++ b/src/game_pages/list/index.module.scss @@ -78,7 +78,7 @@ } .listPage { - background-color: #fefefe; + background-color: #FAFAFA; font-family: "PingFang SC"; .listTopSearchWrapper { diff --git a/src/user_pages/follow/index.config.ts b/src/user_pages/follow/index.config.ts index 51b9da5..a327412 100644 --- a/src/user_pages/follow/index.config.ts +++ b/src/user_pages/follow/index.config.ts @@ -1,5 +1,5 @@ export default definePageConfig({ - navigationBarTitleText: '球友', + navigationBarTitleText: '粉丝', navigationStyle: 'custom', enablePullDownRefresh: false, backgroundColor: '#FAFAFA' diff --git a/src/user_pages/follow/index.tsx b/src/user_pages/follow/index.tsx index 49bcccb..73860e8 100644 --- a/src/user_pages/follow/index.tsx +++ b/src/user_pages/follow/index.tsx @@ -240,7 +240,7 @@ const FollowPage: React.FC = () => { Taro.navigateBack()}> - 球友 + 粉丝 diff --git a/src/user_pages/myself/index.scss b/src/user_pages/myself/index.scss index dd53c71..b8a2419 100644 --- a/src/user_pages/myself/index.scss +++ b/src/user_pages/myself/index.scss @@ -6,6 +6,7 @@ position: relative; overflow-y: auto; box-sizing: border-box; + background-color: #FAFAFA; &::-webkit-scrollbar { display: none; diff --git a/src/user_pages/other/index.scss b/src/user_pages/other/index.scss index 2cac1a7..076db5a 100644 --- a/src/user_pages/other/index.scss +++ b/src/user_pages/other/index.scss @@ -1,14 +1,16 @@ // 他人用户页面样式 .other_user_page { min-height: 100vh; - background: radial-gradient( - circle at 50% 0%, - rgba(238, 255, 220, 1) 0%, - rgba(255, 255, 255, 1) 37% - ); position: relative; // overflow: hidden; box-sizing: border-box; + background: radial-gradient( + circle at 50% 0, + /* 光晕圆心在顶部中间 */ rgba(191, 255, 239, 0.9) 0px, + /* 中间更深的浅蓝 */ rgba(191, 255, 239, 0.5) 200px, + /* 100px 处开始淡化 */ #fafafa 300px, + /* 到 200px 变成白色 */ #fafafa 100% /* 200px 以下全白 */ + ); } .custom-navbar { @@ -17,7 +19,7 @@ display: flex; align-items: center; justify-content: center; - // background-color: #fff; + background: transparent; color: #000; padding-top: 44px; /* 适配状态栏 */ @@ -25,7 +27,6 @@ top: 0; z-index: 100; overflow: hidden; - // background-color: rgb(238, 255, 220); } .detail-navigator { @@ -54,12 +55,14 @@ // 主要内容区域 .main_content { position: relative; + z-index: 5; flex: 1; margin-top: 0; box-sizing: border-box; overflow-y: auto; padding: 15px 15px 15px; + padding-top: 98px; // 用户信息区域 .user_info_section {