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
ca1d27be
authored
May 14, 2020
by
赵艳波
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
tj
parent
749e6f06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
8 deletions
src/views/More/index.vue
src/views/More/index.vue
View file @
ca1d27be
...
...
@@ -75,16 +75,35 @@ export default {
methods
:
{
...
mapActions
([
"loadMoreList"
,
"loadMoreSummary"
,
"loadPayUrl"
]),
toPay
()
{
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=19&selected=0&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
console
.
log
(
'payUrl='
,
payUrl
);
window
.
location
.
href
=
payUrl
;
this
.
$bridge
.
setPageNavState
({
headerColor
:
"#fff"
,
isShowClose
:
false
,
isShowBack
:
true
,
isCloseLeft
:
true
,
isShowTitle
:
true
,
isShowNav
:
true
,
isCloseWebView
:
false
});
this
.
$bridge
.
setBarColor
({
barColor
:
"#ffffff"
})
.
then
(
res
=>
{});
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=19&selected=0&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
console
.
log
(
"payUrl="
,
payUrl
);
window
.
location
.
href
=
payUrl
;
},
toPage
()
{
this
.
$router
.
push
({
name
:
"billrecord"
,
query
:
{
accountId
:
this
.
summary
.
accountId
,
fromType
:
'more'
}
query
:
{
accountId
:
this
.
summary
.
accountId
,
fromType
:
"more"
}
});
},
toNextPage
(
index
,
name
)
{
...
...
@@ -117,9 +136,9 @@ export default {
async
mounted
()
{
this
.
setPageNavState
();
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
await
this
.
getData
();
await
this
.
getData
();
},
async
created
(){
async
created
()
{
this
.
payUrl
=
await
this
.
loadPayUrl
();
}
};
...
...
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