...
|
...
|
@@ -788,12 +788,15 @@ exports.handleSeniorFilterData = (data, params) => { |
|
|
href: handleFilterUrl(params, {}, {style: true})
|
|
|
});
|
|
|
}
|
|
|
chose.push({
|
|
|
name: '风格',
|
|
|
showMulti: true,
|
|
|
sub: sub,
|
|
|
attr: 'style'
|
|
|
});
|
|
|
|
|
|
if (sub && sub.length > 1) {
|
|
|
chose.push({
|
|
|
name: '风格',
|
|
|
showMulti: true,
|
|
|
sub: sub,
|
|
|
attr: 'style'
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
if (!_.isEmpty(data.standard)) {
|
...
|
...
|
@@ -840,10 +843,14 @@ exports.handleSeniorFilterData = (data, params) => { |
|
|
name: subValue.standard_name
|
|
|
});
|
|
|
});
|
|
|
chose.push({
|
|
|
name: value.standard_name,
|
|
|
sub: sub
|
|
|
});
|
|
|
|
|
|
// 只有一条不显示
|
|
|
if (sub && sub.length > 1) {
|
|
|
chose.push({
|
|
|
name: value.standard_name,
|
|
|
sub: sub
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
@@ -1057,7 +1064,7 @@ exports.handlePagerData = (total, params, noNextBtn) => { |
|
|
} else if (currentPage > totalPage - 2) {
|
|
|
for (let i = totalPage; i >= totalPage - 4; i--) {
|
|
|
|
|
|
if(i > 0) {
|
|
|
if (i > 0) {
|
|
|
pages.push({
|
|
|
url: handleFilterUrl(params, {page: i}),
|
|
|
num: i,
|
...
|
...
|
|