feat: 调整样式
This commit is contained in:
+38
-41
@@ -344,8 +344,10 @@
|
||||
border-bottom-left-radius: 48rpx;
|
||||
border-bottom-right-radius: 48rpx;
|
||||
box-shadow: 0 8rpx 30rpx rgba(0,0,0,0.02);
|
||||
margin-bottom: 24rpx;
|
||||
margin-bottom: 0;
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
z-index: 102;
|
||||
}
|
||||
|
||||
.user-main {
|
||||
@@ -385,6 +387,32 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.user-sun-days {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16rpx;
|
||||
background: rgba(255,255,255,0.6);
|
||||
padding: 4rpx 16rpx;
|
||||
border-radius: 20rpx;
|
||||
align-self: flex-start;
|
||||
border: 1rpx solid rgba(0,0,0,0.05);
|
||||
}
|
||||
|
||||
.sun-days-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6rpx;
|
||||
font-size: 22rpx;
|
||||
color: #555;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.sun-days-divider {
|
||||
width: 2rpx;
|
||||
height: 18rpx;
|
||||
background: #DDD;
|
||||
}
|
||||
|
||||
.settings-btn {
|
||||
padding: 16rpx;
|
||||
}
|
||||
@@ -408,46 +436,7 @@
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.stats-section {
|
||||
padding: 0 32rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Stats Card */
|
||||
.stats-card {
|
||||
display: flex;
|
||||
background: #fff;
|
||||
padding: 40rpx 0;
|
||||
border-radius: 32rpx;
|
||||
box-shadow: 0 8rpx 24rpx rgba(0,0,0,0.02);
|
||||
margin-bottom: 32rpx;
|
||||
}
|
||||
|
||||
.stat-item {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 8rpx;
|
||||
}
|
||||
|
||||
.stat-num {
|
||||
font-size: 40rpx;
|
||||
font-weight: 800;
|
||||
color: #374151;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 24rpx;
|
||||
color: #9CA3AF;
|
||||
}
|
||||
|
||||
.stat-divider {
|
||||
width: 2rpx;
|
||||
height: 60%;
|
||||
background: #F3F4F6;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
/* Profile Menu */
|
||||
.profile-menu {
|
||||
@@ -460,7 +449,15 @@
|
||||
font-size: 26rpx;
|
||||
color: #9CA3AF;
|
||||
font-weight: 600;
|
||||
margin-left: 12rpx;
|
||||
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
background: #F4F6F0;
|
||||
|
||||
/* negative margin to cover side padding of parent */
|
||||
margin: 0 -32rpx;
|
||||
padding: 44rpx 32rpx 16rpx 44rpx; /* 32rpx padding + 12rpx visual indent */
|
||||
}
|
||||
|
||||
.menu-item {
|
||||
|
||||
Reference in New Issue
Block a user