From 4a3e41d7597148e33b5db5554e4d3680135a4a47 Mon Sep 17 00:00:00 2001 From: huangzhen Date: Fri, 13 Sep 2024 16:21:59 +0800 Subject: [PATCH] =?UTF-8?q?update=20@=E6=8E=A5=E5=8F=A3=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/datas.ts | 6 ++-- src/views/pages/comProduct/index.vue | 39 +++++++++++++++--------- src/views/templates/cmsCash/index.vue | 6 ++-- src/views/templates/cmsDetail/index.vue | 6 ++-- src/views/templates/cmsList/index.scss | 1 + src/views/templates/cmsList/index.vue | 5 +-- src/views/templates/cmsVoucher/index.vue | 6 ++-- 7 files changed, 41 insertions(+), 28 deletions(-) diff --git a/src/utils/datas.ts b/src/utils/datas.ts index 3d639ca..8707b7f 100644 --- a/src/utils/datas.ts +++ b/src/utils/datas.ts @@ -1,7 +1,7 @@ /** * 商品公共状态 err_code */ -export const { iconMap, btnMap, btnHighLight, receivingCode, btnPoll } = { +export const { iconMap, btnMap, btnHighLight, btnPoll, successCode } = { iconMap: new Map([ [12006, 'https://lsxdmgoss.oss-cn-chengdu.aliyuncs.com/MarketingSystem/image/front/jijiangkaishi.png'], // 即将开始 [14001, 'https://lsxdmgoss.oss-cn-chengdu.aliyuncs.com/MarketingSystem/image/front/yiduiwan.png'], // 已兑完 @@ -16,11 +16,11 @@ export const { iconMap, btnMap, btnHighLight, receivingCode, btnPoll } = { [14001, '已兑完'], [14003, '领取中'], // 已兑换,充值中 (隐藏轮询) [14004, '重新领取'], // 已兑换,充值失败(暂时直接轮询) // todo 清空授权逻辑 - [14005, '立即兑换'], // 已兑换,充值成功(非"已兑完"-继续领取) + [14005, '继续兑换'], // 已兑换,充值成功(非"已兑完"-继续领取) ]), btnHighLight: [14004, 14005], // 高亮按钮,点击不提示 - receivingCode: 14003, // 已兑换,充值中 btnPoll: [14004], // 直接轮询code + successCode: [14001, 14005], // 成功code }; diff --git a/src/views/pages/comProduct/index.vue b/src/views/pages/comProduct/index.vue index 87d6d2a..be919f7 100644 --- a/src/views/pages/comProduct/index.vue +++ b/src/views/pages/comProduct/index.vue @@ -14,7 +14,12 @@

一键领取 >