Files
soul-yongping/miniprogram/pages/my/my.wxss

89 lines
8.3 KiB
Plaintext

.page { min-height: 100vh; background: #000; padding-bottom: 200rpx; box-sizing: border-box; }
.nav-placeholder { width: 100%; }
.header { text-align: center; padding: 24rpx; border-bottom: 2rpx solid rgba(255,255,255,0.1); }
.header-title { font-size: 36rpx; font-weight: 500; color: #00CED1; }
.card { margin: 32rpx; border-radius: 32rpx; padding: 32rpx; border: 2rpx solid rgba(255,255,255,0.05); box-sizing: border-box; }
.user-card { background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%); border-color: rgba(0,206,209,0.2); }
.user-row { display: flex; align-items: center; gap: 24rpx; margin-bottom: 32rpx; }
.avatar-placeholder { width: 128rpx; height: 128rpx; border-radius: 50%; border: 4rpx dashed rgba(0,206,209,0.5); background: linear-gradient(135deg, rgba(0,206,209,0.1) 0%, transparent 100%); display: flex; align-items: center; justify-content: center; font-size: 64rpx; }
.avatar { width: 128rpx; height: 128rpx; border-radius: 50%; border: 4rpx solid #00CED1; background: linear-gradient(135deg, rgba(0,206,209,0.2) 0%, transparent 100%); display: flex; align-items: center; justify-content: center; font-size: 48rpx; font-weight: 700; color: #00CED1; }
.user-info { flex: 1; }
.btn-login { font-size: 36rpx; font-weight: 600; color: #00CED1; margin-bottom: 8rpx; }
.user-desc { font-size: 28rpx; color: rgba(255,255,255,0.3); }
.user-name { font-size: 36rpx; font-weight: 600; color: #fff; display: block; }
.user-id { font-size: 24rpx; color: rgba(255,255,255,0.3); }
.tag { padding: 8rpx 24rpx; border-radius: 32rpx; background: rgba(0,206,209,0.2); border: 2rpx solid rgba(0,206,209,0.3); font-size: 22rpx; color: #00CED1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16rpx; padding-top: 24rpx; border-top: 2rpx solid rgba(255,255,255,0.1); }
.stat { text-align: center; padding: 16rpx; border-radius: 16rpx; background: rgba(255,255,255,0.05); }
.stat-num { font-size: 40rpx; font-weight: 700; display: block; }
.stat-label { font-size: 22rpx; color: rgba(255,255,255,0.4); }
.brand-color { color: #00CED1; }
.gold-color { color: #FFD700; }
.referral-card { background: linear-gradient(90deg, rgba(255,215,0,0.1) 0%, #1c1c1e 100%); border-color: rgba(255,215,0,0.2); display: flex; align-items: center; justify-content: space-between; }
.referral-left { display: flex; align-items: center; gap: 24rpx; }
.referral-icon { width: 80rpx; height: 80rpx; border-radius: 50%; background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); display: flex; align-items: center; justify-content: center; font-size: 40rpx; }
.referral-title { font-size: 30rpx; color: #fff; display: block; }
.referral-desc { font-size: 22rpx; color: rgba(255,255,255,0.4); }
.btn-ref { padding: 16rpx 32rpx; border-radius: 16rpx; background: rgba(255,215,0,0.2); font-size: 28rpx; color: #FFD700; }
.menu { margin: 32rpx; border-radius: 32rpx; background: #1c1c1e; border: 2rpx solid rgba(255,255,255,0.05); overflow: hidden; }
.menu-item { display: flex; align-items: center; padding: 32rpx; border-bottom: 2rpx solid rgba(255,255,255,0.05); }
.menu-item:last-child { border-bottom: none; }
.menu-icon { font-size: 40rpx; margin-right: 24rpx; }
.menu-icon-circle { width: 48rpx; height: 48rpx; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 24rpx; font-size: 24rpx; }
.menu-icon-circle.brand { background: linear-gradient(135deg, #00CED1 0%, #20B2AA 100%); color: #fff; }
.menu-icon-circle.gold { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: #000; }
.menu-icon-circle.gray { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.menu-text { flex: 1; font-size: 30rpx; color: #fff; }
.arrow { font-size: 32rpx; color: rgba(255,255,255,0.3); }
.menu-extra { font-size: 28rpx; color: rgba(255,255,255,0.4); margin-right: 16rpx; }
.menu-extra.brand { color: #FFD700; font-weight: 500; }
.earnings-card { margin: 32rpx; border-radius: 32rpx; padding: 32rpx; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); border: 2rpx solid rgba(0,206,209,0.2); box-sizing: border-box; }
.earnings-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24rpx; gap: 16rpx; min-width: 0; }
.earnings-title-row { display: flex; align-items: center; gap: 12rpx; flex-shrink: 0; min-width: 0; }
.earnings-icon { font-size: 36rpx; flex-shrink: 0; }
.earnings-title { font-size: 30rpx; color: #fff; font-weight: 500; white-space: nowrap; }
.earnings-link { font-size: 24rpx; color: #00CED1; flex-shrink: 0; white-space: nowrap; }
.earnings-row { display: flex; align-items: flex-end; gap: 48rpx; margin-bottom: 24rpx; }
.earnings-item { min-width: 0; }
.earnings-label { font-size: 24rpx; color: rgba(255,255,255,0.5); display: block; margin-bottom: 8rpx; }
.earnings-value { font-size: 36rpx; font-weight: 700; color: #fff; }
.earnings-value.gold { font-size: 60rpx; background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%); -webkit-background-clip: text; color: transparent; }
.btn-earnings { display: block; width: 100%; padding: 24rpx; border-radius: 24rpx; background: linear-gradient(90deg, rgba(255,215,0,0.8) 0%, rgba(255,165,0,0.8) 100%); color: #000; font-size: 28rpx; font-weight: 700; text-align: center; box-sizing: border-box; }
.tabs { display: flex; gap: 16rpx; margin: 0 32rpx 24rpx; }
.tab { flex: 1; padding: 24rpx; border-radius: 24rpx; background: #1c1c1e; color: rgba(255,255,255,0.6); font-size: 28rpx; text-align: center; border: 2rpx solid rgba(255,255,255,0.05); }
.tab.active { background: rgba(0,206,209,0.2); color: #00CED1; border-color: rgba(0,206,209,0.3); }
.footprint-section { padding: 0 32rpx 32rpx; }
.footprint-card { padding: 32rpx; border-radius: 32rpx; background: #1c1c1e; border: 2rpx solid rgba(255,255,255,0.05); margin-bottom: 24rpx; }
.footprint-title-row { display: flex; align-items: center; gap: 12rpx; margin-bottom: 24rpx; }
.footprint-icon { font-size: 32rpx; }
.footprint-title { font-size: 30rpx; color: #fff; font-weight: 500; }
.footprint-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24rpx; }
.fp-stat { text-align: center; padding: 24rpx; border-radius: 24rpx; background: rgba(255,255,255,0.05); }
.fp-stat-icon { font-size: 36rpx; display: block; margin-bottom: 8rpx; }
.fp-stat-value { font-size: 40rpx; font-weight: 700; color: #fff; display: block; }
.fp-stat-label { font-size: 22rpx; color: rgba(255,255,255,0.4); }
.recent-item { display: flex; align-items: center; padding: 24rpx; border-radius: 24rpx; background: rgba(255,255,255,0.05); margin-bottom: 16rpx; }
.recent-index { font-size: 28rpx; color: rgba(255,255,255,0.3); margin-right: 24rpx; }
.recent-id { flex: 1; font-size: 28rpx; color: #fff; }
.recent-link { font-size: 24rpx; color: #00CED1; }
.footprint-empty { text-align: center; padding: 48rpx; }
.empty-desc { font-size: 28rpx; color: rgba(255,255,255,0.4); display: block; margin-bottom: 16rpx; }
.empty-btn { font-size: 28rpx; color: #00CED1; }
.mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 48rpx; box-sizing: border-box; }
.modal { width: 100%; max-width: 600rpx; background: #1c1c1e; border-radius: 32rpx; overflow: hidden; }
.bind-modal .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 32rpx; border-bottom: 2rpx solid rgba(255,255,255,0.1); }
.modal-head-title { font-size: 36rpx; font-weight: 600; color: #fff; }
.modal-close { width: 64rpx; height: 64rpx; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 40rpx; color: rgba(255,255,255,0.6); }
.bind-modal .modal-body { padding: 32rpx; }
.bind-input { width: 100%; padding: 24rpx 32rpx; border-radius: 24rpx; background: rgba(0,0,0,0.3); border: 2rpx solid rgba(255,255,255,0.1); color: #fff; font-size: 28rpx; box-sizing: border-box; margin-bottom: 24rpx; }
.bind-error { font-size: 24rpx; color: #f87171; display: block; margin-bottom: 16rpx; }
.bind-hint { font-size: 24rpx; color: rgba(255,255,255,0.4); display: block; margin-bottom: 24rpx; }
.btn-primary { width: 100%; padding: 24rpx; border-radius: 24rpx; background: #00CED1; color: #000; font-size: 30rpx; font-weight: 500; text-align: center; }
.btn-primary.disabled { opacity: 0.5; }
.bottom-space { height: 40rpx; }