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
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
e21f07b8bae4aa9c00758eed44e57097ce6f5f30
2 parents
d6e7a005
e64eef15
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
2 deletions
template/www.yohobuy.com/partials/product/filter-box.phtml
web-static/js/product/product.js
web-static/sass/product/_filter-box.scss
web-static/sass/product/_good.scss
template/www.yohobuy.com/partials/product/filter-box.phtml
View file @
e21f07b
...
...
@@ -34,6 +34,20 @@
</div>
{{/if}}
{{#if gender}}
<div class="channel section">
<span class="title">性别:</span>
<div class="attr-content clearfix">
{{#each channel}}
<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">
{{name}}
</a>
{{/each}}
</div>
</div>
{{/if}}
{{#if sort}}
<div class="sort section">
<span class="title">分类:</span>
...
...
web-static/js/product/product.js
View file @
e21f07b
...
...
@@ -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/_filter-box.scss
View file @
e21f07b
...
...
@@ -82,6 +82,7 @@
width
:
14px
;
border
:
1px
solid
#fff
;
margin-bottom
:
-3px
;
background-size
:
100%
!
important
;
}
.clear-checked
{
...
...
@@ -283,6 +284,7 @@
border
:
1px
solid
#ccc
;
margin-bottom
:
-6px
;
margin-right
:
5px
;
background-size
:
100%
!
important
;
}
.senior
{
...
...
web-static/sass/product/_good.scss
View file @
e21f07b
...
...
@@ -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