修正个人中心入口展示

This commit is contained in:
2026-07-24 18:45:17 +08:00
parent 32924f8e36
commit 3857065262
4 changed files with 89 additions and 48 deletions
+23 -26
View File
@@ -1,6 +1,6 @@
.profile-page {
min-height: 100vh;
padding: 20rpx 24rpx 156rpx;
padding: 18rpx 24rpx 156rpx;
background:
linear-gradient(180deg, rgba(253, 249, 242, 0.98), rgba(248, 244, 237, 0.98)),
linear-gradient(135deg, rgba(116, 148, 130, 0.12), rgba(230, 205, 160, 0.1));
@@ -20,7 +20,7 @@
align-items: center;
gap: 24rpx;
min-width: 0;
padding: 34rpx 30rpx 26rpx;
padding: 38rpx 30rpx 28rpx;
}
.hero-avatar {
@@ -28,8 +28,8 @@
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 128rpx;
height: 128rpx;
width: 136rpx;
height: 136rpx;
overflow: hidden;
border: 4rpx solid rgba(255, 255, 255, 0.86);
border-radius: 50%;
@@ -152,7 +152,7 @@
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
border-top: 1rpx solid rgba(103, 131, 105, 0.1);
background: rgba(255, 255, 255, 0.62);
background: rgba(255, 255, 255, 0.7);
}
.stat-item {
@@ -160,7 +160,8 @@
flex-direction: column;
align-items: center;
min-width: 0;
padding: 22rpx 10rpx 24rpx;
min-height: 138rpx;
padding: 20rpx 10rpx 18rpx;
border-right: 1rpx solid rgba(103, 131, 105, 0.1);
}
@@ -172,8 +173,8 @@
display: flex;
align-items: center;
justify-content: center;
width: 34rpx;
height: 34rpx;
width: 38rpx;
height: 38rpx;
margin-bottom: 8rpx;
border-radius: 50%;
background: #6d9878;
@@ -217,12 +218,12 @@
}
.menu-section {
margin-top: 34rpx;
margin-top: 32rpx;
}
.section-title {
display: block;
margin: 0 8rpx 16rpx;
margin: 0 8rpx 18rpx;
color: #302b26;
font-size: 28rpx;
font-weight: 900;
@@ -232,16 +233,16 @@
.menu-card {
overflow: hidden;
border-radius: 8px;
background: rgba(255, 255, 255, 0.86);
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 12rpx 30rpx rgba(65, 54, 42, 0.06);
}
.menu-row {
display: flex;
align-items: center;
gap: 20rpx;
min-height: 92rpx;
padding: 14rpx 24rpx;
gap: 22rpx;
min-height: 86rpx;
padding: 10rpx 24rpx;
border-bottom: 1rpx solid #eee8df;
}
@@ -249,20 +250,16 @@
border-bottom: 0;
}
.menu-row.disabled {
opacity: 0.58;
}
.menu-mark {
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 46rpx;
height: 46rpx;
border-radius: 12rpx;
background: #e8f3e9;
color: #63936c;
width: 50rpx;
height: 50rpx;
border-radius: 14rpx;
background: #e6f3e8;
color: #5f936d;
font-size: 23rpx;
font-weight: 900;
line-height: 1;
@@ -284,13 +281,13 @@
.menu-title {
color: #2f2a25;
font-size: 28rpx;
font-size: 27rpx;
font-weight: 800;
line-height: 1.25;
}
.menu-desc {
margin-top: 6rpx;
margin-top: 5rpx;
color: #938b82;
font-size: 22rpx;
line-height: 1.2;
@@ -308,7 +305,7 @@
align-items: center;
justify-content: center;
width: 100%;
min-height: 86rpx;
min-height: 84rpx;
margin-top: 34rpx;
border-radius: 8px;
background: rgba(255, 255, 255, 0.9);