Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
new-sing
h5-base
Commits
c12cba86
Commit
c12cba86
authored
Sep 28, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rr
parent
6d0d2189
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
main.js
src/main.js
+2
-2
vancs.less
src/util/vancs.less
+10
-0
No files found.
src/main.js
View file @
c12cba86
...
@@ -12,7 +12,7 @@ import 'mint-ui/lib/style.css'
...
@@ -12,7 +12,7 @@ import 'mint-ui/lib/style.css'
import
scroll
from
"./base/scroll/scroll"
import
scroll
from
"./base/scroll/scroll"
import
{
Popup
,
Lazyload
,
Button
,
Dialog
,
Toast
}
from
'vant'
;
import
{
Popup
,
Lazyload
,
Button
,
Dialog
,
Toast
}
from
'vant'
;
import
{
getBillRefreshApi
,
getStatusWechatApi
}
from
'./service/api'
import
{
getBillRefreshApi
,
getStatusWechatApi
}
from
'./service/api'
import
'./util/vancs.less'
import
*
as
fundebug
from
'fundebug-javascript'
;
import
*
as
fundebug
from
'fundebug-javascript'
;
import
fundebugVue
from
'fundebug-vue'
;
import
fundebugVue
from
'fundebug-vue'
;
fundebug
.
apikey
=
'4d414770c72b034dfa896048206a72258ede4e4ad5f9c6c4320d19b7f91a567e'
;
fundebug
.
apikey
=
'4d414770c72b034dfa896048206a72258ede4e4ad5f9c6c4320d19b7f91a567e'
;
...
@@ -51,7 +51,7 @@ Vue.component('scroll', scroll);
...
@@ -51,7 +51,7 @@ Vue.component('scroll', scroll);
// 支付宝支付完成,订单状态查询
// 支付宝支付完成,订单状态查询
let
timer
=
null
;
let
timer
=
null
;
timer
=
setInterval
(()
=>
{
timer
=
setInterval
(()
=>
{
let
vanDialog
=
document
.
querySelectorAll
(
'.van-dialog'
)
Dialog
.
confirm
({
title
:
'标题'
,
message
:
'支付成功'
}).
then
(()
=>
{
Dialog
.
confirm
({
title
:
'标题'
,
message
:
'支付成功'
}).
then
(()
=>
{
if
(
res
.
buy_type
==
1
)
{
if
(
res
.
buy_type
==
1
)
{
router
.
push
({
name
:
"buySuccess"
,
query
:
outTradEno
});
router
.
push
({
name
:
"buySuccess"
,
query
:
outTradEno
});
...
...
src/util/vancs.less
0 → 100644
View file @
c12cba86
.van-dialog {
border-radius: 15px;
.van-dialog__header {
opacity: 0;
}
&:before {
}
}
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