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
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
7ce762fe58b697bc8601a0e88e3f180ed5da0f65
1 parent
3db09c98
搜索页面 分类 增加搜索箭头
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
template/www.yohobuy.com/partials/product/filter-box.phtml
web-static/sass/product/_filter-box.scss
template/www.yohobuy.com/partials/product/filter-box.phtml
View file @
7ce762f
...
...
@@ -44,6 +44,7 @@
<li>
<span class="attr {{#if checked}}checked{{/if}}">
{{name}}
<div class="sort-up-icon"></div>
</span>
</li>
{{/each}}
...
...
web-static/sass/product/_filter-box.scss
View file @
7ce762f
...
...
@@ -85,11 +85,42 @@
border
:
1px
solid
#000
;
}
.sort-pre
{
.attr
{
position
:
relative
;
}
}
.active
{
.sort-up-icon
{
visibility
:
visible
;
}
}
.sort-up-icon
{
position
:
absolute
;
width
:
15px
;
height
:
9px
;
left
:
50%
;
margin-left
:
-7px
;
bottom
:
-17px
;
z-index
:
3
;
visibility
:
hidden
;
background
:
image-url
(
'product/senior-up.png'
)
no-repeat
;
background-position-x
:
50%
;
}
.sort-sub-wrap
{
width
:
100%
;
.sort-sub
{
padding
:
15px
0
;
border-top
:
1px
solid
#dfdfdf
;
margin-top
:
15px
;
padding
:
0
0
15px
;
.attr
{
padding-top
:
15px
;
}
}
}
...
...
@@ -303,4 +334,4 @@
.multi
.checkbox
{
display
:
inline
;
}
}
\ No newline at end of file
}
...
...
Please
register
or
login
to post a comment