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: '商城专区', }