Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cauchy-ui
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
ui
cauchy-ui
Commits
3bf656e2
Commit
3bf656e2
authored
Jul 19, 2021
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改支付参数问题
parent
e38fa0d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
pay.js
src/service/pay.js
+3
-1
PayGroupCard.vue
src/views/pay/components/PayGroupCard.vue
+1
-4
No files found.
src/service/pay.js
View file @
3bf656e2
...
@@ -63,9 +63,11 @@ function payByWeixinH5(info) {
...
@@ -63,9 +63,11 @@ function payByWeixinH5(info) {
const
orderNo
=
cookies
.
get
(
'
orderNo
'
)?.
orderNo
;
const
orderNo
=
cookies
.
get
(
'
orderNo
'
)?.
orderNo
;
info
.
params
.
isXyqb
=
isXyqb
?
1
:
0
;
info
.
params
.
isXyqb
=
isXyqb
?
1
:
0
;
info
.
params
.
isWxH5
=
1
;
info
.
params
.
isWxH5
=
1
;
info
.
params
.
vccToken
=
vccToken
;
info
.
params
.
orderNo
=
orderNo
;
const
currentPath
=
encodeURIComponent
(
const
currentPath
=
encodeURIComponent
(
window
.
location
.
origin
+
window
.
location
.
origin
+
`/payWaiting?vccToken=
${
vccToken
}
&orderNo=
${
orderNo
}
`
+
'
/payWaiting
'
+
qs
.
stringify
(
info
.
params
,
{
encode
:
true
,
addQueryPrefix
:
true
})
qs
.
stringify
(
info
.
params
,
{
encode
:
true
,
addQueryPrefix
:
true
})
);
);
// window.location.href = `${info.url}&redirect_url=${currentPath}`;
// window.location.href = `${info.url}&redirect_url=${currentPath}`;
...
...
src/views/pay/components/PayGroupCard.vue
View file @
3bf656e2
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
:coupon-info=
"couponInfo"
:coupon-info=
"couponInfo"
:show-coupon=
"showCoupon"
:show-coupon=
"showCoupon"
:risk-limit=
"riskLimit"
:risk-limit=
"riskLimit"
:coupon-disabled=
"couponDisabled"
/>
/>
</div>
</div>
<div
class=
"dashed"
>
<div
class=
"dashed"
>
...
@@ -94,10 +95,6 @@ export default {
...
@@ -94,10 +95,6 @@ export default {
}
}
this
.
pay
.
changePayType
(
payType
,
mergePayPretreatmentInfo
);
this
.
pay
.
changePayType
(
payType
,
mergePayPretreatmentInfo
);
},
},
openCouponModal
()
{
if
(
this
.
couponDisabled
)
return
;
this
.
pay
.
openCouponModal
(
this
.
pay
.
orderNo
);
},
openMore
()
{
openMore
()
{
this
.
morePopup
=
true
;
this
.
morePopup
=
true
;
}
}
...
...
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