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
5a4fc25d97b3b3719001f2ba8d6b1ea8696bca40
1 parent
1b46ae63
加价购选择时 出现 loading
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
static/js/cart/gift-advance.js
static/js/cart/gift-advance.js
View file @
5a4fc25
...
...
@@ -8,6 +8,7 @@ var $ = require('jquery'),
lazyLoad
=
require
(
'yoho.lazyload'
),
Handlebars
=
require
(
'yoho.handlebars'
),
tip
=
require
(
'../plugin/tip'
),
loading
=
require
(
'../plugin/loading'
),
chosePanel
=
require
(
'./chose-panel'
);
var
panelTmpl
,
...
...
@@ -27,6 +28,7 @@ $.get('/cart/index/giftinfoTpl', function(html) {
});
function
getProductInfo
(
skn
,
promotionId
)
{
loading
.
showLoadingMask
();
$
.
get
(
'/cart/index/giftinfo'
,
{
skn
:
skn
,
promotionId
:
promotionId
...
...
@@ -48,6 +50,8 @@ function getProductInfo(skn, promotionId) {
}
}).
fail
(
function
()
{
tip
.
show
(
'网络错误'
);
}).
always
(
function
()
{
loading
.
hideLoadingMask
();
});
}
...
...
Please
register
or
login
to post a comment