Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
10 years ago
Commit
2bb0d324db7c161d61aaef34eb20d1ab886e98f1
1 parent
a4e6b5f6
代码整理
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
static/js/product/newsale/discount.js
static/js/product/newsale/newarrival.js
static/js/product/newsale/discount.js
View file @
2bb0d32
...
...
@@ -8,8 +8,8 @@ var $curNav,
$goods
=
$newArrivalList
.
children
(
'.goods-list'
),
$goodList
=
$
(
'.goods-list'
);
var
swiper
;
var
index
=
0
,
var
swiper
,
index
=
0
,
winH
=
$
(
window
).
height
(),
loadMoreH
=
$
(
'#load-more'
).
height
(),
loading
=
false
,
...
...
static/js/product/newsale/newarrival.js
View file @
2bb0d32
...
...
@@ -13,9 +13,8 @@ var winH = $(window).height(),
$goodList
=
$
(
'.goods-list'
),
loading
=
false
,
page
=
0
,
index
=
0
;
var
swiper
;
index
=
0
,
swiper
;
// slide 个数大于 1 时,使用 swiper ,否则只显示单张图片
if
(
$
(
'.swiper-container .swiper-slide'
).
length
>
1
)
{
...
...
Please
register
or
login
to post a comment