fix(specialArea): 专区改名

This commit is contained in:
woody 2025-09-18 16:12:42 +08:00
parent 52ecb92255
commit 6831d7c30d
3 changed files with 9 additions and 5 deletions

View File

@ -379,7 +379,7 @@
{
"path": "pages/regiest/index",
"style": {
"navigationBarTitleText": "注册专区"
"navigationBarTitleText": "精品专区"
}
},
{
@ -440,7 +440,7 @@
{
"path": "pages/other/index",
"style": {
"navigationBarTitleText": "注册专区"
"navigationBarTitleText": "精品专区"
}
},
{

View File

@ -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,

View File

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