feat(env): 更新开发环境 API 地址将开发环境的 API_BASE_URL 从本地地址更新为线上测试地址,确保开发时能正确连接后端服务。

feat(shop):优化订单确认页优惠券逻辑与支付信息记录- 增加商品总价计算过程的日志输出,便于排查数值精度问题
- 添加多处优惠券选择和推荐时的详细日志,提升调试能力
- 改进支付前数据记录,包含完整订单和优惠券信息
- 优化手动选择优惠券失败时的错误日志输出
- 调整 View 结构以修复分享按钮在某些情况下的渲染问题
- 微调商品详情页样式,增加左侧间距

refactor(shop): 包装分享按钮以提升结构稳定性在商品详情页中,将分享按钮包裹在 View 标签内,以增强组件结构稳定性和兼容性。
```
This commit is contained in:
2025-09-22 13:32:58 +08:00
parent 0725cd2e8a
commit 7ac2ed27e3
3 changed files with 112 additions and 23 deletions

View File

@@ -273,12 +273,14 @@ const GoodsDetail = () => {
</span>
</div>
</div>
<button
className={'flex flex-col justify-center items-center text-gray-500 px-1 gap-1 text-nowrap whitespace-nowrap'}
open-type="share"><Share
size={20}/>
<span className={'text-xs'}></span>
</button>
<View>
<button
className={'flex flex-col justify-center items-center text-gray-500 px-1 gap-1 text-nowrap whitespace-nowrap'}
open-type="share"><Share
size={20}/>
<span className={'text-xs'}></span>
</button>
</View>
</div>
</>
</div>