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
ff58c49a
authored
2026-04-17 15:07:38 +0800
by
张猛
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
支付
1 parent
b9272f18
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
level/paymentDetail.vue
myCenter/payOrder.vue
level/paymentDetail.vue
View file @
ff58c49
...
...
@@ -225,7 +225,10 @@ const handleSubmit = async () => {
if
(
res
==
'OK'
)
{
uni
.
showToast
({
title
:
'支付成功'
,
icon
:
'success'
});
setTimeout
(()
=>
{
uni
.
navigateBack
();
// uni.navigateBack();
uni
.
redirectTo
({
url
:
'/level/apply'
})
},
1500
)
}
}
...
...
myCenter/payOrder.vue
View file @
ff58c49
...
...
@@ -108,6 +108,10 @@ async function handlePay() {
try
{
payLoading
.
value
=
true
uni
.
showToast
({
title
:
'支付中...'
,
mask
:
true
})
const
res
=
await
api
.
goPay
(
rangeId
.
value
,
'2'
)
if
(
res
.
data
.
payResult
&&
res
.
data
.
payResult
.
encryptedData
)
{
const
reason
=
await
minShengPay
(
res
.
data
.
orderId
,
res
.
data
.
payResult
.
encryptedData
)
...
...
@@ -119,7 +123,10 @@ async function handlePay() {
uni
.
showToast
({
title
:
'支付成功'
,
icon
:
'success'
});
setTimeout
(()
=>
{
uni
.
navigateBack
();
uni
.
hideLoading
()
uni
.
redirectTo
({
url
:
`/personalVip/payment`
})
},
1500
)
}
}
...
...
@@ -133,6 +140,7 @@ async function handlePay() {
icon
:
'none'
})
}
finally
{
uni
.
hideLoading
()
payLoading
.
value
=
false
}
}
...
...
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