diff --git a/README.md b/README.md index a45d783..0d7e550 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ lilishop-uniapp ## 8. 升级计划 -> 更新日期:2026-11-05,依据各端提交记录及当前代码实现同步。 +> 更新日期:2026-11-12,依据各端提交记录及当前代码实现同步。 ### ✅ 已完成功能 @@ -168,6 +168,8 @@ lilishop-uniapp | 时间 | 功能模块 | 完成内容 | | :--- | :--- | :--- | +| 2026-11-12 | 优惠券礼包 | 新增移动端优惠券礼包专属落地页,支持总立省金额展示、子券清单、一键全部领取。 | +| 2026-11-12 | 出库单 / 库存流水 | 支持商家端出库单管理(录入、审核与作废)及商品库存流水台账。 | | 2026-11-06 | 提货卡 | 支持提货卡活动与候选商品配置、制卡发卡、兑换核销及使用记录管理。 | | 2026-11-05 | 付费会员 | 单一付费会员、开通与续费、有效期、关联权益、商家与商品折扣、平台补贴及付费记录。 | | 2026-11-04 | 客户等级体系 / 客户权益 | 等级配置、权益介绍、经验值任务与明细、权益发放及重试,提供默认等级与权益数据。 | diff --git a/api/promotions.js b/api/promotions.js index 2724ea0..d275b1a 100644 --- a/api/promotions.js +++ b/api/promotions.js @@ -239,3 +239,29 @@ export function activateGiftCardCashMemberCard(memberCardId) { } + +/** + * 获取优惠券礼包详情 + * @param {string} id 券礼包活动ID + * @author Bulbasaur + * @since 2026-11-12 + */ +export function getCouponPackageDetail(id) { + return http.request({ + url: /buyer/promotion/coupon/package/, + method: Method.GET, + }); +} + +/** + * 买家一键领取优惠券礼包 + * @param {string} id 券礼包活动ID + * @author Bulbasaur + * @since 2026-11-12 + */ +export function receiveCouponPackage(id) { + return http.request({ + url: /buyer/promotion/coupon/package/receive/, + method: Method.POST, + }); +} \ No newline at end of file diff --git a/pages.json b/pages.json index b83795a..1d188a4 100644 --- a/pages.json +++ b/pages.json @@ -732,6 +732,14 @@ { "root": "pages/promotion", "pages": [ { + "path": "coupon-pack", + "style": { + "navigationBarTitleText": "专属优惠券礼包", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#ff4142" + } + }, + { "path": "seckill", "style": { "navigationBarTitleText": "限时抢购", diff --git a/pages/promotion/coupon-pack.vue b/pages/promotion/coupon-pack.vue new file mode 100644 index 0000000..6925b61 --- /dev/null +++ b/pages/promotion/coupon-pack.vue @@ -0,0 +1,500 @@ + + + + + +