9号彩票官网

全国统一服务热线: 400-858 7959
language
子公司网站
海口龙马环卫
您好,请 登录 / 注册
首页  |  站点信息  |  站内搜索

站内搜索

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

  • Loading...
福龙马
微信公众
平台 


福龙马

官方微博


友情链接:9号彩票APP  PK10牛牛  pk10牛牛  pk10牛牛  9号彩票官网  pk10牛牛  

免责声明: 本站资料及图片来源互联网文章,本网不承担任何由内容信息所引起的争议和法律责任。所有作品版权归原创作者所有,与本站立场无关,如用户分享不慎侵犯了您的权益,请联系我们告知,我们将做删除处理!

define("content-4511",function(require) { var $ = require('jquery'); $(".content-4511-flag").click(function(){ $(".content-4511 .submit").click(); }); $("#content-4511-keywords").focus(function(){ var val = this.value; val = $.trim(val); if(val=='关键词'){ this.value = ""; } }); $("#content-4511-keywords").blur(function(){ var val = this.value; val = $.trim(val); if(val==''){ this.value = "关键词"; } }); $("#content-4511-keywords").keypress(function(e){ if(e.keyCode==13){ $(".content-4511 .submit").click(); } }); $(".content-4511 .submit").click(function(){ $(this).attr("disabled","disabled"); $("#content-4511-rs").html('

  • 数据加载中,请稍后...
  • '); $("#content-4511-page").html(""); var keywords = $("#content-4511-keywords").val(); keywords = $.trim(keywords); content4511page(1); }); function content4511page(nowPage){ var keywords = $("#content-4511-keywords").val(); keywords = $.trim(keywords); var type = $(".content-4511-flag:checked").val(); var pageSize = 10; if(keywords==''||keywords=='关键词'){ keywords = "*"; } $.ajax({ url : "/core/control/wcm_common_website/control.jsp", cache : false , async : true , data : { method : "search", keywords : keywords, nowPage : nowPage, pageSize : pageSize, type : type } , success : function(data){ $(".content-4511 .submit").removeAttr("disabled"); var json = eval("["+$.trim(data)+"]")[0]; if(json.list.length<=0){ if(keywords=="*"){ $("#content-4511-rs").html('
  • 暂无数据...
  • '); $("#content-4511-rs-total").html("0"); }else{ $("#content-4511-rs").html('
  • 没有搜到 '+keywords+' 的相关数据...
  • '); $("#content-4511-rs-total").html("0"); } return false; } if(json.list.length>0){ var obj = null; var htm = ''; var type = ''; var prevInt = (parseInt(nowPage,10) - 1) == 0 ? 1 : (parseInt(nowPage,10) - 1); prevInt = parseInt(prevInt,10); var nextInt = (parseInt(nowPage,10) + 1) == parseInt(json.total,10) ? parseInt(json.total,10) : (parseInt(nowPage,10) + 1); for(var i=0;i['+type+']'+obj.title+'
    '; var content=obj.content; if(content.length>20){ content+="..." } htm += '

    '+content+'

    '; htm += ''; } $("#content-4511-rs").html(htm); $("#content-4511-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 += ""; } $("#content-4511-page").html(pageHtm); $("#content-4511-page a").click(function(){ var page = $(this).attr("page"); content4511page(page); }); } } } }); } function content4511QueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (r != null){ return r[2]; } return null; } $(function(){ var keywords = content4511QueryString("keywords"); if(typeof(keywords)!='undefined'&&null!=keywords&&'null'!=keywords&&''!=keywords){ $("#content-4511-keywords").val(decodeURIComponent(keywords)); } var type = content4511QueryString("type"); if(typeof(type)!='undefined'&&null!=type&&'null'!=type&&''!=type){ $(".content-4511-flag[value='"+type+"']").attr("checked","checked"); } content4511page(1); }); }); seajs.use("content-4511"); var jrChannel='0#0'; seajs.use('/resources/web/app/about.js')