.container { min-height: 100vh; background: #f8f8f8; padding-bottom: calc(env(safe-area-inset-bottom) + 40rpx); } /* 余额展示区域 */ .balance-section { background: linear-gradient(135deg, #ff4d4f, #ff7875); padding: 60rpx 40rpx; text-align: center; color: #fff; } .balance-title { font-size: 28rpx; opacity: 0.9; line-height: 1.5; } .balance-amount { font-size: 72rpx; font-weight: 600; margin-top: 20rpx; line-height: 1.2; } /* 提现金额输入区域 */ .withdraw-section { margin: 20rpx; padding: 30rpx; background: #fff; border-radius: 16rpx; } .section-title { font-size: 28rpx; color: #333; margin-bottom: 24rpx; font-weight: 500; line-height: 1.5; } .amount-input-wrap { display: flex; align-items: center; padding: 20rpx 0; border-bottom: 2rpx solid #f0f0f0; } .currency-symbol { font-size: 40rpx; color: #333; font-weight: 500; margin-right: 20rpx; line-height: 1; display: flex; align-items: center; } .amount-input { flex: 1; font-size: 40rpx; color: #333; height: 60rpx; line-height: 60rpx; padding: 0; } .all-withdraw { font-size: 26rpx; color: #ff4d4f; padding: 10rpx 0 10rpx 20rpx; } /* 提现方式选择区域 */ .method-section { margin: 20rpx; padding: 30rpx; background: #fff; border-radius: 16rpx; } .method-list { background: #f8f8f8; border-radius: 12rpx; overflow: hidden; } .method-item { display: flex; align-items: center; padding: 30rpx; background: #fff; margin-bottom: 2rpx; position: relative; } .method-item.selected { background: rgba(255, 77, 79, 0.05); } .method-icon { width: 48rpx; height: 48rpx; margin-right: 20rpx; flex-shrink: 0; } .method-name { flex: 1; font-size: 28rpx; color: #333; line-height: 1.5; } .method-check { width: 40rpx; height: 40rpx; display: flex; align-items: center; justify-content: center; } /* 账户信息区域 */ .account-section { margin: 20rpx; padding: 30rpx; background: #fff; border-radius: 16rpx; } .account-info { display: flex; align-items: center; justify-content: space-between; margin-top: 20rpx; padding: 20rpx 0; border-bottom: 2rpx solid #f0f0f0; font-size: 28rpx; color: #333; line-height: 1.5; } .icon-right { font-size: 32rpx; color: #999; margin-left: 10rpx; } /* 提现按钮 */ .withdraw-btn { position: fixed; left: 40rpx; right: 40rpx; bottom: calc(40rpx + env(safe-area-inset-bottom)); height: 88rpx; background: #ff4d4f; color: #fff; font-size: 32rpx; border-radius: 44rpx; font-weight: 500; border: none; padding: 0; display: flex; align-items: center; justify-content: center; } .withdraw-btn[disabled] { background: #ffa39e; opacity: 0.6; } /* 输入框placeholder样式 */ .amount-input::placeholder { color: #999; font-size: 32rpx; } /* 深色模式 */ @media (prefers-color-scheme: dark) { .container { background: #1f1f1f; } .withdraw-section, .method-section, .account-section { background: #2a2a2a; } .section-title, .currency-symbol, .amount-input, .method-name, .account-info { color: #fff; } .amount-input-wrap, .account-info { border-bottom-color: #333; } .method-item { background: #2a2a2a; } .method-item.selected { background: rgba(255, 77, 79, 0.15); } .amount-input::placeholder { color: #666; } }