GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.itlaborer.com — 人生就是博厨柜为更多家庭定制高品质家居,让每个人体验回家的美好。 "
+""
);
}
getPageBar(now);
}
//初始化数据列表
function getData(type,provice,city,town) {
$.ajax({
type:'POST',
url:'/api-disabled',
data:JSON.stringify({type:type,province:provice,city:city,area:town}),
headers: {
"Content-Type": "application/json"
},
success:function (data) {
list = data.body.galleryList;
row = 0;
now = 1;
row = list.length;
//一共多少页
if(row%size==0) {
pageAll = row/size;
} else {
pageAll = parseInt(row/size)+1;
}
loadpage(list);
// 获取返回数据第一条
// var ad = $('.search_app').find('li').eq(0).find('h4').eq(0).text();
// map_cut(ad);
},
complete:function(){ //生成分页条
},
error:function(){
alert("数据加载失败");
}
});
}
// 获取分页条
function getPageBar(now) {
$('.search_app').find('li').eq(0).addClass("on").siblings().removeClass("on");
var ad = $('.search_app').find('li').eq(0).find('h4').eq(0).text();
if(ad){
map_cut(ad);
}
var pageStr="";
pageStr+=' 共'+row+'条'+now+'/'+pageAll+'' +
'首页' +
'上一页' +
'下一页' +
'尾页 ';
//return pageStr;
$(".page").html(pageStr);
}
|
| You are visitor 01402860 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |