提交 页面闪动问题和 个人页 球友的改动
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -3,5 +3,6 @@ export default definePageConfig({
|
||||
enablePullDownRefresh: true,
|
||||
backgroundTextStyle: 'dark',
|
||||
navigationStyle: 'custom',
|
||||
backgroundColor: '#FAFAFA',
|
||||
onReachBottomDistance: 300,
|
||||
})
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
}
|
||||
|
||||
.listPage {
|
||||
background-color: #fefefe;
|
||||
background-color: #FAFAFA;
|
||||
font-family: "PingFang SC";
|
||||
|
||||
.listTopSearchWrapper {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '球友',
|
||||
navigationBarTitleText: '粉丝',
|
||||
navigationStyle: 'custom',
|
||||
enablePullDownRefresh: false,
|
||||
backgroundColor: '#FAFAFA'
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
box-sizing: border-box;
|
||||
background-color: #FAFAFA;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user