Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
李智书
xzf_uniapp-wechat-web
Commits
8eda8d8b
Commit
8eda8d8b
authored
Aug 29, 2022
by
袁玲利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日常交费点击一次交费后5S才可以点击交费下一次
parent
555634a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
+19
-5
No files found.
src/pages/StudentPayment/PayOrderDetails/PayOrderDetails.vue
View file @
8eda8d8b
...
...
@@ -337,6 +337,24 @@
})
}
},
// 倒计时5秒
culDown
()
{
const
self
=
this
;
let
second
=
5
;
const
timer
=
setInterval
(()
=>
{
second
--
;
if
(
second
)
{
self
.
mask
=
true
;
uni
.
showLoading
({
title
:
'
加载中
'
});
}
else
{
clearInterval
(
timer
);
uni
.
hideLoading
();
self
.
mask
=
false
;
}
},
1000
);
},
// 点击缴费下单接口
async
clickPay
()
{
try
{
...
...
@@ -360,11 +378,7 @@
return
}
}
this
.
mask
=
true
;
uni
.
showLoading
({
title
:
'
加载中
'
,
mask
:
true
});
this
.
culDown
();
let
data
=
await
this
.
$http
.
post
({
url
:
orderApi
+
'
/order-charge/app/charge/project/createOrder
'
},
{
...
...
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