Online message
If you are interested in our products, please leave a message or contact the online customer.
");
//AJAX请求
if($(".news-box").size()<10)
$(".loadmore").hide();
var page =2;
$(".loadmore").click(function(){
$.ajax({
cache: false,
type:"get",
url:"/fyjz/newspage/staffstyle/index_"+page+".html",
beforeSend:function(){$(".loadmore").html("").removeClass("loadmore").addClass('load')},
error:function(){$(".load").hide();},
success:function(result){
if($.trim(result)==""){
$(".load").hide();
return;
}
$(".news-list").append(result);
if((($(".news-box").size()-1)%9)!=0)
$(".load").hide();
else
$(".load").html("LOAD MORE").removeClass("load").addClass('loadmore');
page++;
}
});
});