hku-class/miniprogram/pages/member-detail/index.wxss
2026-05-16 23:59:13 +08:00

142 lines
2.4 KiB
Plaintext

.member-profile-hero {
display: flex;
align-items: center;
gap: 26rpx;
padding: 34rpx;
border: 1rpx solid rgba(107, 31, 43, 0.12);
border-radius: 34rpx;
background: linear-gradient(145deg, #fffaf3 0%, #f1e4d4 100%);
box-shadow: 0 18rpx 48rpx rgba(68, 39, 27, 0.08);
}
.member-profile-avatar {
display: flex;
align-items: center;
justify-content: center;
width: 112rpx;
height: 112rpx;
flex: none;
border-radius: 34rpx;
background: linear-gradient(145deg, #6b1f2b, #d6a653);
color: #fff8ed;
font-size: 38rpx;
font-weight: 780;
}
.member-profile-main {
flex: 1;
min-width: 0;
}
.member-profile-top {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 14rpx;
}
.member-profile-name {
color: #2f211c;
font-size: 42rpx;
font-weight: 780;
line-height: 1.2;
}
.member-profile-badge {
min-height: 40rpx;
padding: 0 16rpx;
border-radius: 999rpx;
background: #d6a653;
color: #3a221d;
font-size: 22rpx;
font-weight: 760;
line-height: 40rpx;
}
.member-profile-subtitle {
margin-top: 10rpx;
color: #756458;
font-size: 25rpx;
line-height: 1.45;
}
.member-contact-card {
display: flex;
margin-top: 28rpx;
padding: 26rpx;
border-radius: 30rpx;
background: #fffcf7;
box-shadow: 0 14rpx 36rpx rgba(68, 39, 27, 0.07);
}
.contact-item {
flex: 1;
min-width: 0;
}
.contact-label,
.member-info-label {
color: #8a7b70;
font-size: 23rpx;
font-weight: 650;
}
.contact-value {
margin-top: 12rpx;
color: #2f211c;
font-size: 29rpx;
font-weight: 720;
line-height: 1.35;
word-break: break-all;
}
.contact-divider {
width: 1rpx;
margin: 0 24rpx;
background: rgba(121, 84, 54, 0.12);
}
.member-section {
margin-top: 24rpx;
padding: 28rpx;
border-radius: 28rpx;
background: rgba(255, 252, 247, 0.92);
}
.member-section-title {
color: #3a221d;
font-size: 30rpx;
font-weight: 760;
}
.member-info-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18rpx;
margin-top: 20rpx;
}
.member-info-cell {
min-height: 118rpx;
box-sizing: border-box;
padding: 20rpx;
border-radius: 22rpx;
background: #f7f0e8;
}
.member-info-value {
margin-top: 12rpx;
color: #2f211c;
font-size: 27rpx;
font-weight: 720;
line-height: 1.4;
}
.member-bio {
margin-top: 14rpx;
color: #5b493f;
font-size: 27rpx;
line-height: 1.7;
white-space: pre-wrap;
}