187 lines
2.6 KiB
Plaintext
187 lines
2.6 KiB
Plaintext
/* 我的页面样式 */
|
|
.container {
|
|
min-height: 100vh;
|
|
background: #f5f5f5;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
/* 用户信息 */
|
|
.user-section {
|
|
background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
|
|
padding: 60rpx 40rpx 80rpx;
|
|
}
|
|
|
|
.user-section-unlogin {
|
|
padding-bottom: 80rpx;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.user-avatar {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
border-radius: 60rpx;
|
|
border: 4rpx solid rgba(255, 255, 255, 0.3);
|
|
background: #fff;
|
|
}
|
|
|
|
.user-detail {
|
|
margin-left: 30rpx;
|
|
flex: 1;
|
|
}
|
|
|
|
.user-name {
|
|
display: block;
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.user-desc {
|
|
font-size: 26rpx;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
/* 积分显示 */
|
|
.points-box {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 30rpx;
|
|
padding: 20rpx 24rpx;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 12rpx;
|
|
}
|
|
|
|
.points-label {
|
|
font-size: 26rpx;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.points-value {
|
|
flex: 1;
|
|
text-align: right;
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
margin-right: 10rpx;
|
|
}
|
|
|
|
.points-arrow {
|
|
font-size: 32rpx;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
/* 统计信息 */
|
|
.stats-section {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
background: #fff;
|
|
margin: -40rpx 30rpx 0;
|
|
padding: 30rpx 0;
|
|
border-radius: 16rpx;
|
|
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.stat-num {
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
color: #4CAF50;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
margin-top: 8rpx;
|
|
}
|
|
|
|
.stat-divider {
|
|
width: 1rpx;
|
|
height: 60rpx;
|
|
background: #eee;
|
|
}
|
|
|
|
/* 功能列表 */
|
|
.menu-section {
|
|
background: #fff;
|
|
margin: 30rpx;
|
|
border-radius: 16rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.menu-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 30rpx;
|
|
border-bottom: 1rpx solid #f5f5f5;
|
|
background: #fff;
|
|
}
|
|
|
|
.menu-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* 分享按钮样式重置 */
|
|
.menu-btn {
|
|
all: unset;
|
|
|
|
}
|
|
|
|
.menu-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.menu-left {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.menu-icon {
|
|
width: 44rpx;
|
|
height: 44rpx;
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.menu-icon-emoji {
|
|
font-size: 40rpx;
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.menu-text {
|
|
font-size: 30rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.menu-arrow {
|
|
font-size: 32rpx;
|
|
color: #ccc;
|
|
}
|
|
|
|
.menu-extra {
|
|
font-size: 26rpx;
|
|
color: #4CAF50;
|
|
}
|
|
|
|
/* 版权信息 */
|
|
.copyright {
|
|
text-align: center;
|
|
padding: 40rpx 0;
|
|
}
|
|
|
|
.copyright text {
|
|
font-size: 24rpx;
|
|
color: #ccc;
|
|
}
|