修复API + 优化用户体验

## 新增API
1. /api/user/update - 用户信息更新
2. /api/withdraw - 提现功能

## 我的页面
1. 头像使用微信原生chooseAvatar
2. 昵称使用input type="nickname"一键获取
3. ID点击复制

## 设置页面
1. 新增收货地址一键获取
2. 自动提现默认开启

## 找伙伴
1. "创业合伙"改为"找伙伴"
2. 所有匹配类型都从数据库匹配
This commit is contained in:
卡若
2026-01-29 12:44:29 +08:00
parent 3f54e1af47
commit 051f064707
8 changed files with 247 additions and 272 deletions

View File

@@ -77,6 +77,31 @@
height: 120rpx;
}
/* 头像按钮样式 */
.avatar-wrapper-btn {
position: relative;
flex-shrink: 0;
width: 120rpx;
height: 120rpx;
padding: 0;
margin: 0;
background: transparent;
border: none;
line-height: normal;
}
.avatar-wrapper-btn::after { border: none; }
/* 昵称输入框 */
.nickname-input {
flex: 1;
font-size: 32rpx;
font-weight: 600;
color: #fff;
background: transparent;
padding: 8rpx 0;
min-width: 0;
}
.avatar {
width: 120rpx;
height: 120rpx;