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
hf
10 years ago
Commit
2346be9a9e56c8f168160bd81d74154ebfc91178
1 parent
7364d4f1
do fixes bug refs YW-783
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
static/js/product/newsale/newarrival.js
static/js/product/newsale/newarrival.js
View file @
2346be9
...
...
@@ -13,9 +13,7 @@ var winH = $(window).height(),
$goodList
=
$
(
'.goods-list'
),
loading
=
false
,
page
=
0
,
index
=
0
,
num
;
index
=
0
;
var
swiper
;
...
...
@@ -31,7 +29,6 @@ $('#newarrival-nav').delegate('li', 'touchstart', function() {
var
$this
=
$
(
this
),
$content
;
if
(
$this
.
hasClass
(
'focus'
))
{
return
;
}
...
...
@@ -57,7 +54,8 @@ $(window).scroll(function () {
return
;
}
loading
=
true
;
num
=
$goodList
.
children
(
'.good-info'
).
length
;
//num = $goodList.children('.good-info').length;
$
.
ajax
({
type
:
'GET'
,
url
:
'/product/newsale/selectNewSale'
,
...
...
@@ -67,9 +65,7 @@ $(window).scroll(function () {
},
success
:
function
(
data
)
{
if
(
data
===
' '
)
{
//opt.end = true;
loading
=
false
;
loading
=
true
;
return
;
}
...
...
Please
register
or
login
to post a comment