feat(礼品卡管理): 添加礼品卡选择、绑定、激活及列表功能

- 在购物车API中新增选择礼品卡的接口
- 在促销API中添加获取、绑定和激活礼品卡的接口
- 在订单详情和支付页面中展示礼品卡抵扣信息
- 新增“我的礼品卡”页面,支持礼品卡的查看、绑定和激活功能
- 更新路由配置以支持礼品卡相关页面
This commit is contained in:
pikachu1995@126.com
2026-05-22 11:48:19 +08:00
parent 1750f04d0b
commit ad0522335e
18 changed files with 3685 additions and 35 deletions

View File

@@ -224,6 +224,41 @@ export const otherRouter = {
name: "manager-coupon",
component: () => import("@/views/promotions/coupon/coupon.vue")
},
{
path: "promotions/gift-card-cash",
title: "礼品卡",
name: "manager-gift-card-cash",
component: () =>
import("@/views/promotions/gift-card-cash/gift-card-cash-activity.vue")
},
{
path: "promotions/add-gift-card-cash-activity",
title: "添加礼品卡",
name: "add-gift-card-cash-activity",
component: () =>
import("@/views/promotions/gift-card-cash/gift-card-cash-activity-add.vue")
},
{
path: "promotions/edit-gift-card-cash-activity",
title: "编辑礼品卡",
name: "edit-gift-card-cash-activity",
component: () =>
import("@/views/promotions/gift-card-cash/gift-card-cash-activity-add.vue")
},
{
path: "promotions/gift-card-cash-records",
title: "礼品卡记录",
name: "gift-card-cash-records",
component: () =>
import("@/views/promotions/gift-card-cash/gift-card-cash-records.vue")
},
{
path: "promotions/gift-card-cash-batch-credentials",
title: "制卡批次卡密",
name: "gift-card-cash-batch-credentials",
component: () =>
import("@/views/promotions/gift-card-cash/gift-card-cash-batch-credentials.vue")
},
{
path: "promotions/coupon-receive",
title: "优惠券领取记录",