...
|
...
|
@@ -788,6 +788,8 @@ exports.handleSeniorFilterData = (data, params) => { |
|
|
href: handleFilterUrl(params, {}, {style: true})
|
|
|
});
|
|
|
}
|
|
|
|
|
|
if (sub && sub.length > 1) {
|
|
|
chose.push({
|
|
|
name: '风格',
|
|
|
showMulti: true,
|
...
|
...
|
@@ -795,6 +797,7 @@ exports.handleSeniorFilterData = (data, params) => { |
|
|
attr: 'style'
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
if (!_.isEmpty(data.standard)) {
|
|
|
let qStandardStr = (params && params.standard) || '';
|
...
|
...
|
@@ -840,10 +843,14 @@ exports.handleSeniorFilterData = (data, params) => { |
|
|
name: subValue.standard_name
|
|
|
});
|
|
|
});
|
|
|
|
|
|
// 只有一条不显示
|
|
|
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,
|
...
|
...
|
|