feat: enhance login modal and avatar selection process

- Updated the login modal to include a user agreement section with clickable links to the user agreement and privacy policy.
- Improved button styling and layout for better user experience.
- Refactored avatar selection process to utilize local image paths, enhancing compatibility and reliability across different environments.
- Added utility functions for resolving avatar file paths and selecting images from the gallery or camera.

This update aims to streamline user interactions during login and avatar selection, ensuring a smoother experience.
This commit is contained in:
乘风
2026-05-06 17:21:10 +08:00
parent 5a88e87654
commit c78a0d531f
49 changed files with 5460 additions and 492 deletions

View File

@@ -29,7 +29,7 @@
| 登录 | 微信手机号组件 + 协议勾选 | 手机号 + `/h5/login-by-phone`;弹窗**强制协议勾选**与小程序流程对齐 |
| 支付 | `wx.requestPayment` | 提示使用小程序;不下发真实支付 |
| 一键收款 / 商户转账 | 微信 `requestMerchantTransfer` | 提示小程序完成 |
| 分享 / 场景值 | 微信分享 | 未接 |
| 分享 / 场景值 | 微信分享`onShareAppMessage` | **H5 独立方案**Web Share、`h5Share` 工具、`docs/H5_SHARE.md` |
| 我的页子功能 | 跳转各页 | 已改为 **同路径壳页**(返回栈一致),非仅 Toast |
## 4. 样式 1:1 策略