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
6ab21063
authored
May 09, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
payment
parent
10ceb282
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
13 deletions
src/router/index.js
src/views/Bill/index.vue
src/views/More/index.vue
src/router/index.js
View file @
6ab21063
...
...
@@ -108,6 +108,5 @@ router.beforeEach((to, from, next) => {
router
.
beforeEach
(
vuexOidcCreateRouterMiddleware
(
store
));
//TODO: 把callBack中的app_register_id逻辑替换到这里
export
default
router
src/views/Bill/index.vue
View file @
6ab21063
...
...
@@ -420,9 +420,7 @@ export default {
setBarHeight
()
{
setTimeout
(()
=>
{
const
barHeight
=
localStorage
.
getItem
(
"barHeight"
);
console
.
log
(
"bill barHeight="
,
barHeight
);
const
conHeight
=
46
+
parseInt
(
barHeight
);
console
.
log
(
"bill conHeight="
,
conHeight
);
const
dom
=
document
.
getElementsByClassName
(
"iosStyle"
)[
0
];
if
(
dom
)
{
dom
.
setAttribute
(
...
...
src/views/More/index.vue
View file @
6ab21063
...
...
@@ -75,15 +75,9 @@ export default {
methods
:
{
...
mapActions
([
"loadMoreList"
,
"loadMoreSummary"
,
"loadPayUrl"
]),
toPay
()
{
let
payUrl
=
this
.
payUrl
+
"&accountType=1&payType=3&selected=1&failUrl="
+
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
)
+
"&successUrl="
+
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
)
+
""
+
"&periodId="
+
this
.
currentPerId
;
const
failUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const
successUrl
=
encodeURIComponent
(
"https://pay.qinqinxiaobao.com/callback/success"
);
let
payUrl
=
`
${
this
.
payUrl
}
&accountType=19&failUrl=
${
failUrl
}
&successUrl=
${
successUrl
}
`
;
window
.
open
(
payUrl
);
},
toPage
()
{
...
...
@@ -123,7 +117,7 @@ export default {
this
.
setPageNavState
();
this
.
globalNavLeftArrowClick
(
this
.
navLeftArrowClick
);
await
this
.
getData
();
//
this.payUrl = await this.loadPayUrl();
this
.
payUrl
=
await
this
.
loadPayUrl
();
}
};
</
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