var listmoreTag = false;
var listmoreEndTag = true;
var pageSum = '${pageCount}'
$(window).on('scroll', function () {
console.log(111,$("#minmoney").val())
var yheight = getScrollTop();
var scrollHeight = $(document).height();
var clientHeight = $(this).height();
if (yheight + clientHeight + 100 >= scrollHeight) {
if (!listmoreTag && listmoreEndTag) {
listmoreTag = true
$('.load-pc').show()
$('.earth-pc').hide()
$('.load-yi').show()
$('.earth-di').hide()
$.ajax({
url: baselocation + '/jobs/listmore?type=' + 1+'&page='+page+'&pageSize='+10+'&salaryMin='+salaryMin+'&salaryMax='+salaryMax+'&educationId='+educationId+'&workYearId='+workYearId+'&industryId='+industryId+'&queryKey='+queryKey,
type: 'post',
dataType: 'text',
data: {
},
success: function (res) {
$('.list_conter').append(res);
$('.load-pc').hide()
$('.earth-pc').show()
$('.load-yi').hide()
$('.earth-di').show()
if (page >= parseInt(pageSum)) {
listmoreEndTag = false
$('.course-pl-rec').hide()
}
page += 1
},
error: function () {
listmoreTag = false
}
});
}
}
})