feat: refine tiangong flows and integrate profile avatars
This commit is contained in:
1 parent
4608dbd5cf
commit
5be2ca6b50
65 files changed
+2099
-532
No files matched your search
@@ -16,4 +16,16 @@ npm install
|
||||
npm run dev:weapp
|
||||
```
|
||||
|
||||
后端默认请求 `http://localhost:8080`,可在 `src/services/request.ts` 修改。
|
||||
后端默认请求 `http://127.0.0.1:8080`,可通过构建环境变量 `HERA_API_BASE_URL` 指定测试地址:
|
||||
|
||||
```bash
|
||||
HERA_API_BASE_URL=https://your-test-api.example.com npm run build:weapp
|
||||
```
|
||||
|
||||
H5 真实接口模式不要携带 `?preview=1`;该参数仅用于只读素材预览,不登录、不保存或上传。
|
||||
微信注册需在微信开发者工具/小程序中完成,H5 不生成假微信登录凭证。
|
||||
资料及头像联调、接口和验收说明见 [账号联调说明](docs/account-backend-integration.md)。
|
||||
|
||||
微信构建后自动执行 WXSS 兼容检查(也可单独运行 `npm run check:wxss`)。
|
||||
本机存在微信开发者工具的 `wcsc` 时会额外编译全部 WXSS,避免 Taro 构建通过但微信样式编译失败。
|
||||
其他安装位置可通过 `WECHAT_WXSS_COMPILER` 指定编译器路径;未安装时只做静态检查并明确提示。
|
||||
Reference in new issue
Block a user