修复个人页问题

This commit is contained in:
张成
2025-11-08 14:28:06 +08:00
parent c6ca2269f9
commit 40ea0f2eed
5 changed files with 65 additions and 53 deletions

View File

@@ -11,43 +11,50 @@
/* 100px 处开始淡化 */ #fafafa 300px,
/* 到 200px 变成白色 */ #fafafa 100% /* 200px 以下全白 */
);
}
.custom-navbar {
height: 56px;
/* 通常与原生导航栏高度一致 */
display: flex;
align-items: center;
justify-content: center;
background: transparent;
color: #000;
padding-top: 44px;
/* 适配状态栏 */
position: sticky;
top: 0;
z-index: 100;
overflow: hidden;
}
.detail-navigator {
height: 30px;
width: 80px;
border-radius: 15px;
position: absolute;
left: 12px;
box-sizing: border-box;
display: flex;
align-items: center;
.detail-navigator-back {
height: 32px;
width: 50%;
// 导航栏内容
.navbar_content {
display: flex;
justify-content: center;
justify-content: space-between;
align-items: center;
width: 100%;
height: 44px;
& > .detail-navigator-back-icon {
.navbar_back {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
margin-left: 10px;
cursor: pointer;
.back_icon {
height: 16px;
width: 8px;
background: url("../../static/userInfo/back_icon.svg") no-repeat center;
background-size: contain;
}
}
.navbar_title {
font-family: PingFang SC;
font-weight: 600;
font-size: 20px;
line-height: 28px;
letter-spacing: 1.9%;
color: #000000;
position: absolute;
left: 50px;
}
.navbar_action {
display: flex;
align-items: center;
justify-content: center;
width: 83px;
height: 30px;
margin-right: 7px;
}
}
}
@@ -55,14 +62,12 @@
// 主要内容区域
.main_content {
position: relative;
z-index: 5;
flex: 1;
margin-top: 0;
margin-top: 11px;
box-sizing: border-box;
overflow-y: auto;
padding: 15px 15px 15px;
padding-top: 98px;
// 用户信息区域
.user_info_section {