...
|
...
|
@@ -47,6 +47,7 @@ require('common'); |
|
|
|
|
|
// 首屏加载标志
|
|
|
let firstScreen = $('.firstscreen-goods').children().size() > 0;
|
|
|
|
|
|
let isRecYas = window.queryString.needSuggestion === 'Y' || $('.word-content').length ? 'Y' : 'N'; // 是否是关键词
|
|
|
|
|
|
let $listNav = $('#list-nav'),
|
...
|
...
|
@@ -425,6 +426,10 @@ function search(opt) { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (page === 1 && navType === 'default' && firstScreen) {
|
|
|
page = 2;
|
|
|
}
|
|
|
|
|
|
params = {
|
|
|
type: navType,
|
|
|
order: nav.order,
|
...
|
...
|
@@ -524,11 +529,6 @@ function search(opt) { |
|
|
params.students = students;
|
|
|
}
|
|
|
|
|
|
if (firstScreen) {
|
|
|
// 如果首屏加载了,则去掉12条记录
|
|
|
params.start = 12;
|
|
|
}
|
|
|
|
|
|
if (couponId) {
|
|
|
params.coupon_id = couponId;
|
|
|
}
|
...
|
...
|
|