Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
ztx_wx_gzt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3b993e08
authored
2026-06-02 11:54:01 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
会员过期提醒
1 parent
8d9389d9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
31 deletions
myCenter/auth.vue
pages/index/daoGuanPerson.vue
personalVip/payment.vue
myCenter/auth.vue
View file @
3b993e0
...
...
@@ -507,7 +507,7 @@ function payTheFees() {
height
:
100%
;
top
:
0
;
left
:
0
;
background
:
linear-gradient
(
180deg
,
rgba
(
0
,
0
,
0
,
0
),
rgba
(
0
,
0
,
0
,
0.7
));
//
background
:
linear-gradient
(
180deg
,
rgba
(
0
,
0
,
0
,
0
),
rgba
(
0
,
0
,
0
,
0.7
));
}
text
{
...
...
pages/index/daoGuanPerson.vue
View file @
3b993e0
...
...
@@ -234,43 +234,62 @@ function checkImgExist() {
}
function
handleAccountStatus
()
{
console
.
log
(
'handleAccountStatus22'
,
userType
.
value
,
app
.
globalData
.
authenticationStatus
)
if
(
userType
.
value
!=
'1'
&&
app
.
globalData
.
authenticationStatus
!=
'2'
&&
app
.
globalData
.
authenticationStatus
!=
'4'
)
{
const
authStatus
=
String
(
app
.
globalData
.
authenticationStatus
)
const
memberInfoData
=
app
.
globalData
.
memberInfo
||
{}
const
activeStatus
=
memberInfoData
.
activeStatus
if
(
!
app
.
globalData
.
authenticationStatus
||
authStatus
===
'undefined'
||
authStatus
===
'0'
||
authStatus
===
'3'
)
{
uni
.
navigateTo
({
url
:
'/pages/index/perfect'
})
return
}
if
(
app
.
globalData
.
authenticationStatus
==
'5'
)
{
const
content
=
app
.
globalData
.
genFlag
==
1
?
'您的会员已过期'
:
'会员已过期,请及时续费'
uni
.
showModal
({
title
:
'提示'
,
content
,
success
:
(
res
)
=>
{
if
(
res
.
confirm
&&
app
.
globalData
.
genFlag
!=
1
)
{
uni
.
navigateTo
({
url
:
'/myCenter/auth'
})
if
(
authStatus
===
'1'
)
{
if
(
!
memberInfoData
.
memCode
)
{
uni
.
navigateTo
({
url
:
'/pages/index/perfect'
})
}
return
}
if
(
authStatus
===
'2'
)
{
if
(
activeStatus
==
0
)
{
showMemberStatusDialog
(
'你的会员未激活,请前去激活!'
,
true
)
}
})
return
}
if
(
app
.
globalData
.
authenticationStatus
==
'4'
)
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'你的会员即将过期,将会影响你的业务,请及时续费'
})
if
(
authStatus
===
'4'
)
{
if
(
activeStatus
==
0
)
{
showMemberStatusDialog
(
'你的会员未激活,请前去激活!'
,
true
)
return
}
showMemberStatusDialog
(
'你的会员即将过期,将会影响你的业务,请及时续费!'
,
false
)
return
}
if
(
app
.
globalData
.
memberInfo
?.
activeStatus
==
0
)
{
uni
.
showModal
({
content
:
'账号未激活,请前去激活'
,
success
:
(
res
)
=>
{
if
(
res
.
confirm
)
{
if
(
authStatus
===
'5'
)
{
if
(
activeStatus
==
0
)
{
showMemberStatusDialog
(
'你的会员未激活,请前去激活!'
,
true
)
return
}
const
content
=
app
.
globalData
.
genFlag
!=
1
?
'您的会员已过期,将会影响你的业务办理,请及时续费!'
:
'您的会员已过期!'
showMemberStatusDialog
(
content
,
app
.
globalData
.
genFlag
!=
1
)
}
}
function
showMemberStatusDialog
(
content
,
shouldGoAuth
)
{
showModal
({
title
:
'提示'
,
content
,
showCancel
:
false
,
confirmText
:
'确定'
,
onConfirm
:
()
=>
{
if
(
shouldGoAuth
)
{
uni
.
navigateTo
({
url
:
'/myCenter/auth'
})
}
}
})
}
}
function
goPath
(
path
)
{
...
...
@@ -404,14 +423,11 @@ function checkDialogs() {
}
async
function
checkExamPointDialog
()
{
console
.
log
(
'checkExamPointDialog'
,
app
.
globalData
.
userInfo
.
hintFlag
)
const
[
err
,
res
]
=
await
to
(
api
.
getMyRecentExam
())
if
(
err
)
return
const
examData
=
res
?.
data
const
status
=
examData
?.
auditStatus
const
canShowByExamStatus
=
examData
==
null
||
status
==
0
||
status
==
3
// (status == 0 || status == 3) &&
console
.
log
(
'122'
,
app
.
globalData
.
memberInfo
?.
activeStatus
,
app
.
globalData
.
authenticationStatus
,
app
.
globalData
.
deptType
,
app
.
globalData
.
userInfo
.
hintFlag
,
app
.
globalData
.
memberInfo
?.
isPoints
)
if
(
canShowByExamStatus
&&
app
.
globalData
.
memberInfo
?.
activeStatus
==
1
&&
app
.
globalData
.
authenticationStatus
==
2
&&
...
...
personalVip/payment.vue
View file @
3b993e0
...
...
@@ -592,12 +592,10 @@ onUnmounted(() => {
align-items
:
center
;
margin-top
:
14
rpx
;
padding
:
16
rpx
0
0
;
//
border-top
:
1
rpx
dashed
#f0f0f0
;
margin-bottom
:
10
rpx
;
padding-bottom
:
14
rpx
;
//
border-bottom
:
1
rpx
dashed
#f0f0f0
;
border
:
20
rpx
;
background-color
:
#f
0f0f0
;
background-color
:
#f
4f9fd
;
}
.summary-item
{
...
...
@@ -631,10 +629,10 @@ onUnmounted(() => {
.btn
{
width
:
108
rpx
;
height
:
48
rpx
;
line-height
:
4
8
rpx
;
line-height
:
4
6
rpx
;
padding
:
0
;
border-radius
:
10
rpx
;
font-size
:
2
4
rpx
;
font-size
:
2
2
rpx
;
white-space
:
nowrap
;
font-weight
:
bold
;
border
:
none
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment