From 5ff710c6a05a3cf2a210103ff8a5031356c86cc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com>
Date: Mon, 16 Mar 2026 00:20:42 +0800
Subject: [PATCH] =?UTF-8?q?feat(order):=20=E5=A2=9E=E5=8A=A0=E8=AE=A2?=
=?UTF-8?q?=E5=8D=95=E7=A1=AE=E8=AE=A4=E9=A1=B5=E9=9D=A2=E6=95=B0=E9=87=8F?=
=?UTF-8?q?=E6=AD=A5=E9=95=BF=E6=8E=A7=E5=88=B6=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在订单确认页面实现商品购买数量的步长控制机制
- 添加了商品模型中的step字段支持,用于定义购买步长
- 实现了水票套票模板的step配置和最小购买数量逻辑
- 优化了订单参数解析逻辑,支持orderData模式下的商品规格信息传递
- 更新了API基础URL配置,切换到新的测试服务器地址
- 在下单接口中增加了skuId和specInfo参数传递支持
- 完善了数量变更时的价格计算和库存限制逻辑
---
src/shop/orderConfirm/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shop/orderConfirm/index.tsx b/src/shop/orderConfirm/index.tsx
index 6575189..9616958 100644
--- a/src/shop/orderConfirm/index.tsx
+++ b/src/shop/orderConfirm/index.tsx
@@ -957,7 +957,7 @@ const OrderConfirm = () => {
{goods.name}
{/*80g/袋*/}
- ¥{goods.price}*{goods.step}
+ ¥{goods.price}