Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
2017-02-07 15:41:53 +0800
Commit
95d70c0cc6ed4a9690c28ab4e16ecf98570a8a94
1 parent
0165fbdc
列表筛选,错位修复
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
apps/product/views/partial/list/filter-area.hbs
public/scss/product/_list.css
apps/product/views/partial/list/filter-area.hbs
View file @
95d70c0
{{#if
showFilters
}}
<div
class=
"filter-area"
>
<label>
已选条件:
</label>
<div
class=
"left"
>
<label>
已选条件:
</label>
</div>
<div
class=
"middle"
>
{{#
each
filters
}}
<div
class=
"filter-item"
data-key=
"
{{
key
}}
"
>
{{#
color
}}
...
...
@@ -11,7 +13,9 @@
<span
class=
"iconfont cancel"
>

</span>
</div>
{{/
each
}}
</div>
<div
class=
"right"
>
<label
class=
"cancel"
>
清空筛选条件
</label>
</div>
</div>
{{/if}}
\ No newline at end of file
...
...
public/scss/product/_list.css
View file @
95d70c0
...
...
@@ -258,17 +258,31 @@
.filter-area
{
background-color
:
#eae9e9
;
margin-bottom
:
30px
;
overflow
:
hidden
;
.left,
.right
{
width
:
auto
;
margin
:
27px
10px
0
20px
;
}
.right
{
margin
:
27px
20px
0
0
;
}
.middle
{
float
:
left
;
width
:
630px
;
}
label
{
font-size
:
14px
;
font-weight
:
700
;
margin-left
:
20px
;
}
label
.cancel
{
float
:
right
;
color
:
#878787
;
margin
:
27px
20px
0
0
;
cursor
:
pointer
;
}
...
...
Please
register
or
login
to post a comment