Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
24a135b362be0b9218839481e037bb1edf51322e
1 parent
92bb9008
订单确认计算价格 增加loading
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
static/js/cart/order-ensure.js
static/js/cart/order-ensure.js
View file @
24a135b
...
...
@@ -93,6 +93,7 @@ $invoice.on('touchend', '.checkbox', function() {
function
orderCompute
()
{
var
yohoCoin
=
orderInfo
(
'yohoCoin'
);
loading
.
showLoadingMask
();
$
.
ajax
({
method
:
'POST'
,
url
:
'/cart/index/orderCompute'
,
...
...
@@ -127,6 +128,8 @@ function orderCompute() {
}
}).
fail
(
function
()
{
window
.
location
.
reload
();
}).
always
(
function
()
{
loading
.
hideLoadingMask
();
});
}
...
...
Please
register
or
login
to post a comment