Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
hrs_app_h5
/
bill
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a49b1ade
authored
Jul 13, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
0c535296
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/views/Bill/index.vue
src/views/Bill/index.vue
View file @
a49b1ade
...
@@ -256,7 +256,7 @@ export default {
...
@@ -256,7 +256,7 @@ export default {
const
tempStr
=
tempArr
[
1
];
const
tempStr
=
tempArr
[
1
];
const
QQXBUA
=
JSON
.
parse
(
tempStr
);
const
QQXBUA
=
JSON
.
parse
(
tempStr
);
let
version
=
QQXBUA
.
version
;
let
version
=
QQXBUA
.
version
;
console
.
log
(
'version='
,
version
);
console
.
log
(
"version="
,
version
);
if
(
version
<
"2.1.9"
)
{
if
(
version
<
"2.1.9"
)
{
this
.
toPay_old
();
this
.
toPay_old
();
}
else
{
}
else
{
...
@@ -295,7 +295,7 @@ export default {
...
@@ -295,7 +295,7 @@ export default {
barColor
:
"#ffffff"
barColor
:
"#ffffff"
})
})
.
then
(
res
=>
{});
.
then
(
res
=>
{});
console
.
log
(
"setBarColor"
);
const
failUrl
=
encodeURIComponent
(
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
"https://pay.qinqinxiaobao.com/callback/fail"
);
);
...
@@ -307,6 +307,7 @@ export default {
...
@@ -307,6 +307,7 @@ export default {
const
selected
=
0
;
const
selected
=
0
;
const
fee
=
this
.
data
.
waitPay
;
const
fee
=
this
.
data
.
waitPay
;
let
payUrl
=
`
${
this
.
payUrl
}
&accountId=
${
this
.
currentPerId
}
&payMethod=
${
payMethod
}
&payType=
${
payType
}
&fee=
${
fee
}
&selected=0&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
let
payUrl
=
`
${
this
.
payUrl
}
&accountId=
${
this
.
currentPerId
}
&payMethod=
${
payMethod
}
&payType=
${
payType
}
&fee=
${
fee
}
&selected=0&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
console
.
log
(
"old_pay_url="
,
payUrl
);
window
.
onpageshow
=
null
;
window
.
onpageshow
=
null
;
window
.
onpageshow
=
function
(
event
)
{
window
.
onpageshow
=
function
(
event
)
{
location
.
reload
();
location
.
reload
();
...
...
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