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
毕凯
9 years ago
Commit
e64eef1532946e7aa02b25d05459d8a97b33f69f
2 parents
6883aa4a
c6e9d086
Merge branch 'feature/web/search' into develop
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
2 deletions
template/www.yohobuy.com/partials/product/filter-box.phtml
web-static/js/product/product.js
web-static/sass/product/_good.scss
template/www.yohobuy.com/partials/product/filter-box.phtml
View file @
e64eef1
...
...
@@ -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 @
e64eef1
...
...
@@ -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 @
e64eef1
...
...
@@ -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