• tyc1286太阳成集团

  • SEARCH
    全站搜索
    您的位置: 首页  >  站点信息  >  全站搜索

    搜索结果 : 0 条符合条件的信息。

    • Loading...
  • '; htm += '

    '+obj.content+'

    '; htm += ''; } $("#channel-content-49127-rs").html(htm); $("#channel-content-49127-rs-total").html(json.total); var pageHtm = ''; var pageCount = Math.ceil(json.total/pageSize); if(parseInt(pageCount,10)>1){ var left = 0; var right = 0; var middle = parseInt(nowPage,10); var rightCount = 0; if(nowPage>1){ pageHtm += "上一页"; } if(parseInt(pageCount,10)>10){ rightCount = parseInt(pageCount,10) - 5; if (parseInt(middle,10) <= 5 && parseInt(middle,10) < rightCount) { for(var i=0;i<5;i++){ if((i+1)==nowPage){ pageHtm += " "+(i+1)+" "; }else{ pageHtm += " "+(i+1)+" "; } } if(parseInt(middle,10)==5){ pageHtm += " "+6+" "; pageHtm += " "+7+" "; } pageHtm += "..."; pageHtm += " "+(parseInt(pageCount,10)-1)+" "; pageHtm += " "+(parseInt(pageCount,10))+" "; }else if( parseInt(middle,10) > 5 && parseInt(middle,10) > rightCount){ pageHtm += " "+1+" "; pageHtm += " "+2+" "; pageHtm += "..."; if(parseInt(middle,10)==(rightCount+1)){ pageHtm += " "+(parseInt(middle,10)-2)+" "; pageHtm += " "+(parseInt(middle,10)-1)+" "; } for(var i = rightCount;i<(parseInt(pageCount,10));i++){ if((i+1)==nowPage){ pageHtm += " "+(i+1)+" " }else{ pageHtm += " "+(i+1)+" " } } }else{ pageHtm += " "+1+" "; pageHtm += " "+2+" "; pageHtm += "..."; pageHtm += " "+(parseInt(middle,10)-2)+" "; pageHtm += " "+(parseInt(middle,10)-1)+" "; pageHtm += " "+parseInt(middle,10)+" "; pageHtm += " "+(parseInt(middle,10)+1)+" "; pageHtm += " "+(parseInt(middle,10)+2)+" "; pageHtm += "..."; pageHtm += " "+(parseInt(pageCount,10)-1)+" "; pageHtm += " "+(parseInt(pageCount,10))+" "; } }else{ left = 0; right = parseInt(pageCount,10); for(var i=left;i"; }else{ pageHtm += " "+(i+1)+" "; } } } if (nowPage <= (parseInt(pageCount,10)-1)) { pageHtm += ""; } $("#channel-content-49127-page").html(pageHtm); $("#channel-content-49127-page a").click(function(){ var page = $(this).attr("page"); channelcontent49127page(page); }); } } } }); } function channelcontent49127QueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.locations.search.substr(1).match(reg); if (r != null){ return r[2]; } return null; } $(function(){ var keywords = channelcontent49127QueryString("keywords"); keywords = filterStr(keywords); if(typeof(keywords)!='undefined'&&null!=keywords&&'null'!=keywords&&''!=keywords){ $("#channel-content-49127-keywords").val(decodeURIComponent(keywords)); } var type = channelcontent49127QueryString("type"); if(typeof(type)!='undefined'&&null!=type&&'null'!=type&&''!=type){ $(".channel-content-49127-flag[value='"+type+"']").attr("checked","checked"); } channelcontent49127page(1); }); }); function filterStr(str){ var pattern = new RegExp("[`~!@#$^&*()=|{}':;',\\[\\].<>/?~!@#¥……&*()——|{}【】‘;:”“'。, 、?%+_]"); var specialStr = ""; if(str!=null&&str.length>0){ for(var i=0;i