feat(order): 增加订单确认页面数量步长控制功能
- 在订单确认页面实现商品购买数量的步长控制机制 - 添加了商品模型中的step字段支持,用于定义购买步长 - 实现了水票套票模板的step配置和最小购买数量逻辑 - 优化了订单参数解析逻辑,支持orderData模式下的商品规格信息传递 - 更新了API基础URL配置,切换到新的测试服务器地址 - 在下单接口中增加了skuId和specInfo参数传递支持 - 完善了数量变更时的价格计算和库存限制逻辑
This commit is contained in:
@@ -957,7 +957,7 @@ const OrderConfirm = () => {
|
||||
<Text className={'font-medium w-full'}>{goods.name}</Text>
|
||||
{/*<Text className={'number text-gray-400 text-sm py-2'}>80g/袋</Text>*/}
|
||||
<View className={'flex justify-between items-center'}>
|
||||
<Text className={'text-red-500'}>¥{goods.price}*{goods.step}</Text>
|
||||
<Text className={'text-red-500'}>¥{goods.price}</Text>
|
||||
<View className={'flex flex-col items-end gap-1'}>
|
||||
<ConfigProvider theme={customTheme}>
|
||||
<InputNumber
|
||||
|
||||
Reference in New Issue
Block a user