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
xuqi
9 years ago
Commit
e7b794bc3f8e7af06852490568e35a10b5b53330
1 parent
ce57e3c8
fav footer .Review by:@毕凯
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
11 deletions
static/js/me/fav.js
static/js/me/fav.js
View file @
e7b794b
...
...
@@ -80,9 +80,6 @@ function loadData($parent, url, page) {
page
:
page
},
success
:
function
(
data
)
{
//setTimeout(function() { //模拟延时
if
(
url
===
'favBrand'
)
{
$brandLoadMore
.
addClass
(
'hide'
);
}
else
{
...
...
@@ -95,7 +92,6 @@ function loadData($parent, url, page) {
}
else
if
(
data
===
'end'
)
{
$parent
.
closest
(
'.fav-type'
).
find
(
'.fav-load-background'
)
.
removeClass
(
'fav-load-background'
).
html
(
'没有更多了'
);
}
else
if
(
data
.
length
>
10
)
{
$parent
.
append
(
data
);
$parent
.
closest
(
'.fav-type'
).
find
(
'.fav-content-loading'
).
remove
();
...
...
@@ -106,14 +102,8 @@ function loadData($parent, url, page) {
}
else
{
lockId
=
false
;
//请求成功后解锁商品收藏page++
}
window
.
rePosFooter
();
}
else
{
return
;
}
//},1000);
window
.
rePosFooter
();
}
});
}
...
...
Please
register
or
login
to post a comment