From 0fa0dd5b2268fd5cdef11b3f8f13896e5a99a023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Sat, 15 Nov 2025 10:29:03 +0800 Subject: [PATCH] 1 --- src/user_pages/downloadBill/index.scss | 11 +++++++++-- src/user_pages/edit/index.scss | 1 - src/user_pages/follow/index.scss | 4 +++- src/user_pages/other/index.scss | 14 ++++++++++---- src/user_pages/other/index.tsx | 5 ++++- src/user_pages/wallet/index.scss | 4 +++- 6 files changed, 29 insertions(+), 10 deletions(-) diff --git a/src/user_pages/downloadBill/index.scss b/src/user_pages/downloadBill/index.scss index 16f7e51..c36983c 100644 --- a/src/user_pages/downloadBill/index.scss +++ b/src/user_pages/downloadBill/index.scss @@ -2,11 +2,18 @@ // 个人页面样式 .download_bill_page { - min-height: 100vh; + height: 100vh; position: relative; - overflow: hidden; + overflow-y: auto; box-sizing: border-box; + &::-webkit-scrollbar { + display: none; + width: 0; + height: 0; + color: transparent; + } + .custom-navbar { height: 56px; /* 通常与原生导航栏高度一致 */ diff --git a/src/user_pages/edit/index.scss b/src/user_pages/edit/index.scss index d15dc52..16e5ca6 100644 --- a/src/user_pages/edit/index.scss +++ b/src/user_pages/edit/index.scss @@ -125,7 +125,6 @@ flex: 1; margin-top: 98px; box-sizing: border-box; - overflow-y: auto; padding: 0px 16px; padding-bottom: 48px; diff --git a/src/user_pages/follow/index.scss b/src/user_pages/follow/index.scss index 40eadc7..c7db401 100644 --- a/src/user_pages/follow/index.scss +++ b/src/user_pages/follow/index.scss @@ -1,9 +1,11 @@ // 球友关注页面样式 .follow_page { - min-height: 100vh; + height: 100vh; + position: relative; display: flex; flex-direction: column; background-color: #FAFAFA; + overflow: hidden; // 导航栏内容 .navbar_content { diff --git a/src/user_pages/other/index.scss b/src/user_pages/other/index.scss index 521e265..e236ccb 100644 --- a/src/user_pages/other/index.scss +++ b/src/user_pages/other/index.scss @@ -1,8 +1,8 @@ // 他人用户页面样式 .other_user_page { - min-height: 100vh; + height: 100vh; position: relative; - // overflow: hidden; + overflow-y: auto; box-sizing: border-box; background: radial-gradient( circle at 50% 0, @@ -12,6 +12,13 @@ /* 到 200px 变成白色 */ #fafafa 100% /* 200px 以下全白 */ ); + &::-webkit-scrollbar { + display: none; + width: 0; + height: 0; + color: transparent; + } + // 导航栏内容 .navbar_content { display: flex; @@ -64,9 +71,8 @@ position: relative; z-index: 5; flex: 1; - margin-top: 11px; + margin-top: 0; box-sizing: border-box; - overflow-y: auto; padding-bottom: 15px; // 用户信息区域 diff --git a/src/user_pages/other/index.tsx b/src/user_pages/other/index.tsx index cfdeb34..a99f44b 100644 --- a/src/user_pages/other/index.tsx +++ b/src/user_pages/other/index.tsx @@ -237,7 +237,10 @@ const OtherUserPage: React.FC = () => { }} /> {/* 主要内容 */} - + {/* 用户信息区域 */}