From 6831d7c30d41eca63bd0788288c70e81ff860e2f Mon Sep 17 00:00:00 2001 From: woody Date: Thu, 18 Sep 2025 16:12:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(specialArea):=20=E4=B8=93=E5=8C=BA=E6=94=B9?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 4 ++-- pages/pay/success.vue | 6 +++++- util/specialAreaMap.js | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pages.json b/pages.json index ec8cef4..8826664 100644 --- a/pages.json +++ b/pages.json @@ -379,7 +379,7 @@ { "path": "pages/regiest/index", "style": { - "navigationBarTitleText": "注册专区" + "navigationBarTitleText": "精品专区" } }, { @@ -440,7 +440,7 @@ { "path": "pages/other/index", "style": { - "navigationBarTitleText": "注册专区" + "navigationBarTitleText": "精品专区" } }, { diff --git a/pages/pay/success.vue b/pages/pay/success.vue index 269b65e..5f77684 100644 --- a/pages/pay/success.vue +++ b/pages/pay/success.vue @@ -64,6 +64,7 @@ import { payStatus, registerInfo } from '@/config/pay.js' import { registeredAutoLogin } from '@/config/login.js' import successDialog from '@/components/successDialog.vue' import { setToken } from '@/config/auth.js' +import { REGIEST_AREA } from '@/util/specialAreaMap' import store from '@/store' let paySetTimeoutFlag = null let getRegisterInfoTimeoutFlag = null @@ -134,7 +135,10 @@ export default { if (res.data == 1) { this.payStatus = 1 clearTimeout(paySetTimeoutFlag) - if ([1, 7, 24].includes(Number(this.specialArea))) { + if ( + [REGIEST_AREA.id].includes(Number(this.specialArea)) || + this.isSharePay + ) { uni.showLoading({ title: '注册信息加载中...', mask: false, diff --git a/util/specialAreaMap.js b/util/specialAreaMap.js index 02c2991..e88463c 100644 --- a/util/specialAreaMap.js +++ b/util/specialAreaMap.js @@ -1,6 +1,6 @@ export const REGIEST_AREA = { id: 41, - name: '注册专区', + name: '精品专区', } export const UPGRADE_AREA = { @@ -14,5 +14,5 @@ export const REISSUE_AREA = { } export const REPURCHASE_AREA = { id: 43, - name: '复购专区', + name: '商城专区', }