搜索结果 : 0 条符合条件的信息 。
'+obj.content.substring(0,120)+'
'; htm += ''; } $("#channelcontent-348-rs").html(htm); $("#channelcontent-348-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