Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
王水玲
2016-07-18 17:01:14 +0800
Commit
dabc1c536aeafc5ce8c87578d24ab99f7b06309f
2 parents
da13e8c1
13eacd1b
Merge branch 'release/4.8' of git.yoho.cn:fe/yohobuy-node into release/4.8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
apps/product/models/public-handler.js
doraemon/views/partial/product/filter-box.hbs
apps/product/models/public-handler.js
View file @
dabc1c5
...
...
@@ -598,6 +598,11 @@ exports.handleSaleFilterData = (origin, params) => {
});
// 如果年龄就一个,默认选中
if
(
dest
.
ageLevel
&&
dest
.
ageLevel
.
length
===
1
)
{
_
.
set
(
dest
,
'ageLevel[0].checked'
,
true
);
}
// 清除所有选中数据
let
remainParams
=
{};
...
...
doraemon/views/partial/product/filter-box.hbs
View file @
dabc1c5
...
...
@@ -51,7 +51,7 @@
{{#if
ageLevel
}}
<div
class=
"channel section"
>
<span
class=
"title"
>
性别
:
</span>
<span
class=
"title"
>
年龄
:
</span>
<div
class=
"attr-content clearfix"
>
{{#
each
ageLevel
}}
...
...
Please
register
or
login
to post a comment