## 后端 1. 数据概览改为从API获取真实用户/订单数 2. 提现API增加容错和withdrawals表自动创建 ## 小程序 1. 设置页:去掉支付宝,微信号直接输入 2. 我的页面:优先显示微信号 3. 找伙伴-资源对接:新增三项填写(能帮到什么/需要什么/擅长什么) ## 部署配置 - 更新为小型宝塔 42.194.232.22
110 lines
5.9 KiB
Plaintext
110 lines
5.9 KiB
Plaintext
/* 设置页样式 */
|
|
.page { min-height: 100vh; background: #000; padding-bottom: 64rpx; }
|
|
|
|
/* 导航栏 */
|
|
.nav-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(0,0,0,0.9); backdrop-filter: blur(40rpx); display: flex; align-items: center; justify-content: space-between; padding: 0 32rpx; height: 88rpx; }
|
|
.nav-back { width: 64rpx; height: 64rpx; background: #1c1c1e; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
|
|
.back-icon { font-size: 40rpx; color: rgba(255,255,255,0.6); font-weight: 300; }
|
|
.nav-title { font-size: 34rpx; font-weight: 600; color: #fff; }
|
|
.nav-placeholder { width: 64rpx; }
|
|
|
|
.content { padding: 24rpx; }
|
|
|
|
/* 账号绑定卡片 */
|
|
.bind-card { background: #1c1c1e; border-radius: 32rpx; padding: 32rpx; margin-bottom: 24rpx; border: 2rpx solid rgba(0,206,209,0.2); }
|
|
.card-header { display: flex; align-items: flex-start; gap: 16rpx; margin-bottom: 24rpx; padding-bottom: 24rpx; border-bottom: 2rpx solid rgba(255,255,255,0.05); }
|
|
.card-icon { font-size: 40rpx; }
|
|
.card-title-wrap { flex: 1; }
|
|
.card-title { font-size: 30rpx; font-weight: 600; color: #fff; display: block; }
|
|
.card-desc { font-size: 24rpx; color: rgba(255,255,255,0.5); margin-top: 4rpx; display: block; }
|
|
|
|
.bind-list { display: flex; flex-direction: column; gap: 24rpx; }
|
|
.bind-item { display: flex; align-items: center; justify-content: space-between; padding: 16rpx 0; }
|
|
.bind-left { display: flex; align-items: center; gap: 20rpx; }
|
|
.bind-icon { width: 72rpx; height: 72rpx; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32rpx; }
|
|
.bind-icon.phone-icon { background: rgba(0,206,209,0.2); }
|
|
.bind-icon.wechat-icon { background: rgba(158,158,158,0.2); }
|
|
.bind-icon.alipay-icon { background: rgba(158,158,158,0.2); }
|
|
.bind-info { display: flex; flex-direction: column; gap: 4rpx; flex: 1; }
|
|
.bind-label { font-size: 28rpx; color: #fff; font-weight: 500; }
|
|
.bind-value { font-size: 24rpx; color: rgba(255,255,255,0.5); }
|
|
.bind-input { font-size: 24rpx; color: #00CED1; background: transparent; padding: 8rpx 0; }
|
|
.bind-right { display: flex; align-items: center; }
|
|
.bind-check { color: #00CED1; font-size: 32rpx; }
|
|
.bind-btn { color: #00CED1; font-size: 26rpx; }
|
|
|
|
/* 一键获取手机号按钮 */
|
|
.get-phone-btn {
|
|
padding: 12rpx 24rpx;
|
|
background: rgba(0,206,209,0.2);
|
|
border: 2rpx solid rgba(0,206,209,0.3);
|
|
border-radius: 16rpx;
|
|
font-size: 24rpx;
|
|
color: #00CED1;
|
|
line-height: normal;
|
|
}
|
|
.get-phone-btn::after { border: none; }
|
|
|
|
/* 自动提现卡片 */
|
|
.auto-withdraw-card { margin-top: 24rpx; }
|
|
.auto-withdraw-content { padding-top: 16rpx; }
|
|
.withdraw-switch-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16rpx 0;
|
|
}
|
|
.switch-label { font-size: 28rpx; color: #fff; }
|
|
.withdraw-info {
|
|
background: rgba(0,206,209,0.1);
|
|
border-radius: 16rpx;
|
|
padding: 20rpx;
|
|
margin-top: 16rpx;
|
|
}
|
|
.info-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8rpx 0;
|
|
}
|
|
.info-label { font-size: 26rpx; color: rgba(255,255,255,0.6); }
|
|
.info-value { font-size: 26rpx; color: #00CED1; }
|
|
.withdraw-tip {
|
|
display: block;
|
|
font-size: 22rpx;
|
|
color: rgba(255,255,255,0.4);
|
|
margin-top: 12rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
/* 提现提示 */
|
|
.tip-banner { background: rgba(255,165,0,0.1); border: 2rpx solid rgba(255,165,0,0.3); border-radius: 20rpx; padding: 20rpx 24rpx; margin-bottom: 24rpx; }
|
|
.tip-text { font-size: 24rpx; color: #FFA500; line-height: 1.5; }
|
|
|
|
/* 设置组 */
|
|
.settings-group { background: #1c1c1e; border-radius: 32rpx; overflow: hidden; margin-bottom: 24rpx; }
|
|
.settings-item { display: flex; align-items: center; justify-content: space-between; padding: 28rpx 32rpx; border-bottom: 2rpx solid rgba(255,255,255,0.05); }
|
|
.settings-item:last-child { border-bottom: none; }
|
|
.item-left { display: flex; align-items: center; gap: 16rpx; }
|
|
.item-icon { font-size: 36rpx; }
|
|
.item-title { font-size: 28rpx; color: #fff; }
|
|
.item-arrow { font-size: 28rpx; color: rgba(255,255,255,0.3); }
|
|
.item-value { font-size: 26rpx; color: rgba(255,255,255,0.5); }
|
|
|
|
/* 退出登录按钮 */
|
|
.logout-btn { margin-top: 48rpx; padding: 28rpx; background: rgba(244,67,54,0.1); border: 2rpx solid rgba(244,67,54,0.3); border-radius: 24rpx; text-align: center; font-size: 28rpx; color: #F44336; }
|
|
|
|
/* 弹窗 - 简洁大气风格 */
|
|
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); 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: linear-gradient(180deg, #1c1c1e 0%, #0d0d0d 100%); border-radius: 40rpx; overflow: hidden; border: 2rpx solid rgba(255,255,255,0.08); }
|
|
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 40rpx 40rpx 24rpx; }
|
|
.modal-title { font-size: 36rpx; font-weight: 700; color: #fff; }
|
|
.modal-close { width: 64rpx; height: 64rpx; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32rpx; color: rgba(255,255,255,0.5); }
|
|
.modal-body { padding: 16rpx 40rpx 48rpx; }
|
|
.input-wrapper { margin-bottom: 32rpx; }
|
|
.form-input { width: 100%; padding: 32rpx 24rpx; background: rgba(255,255,255,0.05); border: 2rpx solid rgba(255,255,255,0.1); border-radius: 24rpx; font-size: 32rpx; color: #fff; box-sizing: border-box; transition: all 0.2s; }
|
|
.form-input:focus { border-color: rgba(0,206,209,0.5); background: rgba(0,206,209,0.05); }
|
|
.input-placeholder { color: rgba(255,255,255,0.25); }
|
|
.bind-tip { font-size: 24rpx; color: rgba(255,255,255,0.4); margin-bottom: 40rpx; display: block; line-height: 1.6; text-align: center; }
|
|
.btn-primary { padding: 32rpx; background: linear-gradient(135deg, #00CED1 0%, #20B2AA 100%); color: #000; font-size: 32rpx; font-weight: 600; text-align: center; border-radius: 28rpx; }
|
|
.btn-primary.btn-disabled { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.3); }
|