提交 页面闪动问题和 个人页 球友的改动

This commit is contained in:
张成
2025-11-08 13:46:01 +08:00
parent 615c7cb718
commit 45fd8c5daa
7 changed files with 16 additions and 11 deletions

View File

@@ -321,7 +321,7 @@ export const UserInfoCard: React.FC<UserInfoCardProps> = ({
<Text className="stat_number">
{user_info.stats?.followers_count || 0}
</Text>
<Text className="stat_label"></Text>
<Text className="stat_label"></Text>
</View>
<View className="stat_item">
<Text className="stat_number">

View File

@@ -3,5 +3,6 @@ export default definePageConfig({
enablePullDownRefresh: true,
backgroundTextStyle: 'dark',
navigationStyle: 'custom',
backgroundColor: '#FAFAFA',
onReachBottomDistance: 300,
})

View File

@@ -78,7 +78,7 @@
}
.listPage {
background-color: #fefefe;
background-color: #FAFAFA;
font-family: "PingFang SC";
.listTopSearchWrapper {

View File

@@ -1,5 +1,5 @@
export default definePageConfig({
navigationBarTitleText: '球友',
navigationBarTitleText: '粉丝',
navigationStyle: 'custom',
enablePullDownRefresh: false,
backgroundColor: '#FAFAFA'

View File

@@ -240,7 +240,7 @@ const FollowPage: React.FC = () => {
<View className="navbar_back" onClick={() => Taro.navigateBack()}>
<View className="back_icon" />
</View>
<Text className="navbar_title"></Text>
<Text className="navbar_title"></Text>
<View className="navbar_action">
<View className="action_icon" />
</View>

View File

@@ -6,6 +6,7 @@
position: relative;
overflow-y: auto;
box-sizing: border-box;
background-color: #FAFAFA;
&::-webkit-scrollbar {
display: none;

View File

@@ -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 {