Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
whb
9 years ago
Commit
cfe016dca0de2481bce6b62050c2e69fe5aafd4e
1 parent
cfed190d
index,cs
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
web-static/dist/yohobuy/0.0.1/index-debug.js
web-static/dist/yohobuy/0.0.1/index.js
web-static/dist/yohobuy/0.0.1/index-debug.js
View file @
cfe016d
...
...
@@ -2404,6 +2404,10 @@ var $ = require("jquery"),
Slider
.
prototype
=
{
init
:
function
()
{
if
(
!
this
.
$element
)
{
return
;
}
if
(
this
.
len
<=
1
)
{
lazyLoad
(
this
.
$element
.
find
(
'img.lazy'
));
return
;
...
...
@@ -2509,7 +2513,13 @@ var $ = require("jquery"),
this
.
smallItem
.
eq
(
this
.
index
).
addClass
(
'focus'
).
siblings
().
removeClass
(
'focus'
);
this
.
bigItem
.
eq
(
this
.
index
).
fadeIn
().
siblings
().
fadeOut
();
this
.
bigItem
.
eq
(
this
.
index
).
show
().
stop
().
animate
({
opacity
:
1
}).
siblings
().
stop
().
animate
({
opacity
:
0
},
function
()
{
$
(
this
).
hide
();
});
},
_autoplay
:
function
()
{
var
that
=
this
;
...
...
@@ -2749,9 +2759,8 @@ if (homePage === 'boys') {
$
(
'.slide-container'
).
slider
({
pagination
:
'.thumb-pagination'
});
}
else
if
(
homePage
===
'girls'
)
{
$
(
'.center-col'
).
slider
();
}
else
{
$
(
'.center-col'
).
slider
();
$
(
'.slide-container'
).
slider
();
}
...
...
web-static/dist/yohobuy/0.0.1/index.js
View file @
cfe016d
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment