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
uedxwg
9 years ago
Commit
cb34b3a35f947a3e53f36099867033eb79447110
1 parent
565a5221
修复品牌一览第一张图片无法加载
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
static/js/category/brand.js
static/js/category/brand.js
View file @
cb34b3a
...
...
@@ -37,13 +37,6 @@ hotBrandsSwiper = new Swiper('.brands-swiper', {
slideElement
:
'li'
});
swiper
=
new
Swiper
(
'.swiper-container'
,
{
lazyLoading
:
true
,
loop
:
true
,
autoplay
:
3000
,
pagination
:
'.swiper-pagination .pagination-inner'
});
lazyLoad
(
$
(
'img.lazy'
));
$
(
'.yoho-header'
).
css
({
'z-index'
:
2
,
...
...
@@ -58,6 +51,12 @@ $('.yoho-header').css({
$
(
'.hide-when-loading'
).
show
();
loading
.
hideLoadingMask
();
swiper
=
new
Swiper
(
'.swiper-container'
,
{
lazyLoading
:
true
,
loop
:
true
,
autoplay
:
3000
,
pagination
:
'.swiper-pagination .pagination-inner'
});
})();
$fixTitleBar
=
$
(
'<div class="title-bar fixed-title-bar"><h2></h2></div>'
);
...
...
Please
register
or
login
to post a comment