This commit is contained in:
lik
2026-09-03 11:35:21 +08:00
parent f8f7afceb8
commit b4c8bf0add
45 changed files with 2989 additions and 426 deletions
+106
View File
@@ -0,0 +1,106 @@
/* pages/me/index.less */
page {
background-color: #f5f6fa;
color: #1a1a2e;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.page {
min-height: 100vh;
background: #f5f6fa;
box-sizing: border-box;
padding: 24rpx;
}
/* === 用户信息卡 === */
.header-card {
background: linear-gradient(135deg, #2dd36f, #17c3a5);
border-radius: 24rpx;
padding: 40rpx 32rpx;
display: flex;
align-items: center;
color: #ffffff;
box-shadow: 0 8rpx 24rpx rgba(23, 195, 165, 0.25);
}
.avatar {
width: 112rpx;
height: 112rpx;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.25);
border: 2rpx solid rgba(255, 255, 255, 0.4);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
flex-shrink: 0;
}
.avatar-img {
width: 100%;
height: 100%;
}
.avatar-text {
font-size: 44rpx;
font-weight: 600;
color: #ffffff;
}
.user-info {
margin-left: 28rpx;
display: flex;
flex-direction: column;
}
.user-name {
font-size: 36rpx;
font-weight: 600;
}
.user-mobile {
margin-top: 10rpx;
font-size: 26rpx;
opacity: 0.9;
}
/* === 详细信息卡 === */
.info-card {
margin-top: 24rpx;
background: #ffffff;
border-radius: 24rpx;
padding: 8rpx 28rpx;
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.04);
}
.info-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 28rpx 0;
& + .info-item {
border-top: 1rpx solid #f0f1f5;
}
}
.info-left {
display: flex;
align-items: center;
}
.info-label {
margin-left: 16rpx;
font-size: 28rpx;
color: #6b7280;
}
.info-value {
font-size: 28rpx;
color: #1a1a2e;
max-width: 400rpx;
text-align: right;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}