book-min/miniprogram/pages/profile/profile.wxss

118 lines
1.5 KiB
Plaintext
Raw Normal View History

2024-12-18 16:15:08 +08:00
.profile-page {
min-height: 100vh;
background: #f8f8f8;
padding-bottom: env(safe-area-inset-bottom);
}
/* 用户信息 */
.user-info {
background: #fff;
padding: 40rpx;
display: flex;
align-items: center;
margin-bottom: 20rpx;
}
.avatar {
width: 120rpx;
height: 120rpx;
border-radius: 60rpx;
margin-right: 30rpx;
}
.info {
flex: 1;
}
.nickname {
font-size: 32rpx;
font-weight: 500;
color: #333;
display: block;
margin-bottom: 8rpx;
}
.reading-time {
font-size: 24rpx;
color: #999;
}
/* 阅读统计 */
.stats-section {
background: #fff;
padding: 30rpx;
margin-bottom: 20rpx;
}
.stats-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30rpx;
}
.stats-header text {
font-size: 28rpx;
color: #333;
font-weight: 500;
}
.more {
font-size: 24rpx;
color: #999;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20rpx;
}
.stats-item {
text-align: center;
}
.number {
font-size: 36rpx;
color: #333;
font-weight: 500;
display: block;
margin-bottom: 8rpx;
}
.label {
font-size: 24rpx;
color: #999;
}
/* 功能列表 */
.feature-list {
background: #fff;
}
.feature-item {
display: flex;
align-items: center;
padding: 30rpx 40rpx;
border-bottom: 1rpx solid #eee;
}
.feature-item:last-child {
border-bottom: none;
}
.icon {
font-size: 36rpx;
margin-right: 20rpx;
}
.feature-item text:nth-child(2) {
flex: 1;
font-size: 28rpx;
color: #333;
}
.arrow {
font-size: 24rpx;
color: #999;
}