Files
2026-09-15 17:18:15 +08:00

247 lines
3.6 KiB
Plaintext

/** 我的:大号头像 + 衬线昵称 + 四栏额度条 + 纯发丝线分组列表 **/
.page-flex {
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.scroll-body {
flex: 1;
height: 0;
}
.pf-hero {
display: flex;
align-items: center;
gap: 32rpx;
padding: 48rpx var(--pad) 0;
}
.pf-av {
width: 144rpx;
height: 144rpx;
border-radius: 50%;
flex-shrink: 0;
overflow: hidden;
background: var(--paper-3);
color: var(--ink-3);
display: flex;
align-items: center;
justify-content: center;
}
.pf-av .icon {
width: 62rpx;
height: 62rpx;
}
.pf-av-img {
width: 100%;
height: 100%;
}
.pf-info {
min-width: 0;
flex: 1;
}
.pf-name {
font-family: var(--serif);
font-size: 46rpx;
font-weight: 500;
letter-spacing: -.005em;
line-height: 1.2;
}
.pf-sub {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
margin-top: 20rpx;
}
.pf-edit {
margin-left: auto;
display: flex;
align-items: center;
gap: 2rpx;
font-size: 25rpx;
color: var(--ink-3);
flex-shrink: 0;
}
.pf-edit .icon {
width: 24rpx;
height: 24rpx;
}
/* 额度提醒:浅填充提示条,不依赖彩色 */
.pf-warn {
margin: 44rpx var(--pad) 0;
padding: 26rpx 30rpx;
border-radius: var(--r-ctrl);
background: var(--fill);
display: flex;
align-items: center;
gap: 20rpx;
font-size: 25rpx;
line-height: 1.55;
}
.pf-warn .icon {
width: 32rpx;
height: 32rpx;
flex-shrink: 0;
color: var(--ink-2);
}
.pf-warn-t {
flex: 1;
}
.pf-quota {
display: block;
width: 100%;
margin-top: 48rpx;
}
.pf-quota-hd {
display: flex;
align-items: center;
gap: 16rpx;
padding: 0 var(--pad) 26rpx;
}
.pf-quota-hd .qk {
font-size: 26rpx;
font-weight: 600;
}
.pf-quota-hd .icon {
width: 24rpx;
height: 24rpx;
color: var(--ink-4);
margin-left: auto;
}
.pf-grp {
margin-top: 68rpx;
}
.pf-ver {
padding: 52rpx 0 12rpx;
text-align: center;
font-size: 22rpx;
color: var(--ink-4);
letter-spacing: .06em;
}
/* ===== 编辑资料抽屉 ===== */
.avatar-wrap {
position: relative;
width: 160rpx;
height: 160rpx;
margin: 16rpx auto 0;
border-radius: 50%;
background: var(--paper-3);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
color: var(--ink-3);
}
.avatar-wrap .avatar-img {
width: 100%;
height: 100%;
}
.avatar-wrap .avatar-placeholder {
width: 72rpx;
height: 72rpx;
}
.avatar-btn {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
border: 0;
background: transparent;
opacity: 0;
}
.avatar-btn::after {
border: none;
}
.avatar-tip {
text-align: center;
font-size: 22rpx;
color: var(--ink-3);
margin: 16rpx 0 24rpx;
}
.form-field {
display: flex;
align-items: center;
padding: 24rpx var(--pad);
border-bottom: 1rpx solid var(--hairline);
}
.form-label {
width: 140rpx;
font-size: 28rpx;
color: var(--ink-2);
flex-shrink: 0;
}
.form-input {
flex: 1;
height: auto;
background: transparent;
padding: 0;
font-size: 30rpx;
}
.form-value {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 30rpx;
}
.form-arrow {
width: 26rpx;
height: 26rpx;
color: var(--ink-4);
}
/* 性别:行内两选一胶囊(选中实心黑,零彩色) */
.sex-pick {
flex: 1;
display: flex;
gap: 16rpx;
}
.sex-pill {
height: 60rpx;
padding: 0 40rpx;
border-radius: var(--r-pill);
background: var(--fill);
color: var(--ink-2);
font-size: 26rpx;
display: flex;
align-items: center;
transition: background .18s var(--ease), color .18s var(--ease);
}
.sex-pill.is-on {
background: var(--ink);
color: #fff;
}