/* pages/my/my.wxss */ .my-container { padding: 32rpx 32rpx 160rpx; background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%); } /* 用户卡片 */ .user-card { padding: 40rpx 32rpx; margin-bottom: 24rpx; border-radius: 32rpx; } .user-header { display: flex; align-items: center; margin-bottom: 32rpx; } .user-avatar { width: 120rpx; height: 120rpx; border-radius: 60rpx; margin-right: 24rpx; border: 4rpx solid rgba(255, 77, 79, 0.5); } .user-info { flex: 1; } .user-name { font-size: 36rpx; font-weight: 600; color: #ffffff; margin-bottom: 8rpx; } .user-id { font-size: 24rpx; color: rgba(255, 255, 255, 0.5); } .vip-badge { padding: 8rpx 20rpx; background: linear-gradient(135deg, #FF4D4F 0%, #FF7875 100%); border-radius: 20rpx; box-shadow: 0 4rpx 12rpx rgba(255, 77, 79, 0.4); } .vip-text { font-size: 24rpx; color: #ffffff; font-weight: 600; } /* 用户统计 */ .user-stats { display: flex; align-items: center; padding-top: 32rpx; border-top: 2rpx solid rgba(255, 255, 255, 0.1); } .stat-item { flex: 1; text-align: center; } .stat-value { font-size: 40rpx; font-weight: 700; color: #FF4D4F; margin-bottom: 8rpx; } .stat-label { font-size: 24rpx; color: rgba(255, 255, 255, 0.6); } .stat-divider { width: 2rpx; height: 60rpx; background: rgba(255, 255, 255, 0.1); } /* 分销中心 */ .referral-section { margin-bottom: 24rpx; padding: 32rpx; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32rpx; } .section-title { display: flex; align-items: center; gap: 12rpx; } .title-icon { font-size: 32rpx; } .title-text { font-size: 36rpx; font-weight: 600; color: #ffffff; } .referral-status { display: flex; align-items: center; gap: 8rpx; padding: 8rpx 20rpx; background: rgba(255, 77, 79, 0.2); border-radius: 20rpx; } .status-text { font-size: 24rpx; color: rgba(255, 255, 255, 0.7); } .status-value { font-size: 28rpx; font-weight: 700; color: #FF4D4F; } /* 收益概览 */ .earnings-overview { padding: 32rpx; background: rgba(255, 77, 79, 0.1); border-radius: 24rpx; border: 2rpx solid rgba(255, 77, 79, 0.2); margin-bottom: 24rpx; } .earnings-main { text-align: center; margin-bottom: 24rpx; } .earnings-label { font-size: 26rpx; color: rgba(255, 255, 255, 0.6); margin-bottom: 12rpx; } .earnings-amount { font-size: 64rpx; font-weight: 700; color: #FF4D4F; letter-spacing: 2rpx; } .earnings-sub { display: flex; justify-content: space-around; padding-top: 24rpx; border-top: 2rpx solid rgba(255, 255, 255, 0.1); } .sub-item { display: flex; flex-direction: column; align-items: center; gap: 8rpx; } .sub-label { font-size: 24rpx; color: rgba(255, 255, 255, 0.5); } .sub-value { font-size: 32rpx; font-weight: 600; color: #ffffff; } /* 快速操作 */ .referral-actions { display: flex; gap: 16rpx; margin-bottom: 32rpx; } .action-btn { flex: 1; font-size: 28rpx; padding: 24rpx; } /* 推广数据 */ .referral-stats { display: flex; justify-content: space-around; padding: 32rpx 0; border-top: 2rpx solid rgba(255, 255, 255, 0.1); border-bottom: 2rpx solid rgba(255, 255, 255, 0.1); margin-bottom: 24rpx; } .referral-stat-item { text-align: center; } .stat-number { font-size: 40rpx; font-weight: 700; color: #FF4D4F; margin-bottom: 8rpx; } .stat-name { font-size: 24rpx; color: rgba(255, 255, 255, 0.6); } /* 邀请码 */ .invite-code-section { padding: 24rpx; background: rgba(255, 255, 255, 0.05); border-radius: 16rpx; } .invite-label { font-size: 24rpx; color: rgba(255, 255, 255, 0.6); margin-bottom: 12rpx; } .invite-code-box { display: flex; align-items: center; justify-content: space-between; } .invite-code { font-size: 40rpx; font-weight: 700; color: #FF4D4F; letter-spacing: 4rpx; font-family: 'Courier New', monospace; } .copy-btn { padding: 12rpx 32rpx; background: rgba(255, 77, 79, 0.2); color: #FF7875; border: none; border-radius: 12rpx; font-size: 26rpx; font-weight: 600; } /* 功能菜单 */ .menu-section { margin-bottom: 24rpx; } .menu-group { padding: 0; margin-bottom: 24rpx; } .menu-item { display: flex; justify-content: space-between; align-items: center; padding: 32rpx; transition: background 0.3s; } .menu-item:active { background: rgba(255, 255, 255, 0.05); } .menu-left { display: flex; align-items: center; gap: 20rpx; } .menu-icon { font-size: 40rpx; } .menu-text { font-size: 30rpx; color: #ffffff; } .menu-right { display: flex; align-items: center; gap: 16rpx; } .menu-badge { min-width: 32rpx; height: 32rpx; padding: 0 8rpx; background: #FF4D4F; border-radius: 16rpx; font-size: 20rpx; color: #ffffff; display: flex; align-items: center; justify-content: center; } .menu-arrow { font-size: 28rpx; color: rgba(255, 255, 255, 0.3); } .menu-divider { height: 2rpx; background: rgba(255, 255, 255, 0.05); margin: 0 32rpx; } /* 退出登录 */ .logout-section { padding: 0 32rpx; margin-top: 48rpx; } .logout-btn { width: 100%; padding: 28rpx; background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.6); border: 2rpx solid rgba(255, 255, 255, 0.1); border-radius: 16rpx; font-size: 30rpx; } .logout-btn:active { background: rgba(255, 255, 255, 0.08); } .bottom-space { height: 40rpx; } /* 海报弹窗 */ .poster-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.9); z-index: 9999; display: flex; align-items: center; justify-content: center; animation: fadeIn 0.3s; } .poster-content { width: 90%; max-width: 600rpx; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20rpx); border-radius: 32rpx; padding: 32rpx; animation: slideUp 0.4s ease-out; } @keyframes slideUp { from { opacity: 0; transform: translateY(100rpx); } to { opacity: 1; transform: translateY(0); } } .poster-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24rpx; } .poster-title { font-size: 32rpx; font-weight: 600; color: #ffffff; } .poster-close { font-size: 56rpx; color: rgba(255, 255, 255, 0.6); line-height: 1; } .poster-canvas { width: 100%; height: 800rpx; background: #ffffff; border-radius: 16rpx; margin-bottom: 24rpx; } .save-poster-btn { width: 100%; }