Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
毕凯
2016-01-15 11:21:55 +0800
Commit
250e5fd4c8741d33f019414f70e41f88a41acad4
1 parent
6883aa4a
商品列表页面 增加鼠标进入动画
code review by bikai
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
web-static/js/product/product.js
web-static/sass/product/_good.scss
web-static/js/product/product.js
View file @
250e5fd
...
...
@@ -135,7 +135,6 @@ exports.init = function(num) {
// 鼠标悬浮获取到商品信息后显示第一张图片
if
(
data
[
0
]
&&
data
[
0
].
src
)
{
$
(
event
.
target
).
find
(
'.good-thumb img'
).
attr
(
'src'
,
data
[
0
].
src
);
$goodInfoMain
.
find
(
'.good-thumb img'
).
attr
(
'src'
,
data
[
0
].
src
);
}
...
...
web-static/sass/product/_good.scss
View file @
250e5fd
...
...
@@ -125,9 +125,20 @@
}
}
@keyframes
slideRight
{
from
{
width
:
0
;
}
to
{
width
:
50px
;
}
}
.good-select-color
{
float
:
left
;
margin-top
:
22px
;
overflow
:
hidden
;
animation
:
slideRight
200ms
1
;
ul
{
display
:
block
;
...
...
@@ -175,4 +186,4 @@
}
}
\ No newline at end of file
}
...
...
Please
register
or
login
to post a comment