更新:提取公共选择商品组件

This commit is contained in:
2025-11-19 14:16:01 +08:00
parent d76c6cdff1
commit 2731bfba38
12 changed files with 156 additions and 84 deletions

15
types/order.d.ts vendored
View File

@@ -1,4 +1,17 @@
// types/order.d.ts
/**
* 商品信息
**/
export interface IGoods {
productId: number
productName: string
productImages: string
price: number
vipPrice: number | null
activityPrice: number | null
isVipPrice: number // 是否有VIP优惠 0-否 1-是
productAmount: number // 购买数量
delFlag?: number // 删除标记 -1-已下架
}
/**
* 订单创建参数接口