/* 用户中心页面样式 */ .user-container { display: flex; flex-direction: column; min-height: 100vh; background-color: #f5f5f5; padding: 20rpx; } /* 用户信息卡片 */ .user-card { background: white; border-radius: 20rpx; padding: 40rpx; margin-bottom: 20rpx; box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1); 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: #333; margin-bottom: 10rpx; } .user-id { display: block; font-size: 24rpx; color: #999; margin-bottom: 10rpx; } .status-text { display: block; font-size: 24rpx; color: #07c160; font-weight: 500; } /* 用户统计 */ .user-stats { display: flex; justify-content: space-around; padding-top: 30rpx; border-top: 1rpx solid #f0f0f0; } .stat-item { display: flex; flex-direction: column; align-items: center; } .stat-number { font-size: 40rpx; font-weight: bold; color: #07c160; margin-bottom: 10rpx; } .stat-label { font-size: 24rpx; color: #666; } /* 菜单区域 */ .menu-section { background: white; border-radius: 20rpx; margin-bottom: 20rpx; box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1); overflow: hidden; } .menu-title { font-size: 32rpx; font-weight: bold; color: #333; padding: 30rpx 30rpx 20rpx; border-bottom: 1rpx solid #f0f0f0; } .menu-list { padding: 0; } .menu-item { display: flex; align-items: center; padding: 30rpx; border-bottom: 1rpx solid #f0f0f0; transition: background-color 0.3s; } .menu-item:last-child { border-bottom: none; } .menu-item:active { background-color: #f8f8f8; } .menu-icon { width: 40rpx; height: 40rpx; margin-right: 20rpx; opacity: 0.7; } .menu-text { flex: 1; font-size: 28rpx; color: #333; } .menu-badge { background: #dd524d; color: white; font-size: 20rpx; padding: 4rpx 12rpx; border-radius: 20rpx; margin-right: 20rpx; min-width: 32rpx; text-align: center; } .menu-arrow { font-size: 32rpx; color: #999; } /* 系统信息 */ .system-info { background: white; border-radius: 20rpx; padding: 30rpx; margin-bottom: 20rpx; box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1); } .info-item { display: flex; justify-content: space-between; align-items: center; padding: 20rpx 0; border-bottom: 1rpx solid #f0f0f0; } .info-item:last-child { border-bottom: none; } .info-label { font-size: 28rpx; color: #666; } .info-value { font-size: 28rpx; color: #333; font-weight: 500; } /* 操作按钮 */ .action-buttons { display: flex; gap: 20rpx; margin-top: auto; padding-top: 40rpx; } .action-btn { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 30rpx 20rpx; border: none; border-radius: 20rpx; font-size: 24rpx; transition: all 0.3s ease; min-height: 120rpx; } .action-btn.primary { background: linear-gradient(135deg, #07c160 0%, #06a050 100%); color: white; } .action-btn.secondary { background: linear-gradient(135deg, #17a2b8 0%, #138496 100%); color: white; } .action-btn.danger { background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); color: white; } .action-btn:active { transform: scale(0.98); } .action-btn image { width: 40rpx; height: 40rpx; margin-bottom: 10rpx; filter: brightness(0) invert(1); }