新增添加优惠券页面

This commit is contained in:
gyq
2025-11-20 18:47:52 +08:00
parent 61447986c5
commit 05b9551126
10 changed files with 1062 additions and 14 deletions

View File

@@ -43,6 +43,19 @@ export const emunList = {
value: 'yes'
}
],
getMode: [{
label: '首页-优惠券',
value: 'home'
},
{
label: '点餐页-自动弹出',
value: 'eat'
},
{
label: '订单支付页面',
value: 'order'
}
],
validType: [{
label: '领券后有效期内可用',
value: 'fixed'
@@ -51,6 +64,29 @@ export const emunList = {
label: '固定有效期范围内可用',
value: 'custom'
}
],
useRule: [{
label: '从最低价开始抵扣',
value: 'price_asc'
},
{
label: '从最高价开始抵扣',
value: 'price_desc'
}
],
getUserType: [{
label: '全部用户可领',
value: 'all'
},
{
label: '仅新用户可领取一张',
value: 'new'
},
{
label: '仅会员可领取',
value: 'vip'
},
]
}