Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李智书
xzf_uniapp-wechat-web
Commits
b36e40f0
Commit
b36e40f0
authored
Mar 10, 2022
by
李智书
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.校智付缴费项目
parent
f43e7d92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
15 deletions
+21
-15
src/pages.json
src/pages.json
+1
-0
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
+20
-15
No files found.
src/pages.json
View file @
b36e40f0
...
@@ -335,6 +335,7 @@
...
@@ -335,6 +335,7 @@
},
{
},
{
"path"
:
"pages/StudentPayment/PayOrderDetails/PayOrderDetails"
,
"path"
:
"pages/StudentPayment/PayOrderDetails/PayOrderDetails"
,
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
,
"navigationBarTitleText"
:
"交费订单明细"
,
"navigationBarTitleText"
:
"交费订单明细"
,
"navigationBarTextStyle"
:
"white"
,
"navigationBarTextStyle"
:
"white"
,
"navigationBarBackgroundColor"
:
"#01CB88"
,
"navigationBarBackgroundColor"
:
"#01CB88"
,
...
...
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
View file @
b36e40f0
...
@@ -153,19 +153,23 @@
...
@@ -153,19 +153,23 @@
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
let
this_
=
this
;
let
this_
=
this
;
let
personalInfo
=
uni
.
getStorageSync
(
"
personalInfo
"
)
let
personalInfo
=
uni
.
getStorageSync
(
"
personalInfo
"
)
this
.
allData
=
Object
.
assign
(
options
,
personalInfo
)
let
PayOrderDetails
=
uni
.
getStorageSync
(
"
PayOrderDetails
"
)
if
(
options
.
PayResult
)
{
this
.
allData
=
Object
.
assign
(
options
,
personalInfo
,
{
uni
.
showLoading
({
chargeId
:
PayOrderDetails
.
id
mask
:
true
,
})
title
:
"
查询支付结果
"
if
(
options
.
PaymentRsults
)
{
})
this_
.
dialogShow
=
true
setTimeout
(
function
()
{
this
.
PaymentRsults
=
parseInt
(
options
.
PaymentRsults
)
uni
.
hideLoading
()
// uni.showLoading({
this_
.
getPayParams
(
uni
.
getStorageSync
(
"
prepayId
"
))
// mask: true,
},
1000
)
// title: "查询支付结果"
}
else
{
// })
this
.
queryChargeProDetail
()
// setTimeout(function() {
// uni.hideLoading()
// this_.returnPaymentResult(uni.getStorageSync("prepayId"))
// }, 1000)
}
}
this
.
queryChargeProDetail
()
},
},
onShow
:
function
()
{
onShow
:
function
()
{
// uni.showLoading({
// uni.showLoading({
...
@@ -391,9 +395,10 @@
...
@@ -391,9 +395,10 @@
})
})
return
return
}
}
console
.
warn
(
`/pages/WxPay/main?`
+
OforS
(
data
.
data
))
data
.
data
.
package
=
encodeURIComponent
(
data
.
data
.
package
)
jWeixin
.
miniProgram
.
switchTab
({
console
.
warn
(
`/pages/toPayAuth/main?`
+
OforS
(
data
.
data
))
url
:
`/pages/WxPay/main?`
+
OforS
(
data
.
data
),
jWeixin
.
miniProgram
.
redirectTo
({
url
:
`/pages/toPayAuth/main?`
+
OforS
(
data
.
data
),
});
});
}
catch
(
e
)
{
}
catch
(
e
)
{
//TODO handle the exception
//TODO handle the exception
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment