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
6213df3f
authored
May 17, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
payurl
parent
b69eff64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
14 deletions
src/views/Bill/index.vue
src/views/Bill/index.vue
View file @
6213df3f
...
@@ -234,17 +234,19 @@ export default {
...
@@ -234,17 +234,19 @@ export default {
"loadPayUrl"
"loadPayUrl"
]),
]),
toPay
()
{
toPay
()
{
this
.
$bridge
.
setPageNavState
({
this
.
$bridge
headerColor
:
"#fff"
,
.
setPageNavState
({
isShowClose
:
false
,
headerColor
:
"#fff"
,
isShowBack
:
true
,
isShowClose
:
false
,
isCloseLeft
:
true
,
isShowBack
:
true
,
isShowTitle
:
true
,
isCloseLeft
:
true
,
isShowNav
:
true
,
isShowTitle
:
true
,
isCloseWebView
:
false
isShowNav
:
true
,
}).
then
(
res
=>
{
isCloseWebView
:
false
console
.
log
(
'setPageNavState in bill index'
);
})
});
.
then
(
res
=>
{
console
.
log
(
"setPageNavState in bill index"
);
});
// this.$bridge
// this.$bridge
// .setBarColor({
// .setBarColor({
...
@@ -252,8 +254,12 @@ export default {
...
@@ -252,8 +254,12 @@ export default {
// })
// })
// .then(res => {});
// .then(res => {});
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
failUrl
=
encodeURIComponent
(
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
const
payMethod
=
0
;
const
payMethod
=
0
;
const
payType
=
4
;
const
payType
=
4
;
const
selected
=
0
;
const
selected
=
0
;
...
@@ -506,7 +512,11 @@ export default {
...
@@ -506,7 +512,11 @@ export default {
await
this
.
loadPeriodData
();
await
this
.
loadPeriodData
();
},
},
async
created
()
{
async
created
()
{
this
.
payUrl
=
await
this
.
loadPayUrl
();
this
.
payUrl
=
localStorage
.
getItem
(
"payUrl"
);
if
(
!
this
.
payUrl
)
{
this
.
payUrl
=
await
this
.
loadPayUrl
();
localStorage
.
setItem
(
"payUrl"
,
payUrl
);
}
}
}
};
};
</
script
>
</
script
>
...
...
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