236 lines
4.0 KiB
Plaintext
236 lines
4.0 KiB
Plaintext
/* 用户中心页面 - 深色主题样式 */
|
|
.user-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
background-color: #0d0d0d;
|
|
padding: 20rpx;
|
|
}
|
|
|
|
/* 用户信息卡片 */
|
|
.user-card {
|
|
background: linear-gradient(145deg, #1e1e1e 0%, #1a1a1a 100%);
|
|
border-radius: 24rpx;
|
|
padding: 40rpx;
|
|
margin-bottom: 24rpx;
|
|
border: 2rpx solid rgba(255,255,255,0.06);
|
|
text-align: center;
|
|
}
|
|
|
|
.avatar-section {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.user-info {
|
|
margin-left: 30rpx;
|
|
text-align: left;
|
|
}
|
|
|
|
.nickname {
|
|
display: block;
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.user-id {
|
|
display: block;
|
|
font-size: 24rpx;
|
|
color: #666666;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.status-text {
|
|
display: inline-block;
|
|
font-size: 22rpx;
|
|
background-color: rgba(82,196,26,0.15);
|
|
color: #52c41a;
|
|
padding: 4rpx 16rpx;
|
|
border-radius: 12rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 用户统计 */
|
|
.user-stats {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding-top: 30rpx;
|
|
border-top: 2rpx solid rgba(255,255,255,0.06);
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 44rpx;
|
|
font-weight: bold;
|
|
color: #1677FF;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 24rpx;
|
|
color: #888888;
|
|
}
|
|
|
|
/* 菜单区域 */
|
|
.menu-section {
|
|
background: linear-gradient(180deg, #1a1a1a 0%, #161616 100%);
|
|
border-radius: 24rpx;
|
|
margin-bottom: 24rpx;
|
|
overflow: hidden;
|
|
border: 2rpx solid rgba(255,255,255,0.06);
|
|
}
|
|
|
|
.menu-title {
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
color: #999999;
|
|
padding: 28rpx 32rpx 18rpx;
|
|
letter-spacing: 2rpx;
|
|
text-transform: uppercase;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.menu-list {
|
|
padding: 0;
|
|
}
|
|
|
|
.menu-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 28rpx 32rpx;
|
|
border-bottom: 2rpx solid rgba(255,255,255,0.04);
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.menu-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.menu-item:active {
|
|
background-color: rgba(22,119,255,0.08);
|
|
}
|
|
|
|
.menu-icon {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
margin-right: 24rpx;
|
|
opacity: 0.65;
|
|
filter: brightness(0) invert(1) opacity(0.7);
|
|
}
|
|
|
|
.menu-text {
|
|
flex: 1;
|
|
font-size: 29rpx;
|
|
color: #e5e5e5;
|
|
}
|
|
|
|
.menu-badge {
|
|
background: linear-gradient(135deg, #ff4d4f, #cf1322);
|
|
color: white;
|
|
font-size: 20rpx;
|
|
padding: 4rpx 14rpx;
|
|
border-radius: 16rpx;
|
|
margin-right: 20rpx;
|
|
min-width: 32rpx;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.menu-arrow {
|
|
font-size: 34rpx;
|
|
color: #555555;
|
|
}
|
|
|
|
/* 系统信息 */
|
|
.system-info {
|
|
background: linear-gradient(180deg, #1a1a1a 0%, #161616 100%);
|
|
border-radius: 24rpx;
|
|
padding: 30rpx 32rpx;
|
|
margin-bottom: 24rpx;
|
|
border: 2rpx solid rgba(255,255,255,0.06);
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20rpx 0;
|
|
border-bottom: 2rpx solid rgba(255,255,255,0.04);
|
|
}
|
|
|
|
.info-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.info-label {
|
|
font-size: 27rpx;
|
|
color: #888888;
|
|
}
|
|
|
|
.info-value {
|
|
font-size: 27rpx;
|
|
color: #cccccc;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 操作按钮 */
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 20rpx;
|
|
margin-top: auto;
|
|
padding-top: 30rpx;
|
|
}
|
|
|
|
.action-btn {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 28rpx 16rpx;
|
|
border: none;
|
|
border-radius: 20rpx;
|
|
font-size: 24rpx;
|
|
transition: all 0.3s ease;
|
|
min-height: 120rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.action-btn.primary {
|
|
background: linear-gradient(135deg, #1677FF 0%, #0958d9 100%);
|
|
color: white;
|
|
box-shadow: 0 6rpx 20rpx rgba(22,119,255,0.3);
|
|
}
|
|
|
|
.action-btn.secondary {
|
|
background: linear-gradient(135deg, #2f2f2f 0%, #262626 100%);
|
|
color: #aaaaaa;
|
|
border: 2rpx solid rgba(255,255,255,0.08);
|
|
}
|
|
|
|
.action-btn.danger {
|
|
background: linear-gradient(135deg, #ff4d4f 0%, #cf1322 100%);
|
|
color: white;
|
|
box-shadow: 0 6rpx 20rpx rgba(255,77,79,0.3);
|
|
}
|
|
|
|
.action-btn:active {
|
|
transform: scale(0.97);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.action-btn image {
|
|
width: 38rpx;
|
|
height: 38rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|