/** * Soul创业实验 - 我的页面样式 * 1:1还原Web版本UI */ .page { min-height: 100vh; background: #000000; padding-bottom: 200rpx; } /* ===== 导航栏 ===== */ .nav-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(40rpx); border-bottom: 1rpx solid rgba(255, 255, 255, 0.05); } .nav-content { height: 88rpx; display: flex; align-items: center; justify-content: flex-start; padding: 0 32rpx; } .nav-title { font-size: 36rpx; font-weight: 600; } .nav-title-left { font-size: 36rpx; font-weight: 600; } .brand-color { color: #00CED1; } .gold-color { color: #FFD700; } .pink-color { color: #E91E63; } .nav-placeholder { width: 100%; } /* ===== 用户卡片 ===== */ .user-card { margin: 32rpx; padding: 32rpx; } .margin-partner-badge{ } /* 创业伙伴按钮 - inline 布局 */ .partner-badge { display: flex; align-items: center; gap: 6rpx; padding: 10rpx 18rpx; background: rgba(0, 206, 209, 0.15); border: 1rpx solid rgba(0, 206, 209, 0.3); border-radius: 20rpx; flex-shrink: 0; transition: all 0.2s; margin-top:-20px; } .partner-badge:active { background: rgba(0, 206, 209, 0.3); transform: scale(0.95); } .partner-icon { font-size: 18rpx; color: #00CED1; line-height: 1; } .partner-text { font-size: 20rpx; font-weight: 500; color: #00CED1; line-height: 1; white-space: nowrap; } .card-gradient { background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%); border-radius: 32rpx; border: 2rpx solid rgba(0, 206, 209, 0.2); } /* ===== 新版用户头部布局 ===== */ .user-header-row { display: flex; align-items: center; gap: 20rpx; margin-bottom: 32rpx; width: 100%; } /* 头像容器 */ .avatar-wrapper { position: relative; flex-shrink: 0; width: 120rpx; height: 120rpx; } /* 头像按钮样式 - 简化版 */ .avatar-btn-simple { flex-shrink: 0; width: 60rpx!important; height: 120rpx; min-width: 120rpx; min-height: 120rpx; padding: 0; margin: 0; background: transparent !important; border: none; line-height: normal; border-radius: 50%; overflow: visible; display: flex; align-items: center; justify-content: center; } .avatar-btn-simple::after { border: none; } .edit-icon-small { font-size: 24rpx; color: rgba(255,255,255,0.5); margin-left: 12rpx; } .avatar { width: 120rpx; height: 120rpx; border-radius: 50%; border: 3rpx solid #00CED1; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(0, 206, 209, 0.2) 0%, transparent 100%); overflow: hidden; box-sizing: border-box; flex-shrink: 0; } .avatar-img { width: 100%; height: 100%; object-fit: cover; } .avatar-edit-hint { position: absolute; bottom: 0; right: 0; width: 36rpx; height: 36rpx; background: #00CED1; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3rpx solid #000; } .edit-icon { font-size: 20rpx; color: #000; } .avatar-empty { border-style: dashed; border-color: rgba(0, 206, 209, 0.5); } .avatar-icon { font-size: 64rpx; opacity: 0.3; } .avatar-text { font-size: 48rpx; font-weight: 700; color: #00CED1; line-height: 1; } .user-info-block { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12rpx; min-width: 0; } .user-name-row { display: flex; align-items: center; gap: 8rpx; line-height: 1.3; } .user-name { font-size: 34rpx; font-weight: 600; color: #ffffff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; } .edit-name-icon { font-size: 24rpx; color: rgba(255,255,255,0.4); flex-shrink: 0; } .user-id-row { display: flex; align-items: center; gap: 8rpx; line-height: 1.3; } .user-id { font-size: 24rpx; color: rgba(255, 255, 255, 0.4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; } .copy-icon { font-size: 22rpx; opacity: 0.5; flex-shrink: 0; } .user-wechat { font-size: 24rpx; color: #00CED1; } .user-badge-small { display: inline-flex; align-items: center; gap: 6rpx; padding: 6rpx 14rpx; background: rgba(0, 206, 209, 0.15); border: 1rpx solid rgba(0, 206, 209, 0.3); border-radius: 20rpx; } .badge-star { font-size: 18rpx; } .badge-label { font-size: 20rpx; color: #00CED1; } /* 兼容旧样式 */ .user-header { display: flex; align-items: center; gap: 24rpx; margin-bottom: 32rpx; } .user-info { flex: 1; } .login-btn { font-size: 36rpx; font-weight: 600; color: #00CED1; } .user-subtitle { font-size: 26rpx; color: rgba(255, 255, 255, 0.3); display: block; margin-top: 4rpx; } /* ===== 未登录假资料样式 ===== */ .avatar-placeholder { cursor: default; } .user-id-guest { color: rgba(255, 255, 255, 0.35) !important; } .btn-login-inline { flex-shrink: 0; margin-left: 16rpx; padding: 10rpx 24rpx; background: linear-gradient(135deg, #00CED1 0%, #20B2AA 100%); color: #000; font-size: 24rpx; font-weight: 600; border-radius: 24rpx; } .user-name { font-size: 36rpx; font-weight: 600; color: #ffffff; display: block; } .user-id { font-size: 26rpx; color: rgba(255, 255, 255, 0.3); display: block; margin-top: 4rpx; } .user-badge { padding: 8rpx 20rpx; background: rgba(0, 206, 209, 0.2); border: 2rpx solid rgba(0, 206, 209, 0.3); border-radius: 32rpx; display: flex; align-items: center; gap: 8rpx; } .badge-icon { font-size: 22rpx; } .badge-text { font-size: 22rpx; color: #00CED1; } .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16rpx; padding-top: 32rpx; border-top: 2rpx solid rgba(255, 255, 255, 0.05); } .stat-item { text-align: center; padding: 16rpx 8rpx; } .stat-value { font-size: 40rpx; font-weight: 700; display: block; } .stat-label { font-size: 22rpx; color: rgba(255, 255, 255, 0.4); } /* ===== 收益卡片 - 艺术化设计 ===== */ .earnings-card { margin: 32rpx; padding: 32rpx; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); border-radius: 32rpx; border: 2rpx solid rgba(0, 206, 209, 0.2); position: relative; overflow: hidden; box-shadow: 0 16rpx 32rpx rgba(0, 0, 0, 0.3); } /* 背景装饰圆 */ .bg-decoration { position: absolute; border-radius: 50%; z-index: 0; } .bg-decoration-gold { top: 0; right: 0; width: 256rpx; height: 256rpx; background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%); transform: translate(50%, -50%); } .bg-decoration-brand { bottom: 0; left: 0; width: 192rpx; height: 192rpx; background: linear-gradient(45deg, rgba(0, 206, 209, 0.1) 0%, transparent 100%); transform: translate(-50%, 50%); } .earnings-content { position: relative; z-index: 1; } /* 标题行 */ .earnings-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40rpx; } .earnings-title-wrap { display: flex; align-items: center; gap: 12rpx; } .earnings-icon { font-size: 32rpx; } .earnings-title { font-size: 30rpx; font-weight: 600; color: #ffffff; } .earnings-link { display: flex; align-items: center; gap: 6rpx; padding: 8rpx 16rpx; background: rgba(0, 206, 209, 0.1); border-radius: 16rpx; } .earnings-link:active { background: rgba(0, 206, 209, 0.2); } .link-text { font-size: 24rpx; font-weight: 500; } .link-arrow { font-size: 20rpx; font-weight: 600; } /* 我的收益 - 刷新图标 */ .earnings-refresh-wrap { display: flex; align-items: center; justify-content: center; width: 64rpx; height: 64rpx; border-radius: 50%; background: rgba(0, 206, 209, 0.15); } .earnings-refresh-wrap:active { background: rgba(0, 206, 209, 0.3); } .earnings-refresh-icon { font-size: 36rpx; font-weight: 600; color: #00CED1; } .earnings-refresh-spin { animation: earnings-spin 0.8s linear infinite; } @keyframes earnings-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* 收益数据 */ .earnings-data { display: flex; align-items: flex-end; gap: 48rpx; margin-bottom: 32rpx; } .earnings-main, .earnings-secondary { display: flex; flex-direction: column; gap: 8rpx; } .earnings-main { flex: 1; } .earnings-secondary { flex: 1; } .earnings-label { font-size: 24rpx; font-weight: 500; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.5rpx; } .earnings-amount-large { font-size: 64rpx; font-weight: 700; line-height: 1; display: block; } .earnings-amount-medium { font-size: 48rpx; font-weight: 700; line-height: 1; color: #ffffff; } /* 渐变文字效果 */ .gold-gradient { background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; } /* 操作按钮 */ .earnings-action { display: flex; align-items: center; justify-content: center; gap: 16rpx; padding: 24rpx; background: linear-gradient(90deg, rgba(255, 215, 0, 0.9) 0%, rgba(255, 165, 0, 0.9) 100%); border-radius: 24rpx; font-weight: 700; box-shadow: 0 4rpx 12rpx rgba(255, 215, 0, 0.3); margin-top: 8rpx; } .earnings-action:active { opacity: 0.85; transform: scale(0.98); } .action-icon { font-size: 32rpx; } .action-text { font-size: 30rpx; font-weight: 700; color: #000000; letter-spacing: 1rpx; } /* ===== 推广入口 ===== */ .referral-card { display: flex; align-items: center; justify-content: space-between; margin: 32rpx; padding: 32rpx; background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, #1c1c1e 100%); border: 2rpx solid rgba(255, 215, 0, 0.2); border-radius: 32rpx; } .referral-left { display: flex; align-items: center; gap: 24rpx; } .referral-icon { width: 80rpx; height: 80rpx; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40rpx; } .gold-bg { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); } .referral-info { display: flex; flex-direction: column; } .referral-title { font-size: 28rpx; font-weight: 500; color: #ffffff; } .referral-desc { font-size: 24rpx; color: rgba(255, 255, 255, 0.4); margin-top: 4rpx; } .referral-btn { padding: 16rpx 32rpx; background: rgba(255, 215, 0, 0.2); color: #FFD700; font-size: 26rpx; font-weight: 500; border-radius: 16rpx; } /* ===== Tab切换 ===== */ .tab-bar-custom { display: flex; gap: 16rpx; margin: 32rpx; } .tab-item { flex: 1; padding: 20rpx; text-align: center; font-size: 28rpx; font-weight: 500; color: rgba(255, 255, 255, 0.6); background: #1c1c1e; border-radius: 24rpx; display: flex; align-items: center; justify-content: center; gap: 8rpx; } .tab-active { background: rgba(0, 206, 209, 0.2); color: #00CED1; border: 2rpx solid rgba(0, 206, 209, 0.3); } .tab-icon { font-size: 28rpx; } /* ===== Tab内容 ===== */ .tab-content { padding: 0 32rpx; width: 100%; box-sizing: border-box; } /* ===== 菜单卡片 ===== */ .card { background: #1c1c1e; border-radius: 24rpx; border: 2rpx solid rgba(255, 255, 255, 0.05); overflow: hidden; margin: 0 0 24rpx 0; width: 100%; box-sizing: border-box; } .menu-card { padding: 0; width: 100%; box-sizing: border-box; } .menu-item { display: flex; align-items: center; justify-content: space-between; padding: 28rpx 32rpx; border-bottom: 1rpx solid rgba(255, 255, 255, 0.05); } .menu-item:last-child { border-bottom: none; } .menu-item:active { background: rgba(255, 255, 255, 0.05); } .menu-left { display: flex; align-items: center; gap: 24rpx; } .menu-icon { width: 52rpx; height: 52rpx; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32rpx; flex-shrink: 0; } /* 有背景的图标样式 */ .icon-brand, .icon-gold, .icon-gray { width: 52rpx; height: 52rpx; font-size: 20rpx; } .icon-brand { background: linear-gradient(135deg, #00CED1 0%, #20B2AA 100%); } .icon-gold { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); } .icon-gray { background: rgba(128, 128, 128, 0.2); } .menu-title { font-size: 28rpx; color: #ffffff; } .menu-right { display: flex; align-items: center; gap: 16rpx; } .menu-count { font-size: 26rpx; color: rgba(255, 255, 255, 0.4); } .menu-badge { font-size: 26rpx; font-weight: 500; } .menu-arrow { font-size: 28rpx; color: rgba(255, 255, 255, 0.3); } /* ===== 统计卡片 ===== */ .stats-card { padding: 32rpx; } .card-title { display: flex; align-items: center; gap: 16rpx; font-size: 28rpx; font-weight: 500; color: #ffffff; margin-bottom: 24rpx; } .stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24rpx; } /* 两列布局(当找伙伴功能关闭时) */ .stats-row-two-cols { grid-template-columns: repeat(2, 1fr) !important; } .stat-box { display: flex; flex-direction: column; align-items: center; padding: 24rpx; background: rgba(255, 255, 255, 0.05); border-radius: 24rpx; } .stat-icon { font-size: 36rpx; margin-bottom: 8rpx; } .stat-num { font-size: 32rpx; font-weight: 700; color: #ffffff; } .stat-text { font-size: 22rpx; color: rgba(255, 255, 255, 0.4); margin-top: 4rpx; } /* ===== 最近阅读 ===== */ .recent-card { padding: 32rpx; } .recent-list { display: flex; flex-direction: column; gap: 16rpx; } .recent-item { display: flex; align-items: center; justify-content: space-between; padding: 24rpx; background: rgba(255, 255, 255, 0.05); border-radius: 24rpx; } .recent-left { display: flex; align-items: center; gap: 24rpx; } .recent-index { font-size: 26rpx; color: rgba(255, 255, 255, 0.3); } .recent-title { font-size: 26rpx; color: #ffffff; } .recent-btn { font-size: 24rpx; color: #00CED1; } /* ===== 空状态 ===== */ .empty-state { display: flex; flex-direction: column; align-items: center; padding: 48rpx; } .empty-icon { font-size: 64rpx; opacity: 0.5; margin-bottom: 16rpx; } .empty-text { font-size: 26rpx; color: rgba(255, 255, 255, 0.4); } .empty-btn { margin-top: 16rpx; font-size: 26rpx; color: #00CED1; } /* ===== 匹配记录 ===== */ .match-card { padding: 32rpx; } /* ===== 登录弹窗 ===== */ .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(20rpx); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 48rpx; } .modal-content { width: 100%; max-width: 640rpx; background: #1c1c1e; border-radius: 32rpx; padding: 48rpx; position: relative; } .modal-close { position: absolute; top: 24rpx; right: 24rpx; width: 64rpx; height: 64rpx; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 28rpx; color: rgba(255, 255, 255, 0.6); } .login-icon { font-size: 96rpx; text-align: center; display: block; margin-bottom: 24rpx; } .login-title { font-size: 36rpx; font-weight: 700; color: #ffffff; text-align: center; display: block; margin-bottom: 16rpx; } .login-desc { font-size: 26rpx; color: rgba(255, 255, 255, 0.6); text-align: center; display: block; margin-bottom: 48rpx; } .btn-wechat { width: 100%; display: flex; align-items: center; justify-content: center; gap: 16rpx; padding: 28rpx; background: #07C160; color: #ffffff; font-size: 28rpx; font-weight: 500; border-radius: 24rpx; margin-bottom: 24rpx; border: none; } .btn-wechat::after { border: none; } .btn-wechat-icon { width: 40rpx; height: 40rpx; background: rgba(255, 255, 255, 0.2); border-radius: 8rpx; display: flex; align-items: center; justify-content: center; font-size: 24rpx; } .btn-phone { width: 100%; display: flex; align-items: center; justify-content: center; gap: 16rpx; padding: 28rpx; background: rgba(255, 255, 255, 0.1); color: #ffffff; font-size: 28rpx; border-radius: 24rpx; border: 2rpx solid rgba(255, 255, 255, 0.1); } .btn-phone::after { border: none; } .btn-phone-icon { font-size: 32rpx; } /* 登录弹窗内取消按钮 */ .login-modal-cancel { margin-top: 24rpx; padding: 24rpx; font-size: 28rpx; color: rgba(255, 255, 255, 0.5); text-align: center; } /* 协议勾选行(审核:用户须主动勾选,协议可点击查看) */ .login-agree-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 32rpx; font-size: 22rpx; color: rgba(255, 255, 255, 0.5); } .agree-checkbox { width: 32rpx; height: 32rpx; border: 2rpx solid rgba(255, 255, 255, 0.5); border-radius: 6rpx; margin-right: 12rpx; display: flex; align-items: center; justify-content: center; font-size: 22rpx; color: #fff; flex-shrink: 0; } .agree-checked { background: #00CED1; border-color: #00CED1; } .agree-text { color: rgba(255, 255, 255, 0.6); } .agree-link { color: #00CED1; text-decoration: underline; padding: 0 4rpx; } .btn-wechat-disabled { opacity: 0.6; } /* ===== 底部留白 ===== */ .bottom-space { height: 40rpx; } /* ===== 推广入口卡片 ===== */ .promo-entry-card { display: flex; align-items: center; justify-content: space-between; margin: 24rpx 24rpx 0; padding: 32rpx; background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.1) 100%); border: 2rpx solid rgba(255, 215, 0, 0.3); border-radius: 24rpx; } .promo-entry-left { display: flex; align-items: center; gap: 20rpx; } .promo-entry-icon { width: 80rpx; height: 80rpx; background: rgba(255, 215, 0, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36rpx; } .promo-entry-info { display: flex; flex-direction: column; gap: 4rpx; } .promo-entry-title { font-size: 30rpx; color: #ffffff; font-weight: 600; } .promo-entry-desc { font-size: 24rpx; color: rgba(255, 255, 255, 0.5); } .promo-entry-right { display: flex; align-items: center; gap: 16rpx; } .promo-entry-earnings { font-size: 32rpx; color: #FFD700; font-weight: 600; } .promo-entry-arrow { font-size: 28rpx; color: #FFD700; } /* ===== 修改昵称弹窗 ===== */ .nickname-modal { width: 600rpx; max-width: 90%; } .modal-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 40rpx; } .modal-icon { font-size: 60rpx; margin-bottom: 16rpx; } .modal-title { font-size: 32rpx; color: #ffffff; font-weight: 600; } .nickname-input-wrap { margin-bottom: 40rpx; } .nickname-input { width: 100%; height: 88rpx; padding: 0 24rpx; background: rgba(255, 255, 255, 0.05); border: 2rpx solid rgba(56, 189, 172, 0.3); border-radius: 12rpx; font-size: 28rpx; color: #ffffff; box-sizing: border-box; } .nickname-placeholder { color: rgba(255, 255, 255, 0.3); } .input-tip { display: block; margin-top: 12rpx; font-size: 22rpx; color: rgba(56, 189, 172, 0.6); text-align: center; } .modal-actions { display: flex; gap: 20rpx; } .modal-btn { flex: 1; height: 80rpx; display: flex; align-items: center; justify-content: center; border-radius: 12rpx; font-size: 28rpx; font-weight: 500; transition: all 0.3s; } .modal-btn-cancel { background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.5); border: 2rpx solid rgba(255, 255, 255, 0.1); } .modal-btn-confirm { background: linear-gradient(135deg, #38bdac 0%, #2da396 100%); color: #ffffff; box-shadow: 0 8rpx 24rpx rgba(56, 189, 172, 0.3); } /* 待确认收款 */ .pending-confirm-card { margin: 32rpx; padding: 28rpx 32rpx; background: rgba(76, 175, 80, 0.08); border: 2rpx solid rgba(76, 175, 80, 0.25); border-radius: 24rpx; } .pending-confirm-header { margin-bottom: 20rpx; } .pending-confirm-title { font-size: 28rpx; font-weight: 600; color: #fff; display: block; } .pending-confirm-desc { font-size: 24rpx; color: rgba(255,255,255,0.6); margin-top: 8rpx; display: block; } .pending-confirm-list { display: flex; flex-direction: column; gap: 16rpx; } .pending-confirm-item { display: flex; align-items: center; justify-content: space-between; padding: 20rpx 24rpx; background: rgba(28,28,30,0.6); border-radius: 16rpx; } .pending-confirm-info { display: flex; flex-direction: column; gap: 4rpx; } .pending-confirm-amount { font-size: 32rpx; font-weight: 600; color: #4CAF50; } .pending-confirm-time { font-size: 22rpx; color: rgba(255,255,255,0.5); } .pending-confirm-btn { padding: 16rpx 32rpx; background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%); color: #fff; font-size: 26rpx; font-weight: 500; border-radius: 20rpx; } /* ===== 扫一扫结果弹窗 ===== */ .scan-result-modal .modal-close { top: 24rpx; right: 24rpx; } .scan-result-header { margin-bottom: 24rpx; } .scan-result-title { font-size: 32rpx; font-weight: 600; color: #fff; } .scan-result-body { max-height: 320rpx; padding: 24rpx; background: rgba(255,255,255,0.06); border-radius: 16rpx; margin-bottom: 24rpx; word-break: break-all; } .scan-result-text { font-size: 26rpx; color: rgba(255,255,255,0.9); line-height: 1.5; } .scan-result-actions { display: flex; gap: 24rpx; } .scan-result-btn { flex: 1; padding: 24rpx; text-align: center; font-size: 28rpx; color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.1); border-radius: 24rpx; } .scan-result-btn.primary { background: #00CED1; color: #000; }