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

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"> <Text className="stat_number">
{user_info.stats?.followers_count || 0} {user_info.stats?.followers_count || 0}
</Text> </Text>
<Text className="stat_label"></Text> <Text className="stat_label"></Text>
</View> </View>
<View className="stat_item"> <View className="stat_item">
<Text className="stat_number"> <Text className="stat_number">

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,14 +1,16 @@
// 他人用户页面样式 // 他人用户页面样式
.other_user_page { .other_user_page {
min-height: 100vh; min-height: 100vh;
background: radial-gradient(
circle at 50% 0%,
rgba(238, 255, 220, 1) 0%,
rgba(255, 255, 255, 1) 37%
);
position: relative; position: relative;
// overflow: hidden; // overflow: hidden;
box-sizing: border-box; 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 { .custom-navbar {
@@ -17,7 +19,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
// background-color: #fff; background: transparent;
color: #000; color: #000;
padding-top: 44px; padding-top: 44px;
/* 适配状态栏 */ /* 适配状态栏 */
@@ -25,7 +27,6 @@
top: 0; top: 0;
z-index: 100; z-index: 100;
overflow: hidden; overflow: hidden;
// background-color: rgb(238, 255, 220);
} }
.detail-navigator { .detail-navigator {
@@ -54,12 +55,14 @@
// 主要内容区域 // 主要内容区域
.main_content { .main_content {
position: relative; position: relative;
z-index: 5; z-index: 5;
flex: 1; flex: 1;
margin-top: 0; margin-top: 0;
box-sizing: border-box; box-sizing: border-box;
overflow-y: auto; overflow-y: auto;
padding: 15px 15px 15px; padding: 15px 15px 15px;
padding-top: 98px;
// 用户信息区域 // 用户信息区域
.user_info_section { .user_info_section {