CINXE.COM
共产党员网站内搜索
<!doctype html> <html> <head> <meta charset="utf-8"> <title>共产党员网站内搜索</title> <link rel="shortcut icon" type="image/x-icon" href="//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1356314678315297/sy_dyw377.ico" /> <link rel="apple-touch-icon-precomposed" sizes="180x180" href="//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1356314678315297/sy_dyw377_0504.png"> <script type="text/javascript"> var q = "二十届三中全会"; var t = "theme"; // 跳转移动端 if (/Android|webOS|iPhone|iPod|BlackBerry|opera mini|opera mobile/i.test(navigator.userAgent)) { if(t == 'videomerge'){ t = 'videos' } window.location = './search_h5.php?q=' + q + '&t=' + t + '&client=wap' } </script> <link href="./static/css/no-result.css" type="text/css" rel="stylesheet" /> <link rel="stylesheet" href="./static/css/datepicker.css"> <link rel="stylesheet" href="./static/css/base.css"> <link href="./static/css/search_common.css" type="text/css" rel="stylesheet" /> <link href="./static/css/search_webpage.css" type="text/css" rel="stylesheet" /> <link href="./static/css/search_video.css" type="text/css" rel="stylesheet" /> <!-- 引入 layui.css --> <script type="text/javascript" src="./static/js/jquery-3.5.0.min.js"></script> <link rel="stylesheet" type="text/css" href="./static/css/guosou.autocomplete.min.css" /> <script type="text/javascript" src="./static/js/guosou.autocomplete.min.js"></script> <script src="./static/js/search.js" type="text/javascript"></script> </head> <style> </style> <body> <script type="text/javascript" src="//www.12371.cn/include/general/1214/top_wea/top.js"></script> <!--搜索框头部 S--> <div class="main-right-top" style="padding-top: 0px;"> <!-- 搜索框 --> <div class="search" style=""> <div class="search-cont"> <a class="dyw905_logoR" href="javascript:void(0)">搜索</a> <a href="./index.php"> <img src="./static/image/dyw905_logo.png"> </a> </div> </div> </div> <!--搜索框头部 E--> <!-- 搜索主内容 S--> <div class="content"> <!--列表 S--> <div class="main-content"> <!-- 筛选条件 s --> <div class="search-cont-r fl"> <form id="searchForm" method="get" name="searchForm" action="./search.php" onsubmit="if(document.getElementById('q').value == ''){return false}" > <div class="searchbox inp_fl"> <input type="text" id="q" value="二十届三中全会" name="q" placeholder="请输入搜索词" maxlength="30" autocomplete="off"> <input type="hidden" name="t" value="theme" /> <input type="hidden" name="client" value="" /> <input type="hidden" id="sort" name="sort" value="SCORE"> <input type="hidden" id="time" name="time" value=""> <input type="hidden" id="start" name="start" value=""> <input type="hidden" id="end" name="end" value=""> <input type="hidden" id="searchfield" name="searchfield" value=""> <i></i> <div class="search-btn2"></div> <div class="search-btn"><img src="./static/image/search_ico_3.png" /><span class="search_text">搜索</span></div> </div> </form> </div> <div class="choose"> <div class="choose-con search-top-nav"> <ul class="singleElection singleSelect"> <li><a id="zh" class="newsmerge" href="./search.php?t=newsmerge&client=no&q=二十届三中全会">综合</a></li> <li><a id="xhpt" href="//www.12371.cn/special/xxzd/sousuo/index.shtml?keyword=二十届三中全会"><img src="./static/image/title.png"></a></li> <li><a id="dg" href="//www.12371.cn/special/dnfg/search/index.shtml?keyword=二十届三中全会">党规</a></li> <li><a id="fl" href="//www.12371.cn/special/falv/search/index.shtml?keyword=二十届三中全会">法律</a></li> <li><a id="wj" href="//www.12371.cn/special/zgwjk/search/index.shtml?keyword=二十届三中全会">文件</a></li> <li><a id="zt" class="theme" href="./search.php?t=theme&client=no&q=二十届三中全会">专题</a></li> <li><a id="wd" href="//wenda.12371.cn/search.php?key=二十届三中全会">问答</a></li> <li><a id="tg" class="tougao" href="./search.php?t=tougao&client=no&q=二十届三中全会">投稿</a></li> <li><a id="sp" class="videomerge" href="./search.php?t=videomerge&client=no&q=二十届三中全会">视频</a></li> <li><a id="yj" class="yuanjiao" href="./search.php?t=yuanjiao&client=no&q=二十届三中全会">远教</a></li> </ul> </div> <div class="choose-con choose-con-two"> <div class="time-limit xiala"> <a href="javascript:;" class="search-select-val moren"><span id="searchOrder">默认排序</span><i></i> <!-- <img src="./static/image/option.png">--></a> <div class="search-select-wrap" style="display: none" id="searchTypeListOrder"> <a href="javascript:;" id="xgd" type="SCORE">默认排序</a> <a href="javascript:;" id="pubtime" type="pubtime">时间排序</a> </div> </div> <div class="time-limit xiala sousuoquanwen"> <a href="javascript:;" id="searchType" class="search-select-val sousuo"><span id="searchflie">搜索全文</span><i></i> </a> <div class="search-select-wrap" style="display: none" id="searchTypeList"> <a href="javascript:;" id="searchqw" type="">搜索全文</a> <a href="javascript:;" id="searchtitle" type="title">搜索标题</a> </div> </div> <div class="time-limit xiala time"> <a href="javascript:;" class="search-select-val sousuo" id="searchTime"><span id="searchTag">时间不限</span><i></i> </a> <div class="search-select-wrap search-select-time" id="searchTimeList" style="display: none;"> <a href="javascript:;" id="bx" type="0">时间不限</a> <a href="javascript:;" id="yt" type="1">一天内</a> <a href="javascript:;" id="yz" type="2">一周内</a> <a href="javascript:;" id="yy" type="3">一月内</a> <a href="javascript:;" id="yn" type="4">一年内</a> <hr/> <span class="zdy J-datepicker-range-day mt10" > <p id="zdy">自定义</p> <p >从<input type="text" class="start" value="" /></p> <p >至<input type="text" class="end" value="" /></p> </span> <a class="queding" type="5" >确定</a> </div> </div> <div class="result"> <p>共找到10条搜索结果</p> </div> </div> <script> $(".search-select-val").on("click", function() { $(this).parent().siblings(".time-limit").find(".search-select-wrap").hide().siblings(".search-select-val").find("i").removeClass("cur"); $(this).siblings(".search-select-wrap").toggle(); $(this).find("i").toggleClass("cur"); }) $(document).click(function(event) { var _con = $('.time-limit'); if (!_con.is(event.target) && _con.has(event.target).length === 0) { $(".search-select-wrap").hide().siblings(".search-select-val").find("i").removeClass("cur"); } }); $(".search-select-wrap").on({ mousemove: function() { $(this).addClass("search-select-enter"); }, mouseout: function() { $(this).removeClass("search-select-enter"); } }) $('.search-btn2').on('click', function() { $(".searchbox").find('input').val(''); $(':input[name="client"]').val('no'); $(':input[name="t"]').val('theme'); }) $('.search-btn2').on('click', function() { if ($('.search-btn2').css('display') == 'none') { $('.search-btn2').css('display', 'block'); } else { $('.search-btn2').css('display', 'none'); } }) $('#search_input').on('input propertychange', function() { var result = $('#search_input').val(); if (result && result != '') { $('.search-btn2').css('display', 'block'); } else { $('.search-btn2').css('display', 'none'); } }); $('.singleSelect li').on('click', function() { $(this).children.css("color","red") return false; }); </script> <!-- 筛选条件 e --> </div> <!--corrections s--> <!--corrections e--> <!--列表 S--> <div class="contribute-list"> <ul> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/20jszqh/" target="_blank"> <div class="title"> 党的<em class="highlgt">二十</em><em class="highlgt">届</em><em class="highlgt">三中全会</em> </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/20jszqh/" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 中国共产党第<em class="highlgt">二十</em><em class="highlgt">届</em>中央委员会第三次全体会议,于2024年7月15日至18日在北京召开。 <span class="source-time"><i>更新时间:</i>2024-07-24 10:32:14</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/19jszqh/" target="_blank"> <div class="title"> 中国共产党十九<em class="highlgt">届</em><em class="highlgt">三中全会</em> </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/19jszqh/" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 中共中央政治局听取了《中共中央关于深化党和国家机构改革的决定》稿在党内外一定范围征求意见的情况报告,讨论了《深化党和国家机构改革的方案》稿,决定根据这次会议讨论的意见进行修改后将文件稿提请十九<em class="highlgt">届</em><em class="highlgt">三中全会</em>审议。 <span class="source-time"><i>更新时间:</i>2024-07-19 09:56:43</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/sbjszqh/" target="_blank"> <div class="title"> 中国共产党十八<em class="highlgt">届三中全会</em> </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/sbjszqh/" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 中共中央政治局8月27日召开会议,决定今年11月在北京召开中国共产党第十八<em class="highlgt">届</em>中央委员会第三次全体会议,主要议程是,中共中央政治局向中央委员会报告工作,研究全面深化改革重大问题。 <span class="source-time"><i>更新时间:</i>2024-02-02 16:37:31</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/20jezqh/" target="_blank"> <div class="title"> 党的<em class="highlgt">二十</em><em class="highlgt">届</em>二中全会 </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/20jezqh/" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 中国共产党第<em class="highlgt">二十</em><em class="highlgt">届</em>中央委员会第二次全体会议,于2023年2月26日至28日在北京召开。 <span class="source-time"><i>更新时间:</i>2023-03-01 09:50:26</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/20zyldjg/" target="_blank"> <div class="title"> 中国共产党第<em class="highlgt">二十</em><em class="highlgt">届</em>中央领导机构 </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/20zyldjg/" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 党的<em class="highlgt">二十</em><em class="highlgt">届</em>一中全会选举产生<em class="highlgt">二十</em><em class="highlgt">届</em>中央领导机构。 <span class="source-time"><i>更新时间:</i>2022-10-16 11:13:06</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/20jyzqh/" target="_blank"> <div class="title"> 党的<em class="highlgt">二十</em><em class="highlgt">届</em>一中全会 </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/20jyzqh/" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 2022年10月23日,党的<em class="highlgt">二十</em><em class="highlgt">届</em>一中全会在北京举行。全会选举了中央政治局委员、中央政治局常务委员会委员、中央委员会总书记;根据中央政治局常务委员会的提名,通过了中央书记处成员,决定了中央军事委员会组成人员;批准了<em class="highlgt">二十</em><em class="highlgt">届</em>中央纪律检查委员会第一次全体会议选举产生的书记、副书记和常务委员会委员人选。 <span class="source-time"><i>更新时间:</i>2022-10-23 18:10:49</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/18jszqh/" target="_blank"> <div class="title"> 中国共产党十八<em class="highlgt">届</em>四中全会 </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/18jszqh/" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 中国共产党第十八<em class="highlgt">届</em>中央委员会第四次全体会议于10月20日至23日在北京召开。会议研究全面推进依法治国重大问题。 <span class="source-time"><i>更新时间:</i>2024-02-02 16:56:27</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/dyjydsp17/" target="_blank"> <div class="title"> 第十七<em class="highlgt">届</em>全国党员教育电视片观摩交流活动 </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/dyjydsp17/" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 中央组织部举办的第十七<em class="highlgt">届</em>全国党员教育电视片观摩交流活动深入学习贯彻习近平新时代中国特色社会主义思想和党的<em class="highlgt">二十</em>大精神,认真落实党员教育管理工作条例和全国党员教育培训工作规划,严格按照评审标准和程序,组织了初审筛选、评委评审、大数据校核、复核把关等,最终评选出75部获奖作品。 <span class="source-time"><i>更新时间:</i>2024-04-11 14:30:21</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/xxgc18jszqhjs" target="_blank"> <div class="title"> 学习贯彻十八<em class="highlgt">届</em>四中全会精神 </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/xxgc18jszqhjs" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 中国共产党第十八<em class="highlgt">届</em>中央委员会第四次全体会议于10月20日至23日在北京召开。会议研究全面推进依法治国重大问题。 <span class="source-time"><i>更新时间:</i>2014-10-27 17:44:18</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/shjggg" target="_blank"> <div class="title"> 深化党和国家机构改革 </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/shjggg" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 党和国家机构职能体系是中国特色社会主义制度的重要组成部分,是我们党治国理政的重要保障。提高党的执政能力和领导水平,广泛调动各方面积极性、主动性、创造性,有效治理国家和社会,推动党和国家事业发展,必须 <span class="source-time"><i>更新时间:</i>2018-03-15 10:45:53</span> </p> </div> </li> </ul> <!-- 分页组件 s --> <div id="listPage" class="listpage"></div> <!-- 分页组件 e --> <!-- 列表 E--> </div> <!-- “榜样”的视频合集 s--> <!-- “榜样”的视频合集 e--> <!--列表 E--> <!--无结果 s--> <div class="no-result-con" style="display: none"> <p class="no-result-title">抱歉,没有找到与<em> "二十届三中全会" </em>相关的结果</p> <div class="no-result"> <span>建议您:</span> <div class="no-result-suggest"> <p>1,请检查您输入的关键词是否有错误;</p> <p>2,请尝试简化输入词;</p> <p>3,请换另一个相似的词或常见词。</p> </div> </div> </div> <!--无结果 e--> </div> <!--列表 E--> <!--右侧 S--> <div class="main-content-right"> <iframe width="315" scrolling="no" height="1600" frameborder="0" marginheight="0" marginwidth="0" src="//www.12371.cn/sousuo/right/index.shtml"></iframe> </div> <!--右侧 E--> </div> <!-- 搜索主内容 E--> <script src="//www.12371.cn/include/general/1214/erqi/bottom.js" type="text/javascript"></script> <script src="./static/js/datapicker/plugins/jquery.js"></script> <script src="./static/js/datapicker/plugins/moment.min.js"></script> <script src="./static/js/datapicker/datepicker.all.js"></script> <!-- START SiteAS v1.0 --> <script type="text/javascript"> var pagecode = "L-000-000-000"; </script> <!-- END SiteAS v1.0 --> <script> with (document) with (body) with (insertBefore(createElement("script"), firstChild)) setAttribute("exparams", "v_id=&aplus&page_code=" + pagecode, id = "tb-beacon-aplus", src = (location > "https" ? "//js" : "//js") + ".data.cctv.com/__aplus_plugin_cctv.js,aplus_plugin_aplus_u.js") </script> </body> <script type="text/javascript"> $(function() { var divWidth = $('.inp_fl').width() - 1; var ishttps = 'https:' == document.location.protocol ? true : false; }); $(document).ready(function() { //分页 var total = '10'; var pageSize = '10'; var currentPage = '1'; var totalPage = 50; //datatype var nowDataType = 'theme'; $('.search-top-nav ul li a').removeClass('cur_t'); if (nowDataType == 'newsmerge') { $('.search-top-nav ul li a').eq(0).addClass('cur_t'); } else if (nowDataType == 'theme') { $('.search-top-nav ul li a').eq(5).addClass('cur_t'); } else if (nowDataType == 'tougao') { $('.search-top-nav ul li a').eq(7).addClass('cur_t'); } else if (nowDataType == 'videomerge') { $('.search-top-nav ul li a').eq(8).addClass('cur_t'); } else if (nowDataType == 'yuanjiao') { $('.search-top-nav ul li a').eq(9).addClass('cur_t'); } //搜索字段 var searchfield = ''; if (searchfield == 'title') { $('#searchtitle').addClass("cur"); $('#searchflie').text("搜索标题"); } else { $('#searchqw').addClass("cur"); $('#searchflie').text("搜索全文"); } $('#searchTypeList').on('click', 'a', function() { var filedtype = $(this).attr('type'); console.log(filedtype) $('#searchfield').attr("value", filedtype); $('#searchForm').submit(); }); $('#searchTypeListOrder').on('click', 'a', function() { var filedtype = $(this).attr('type'); console.log(filedtype) $('#sort').attr("value", filedtype); $('#searchForm').submit(); }); // $('.singleElection').on('click', 'li', function() { // var sortfiled = $(this).attr('type'); // $('#sort').attr("value", sortfiled); // $('#searchForm').submit(); // }); var sort = 'SCORE'; if (sort == 'pubtime') { $('#searchOrder').text("时间排序"); $('#pubtime').addClass("cur"); } else { $('#searchOrder').text("默认排序"); $('#xgd').addClass("cur"); } var time = ''; if (time == '1') { $('#yt').addClass("cur"); $('#searchTag').text("一天内"); } else if (time == '2') { $('#yz').addClass("cur"); $('#searchTag').text("一周内"); } else if (time == '3') { $('#yy').addClass("cur"); $('#searchTag').text("一月内"); } else if (time == '4') { $('#yn').addClass("cur"); $('#searchTag').text("一年内"); } else if (time == '5') { $('#zdy').addClass("cur"); $('#searchTag').text("自定义"); }else { $('#bx').addClass("cur"); $('#searchTag').text("时间不限"); } $('#searchTimeList').on('click', 'a', function() { var timetype = $(this).attr('type'); $('#time').attr("value", timetype); if(timetype == "5"){ var start = $(".start").val() var end = $(".end").val() $('#start').attr("value", start); $('#end').attr("value", end); } $('#searchForm').submit(); }); var total1 = ''; var pageSize1 = 8; var currentPage1 = '1'; var totalPage1 = 50; // pager(total, pageSize, currentPage - 1); if (nowDataType != 'videomerge') { if (Number(total) > Number(pageSize)) { pager(total, pageSize, currentPage - 1); } } else { if (Number(total1) > Number(pageSize1)) { pager1(total1, pageSize1, currentPage1 - 1); } if (Number(total) > Number(pageSize)) { pager2(total, pageSize, currentPage - 1); } } $(".search-btn").click(function() { $(':input[name="sort"]').val(''); $(':input[name="searchfield"]').val(''); $(':input[name="time"]').val(''); $(':input[name="searchfield"]').val(''); $("#searchForm").submit(); }); if (nowDataType == 'videomerge') { $('#listPage').on('click', 'a', function() { var s = $(this).attr('data'); ajax_sub1(s, 'listhits'); }) $('#listPages').on('click', 'a', function() { var s = $(this).attr('data'); ajax_sub(s, 'listhitsvideo'); }) } }); $(function(){ var DATAPICKERAPI = { // 默认input显示当前月,自己获取后填充 activeMonthRange: function () { return { begin: moment().set({ 'date': 1, 'hour': 0, 'minute': 0, 'second': 0 }).format('YYYY-MM-DD HH:mm:ss'), end: moment().set({ 'hour': 23, 'minute': 59, 'second': 59 }).format('YYYY-MM-DD HH:mm:ss') } }, // 快捷选项option rangeShortcutOption1: [{ name: '最近一周', day: '-7,0' }, { name: '最近一个月', day: '-30,0' }, { name: '最近三个月', day: '-90, 0' }], singleShortcutOptions1: [{ name: '今天', day: '0', time: '00:00:00' }, { name: '昨天', day: '-1', time: '00:00:00' }, { name: '一周前', day: '-7' }] }; //年月日单个 $('.J-datepicker-day').datePicker({ hasShortcut: true, format:'YYYY-MM-DD', shortcutOptions: [{ name: '今天', day: '0' }, { name: '昨天', day: '-1' }, { name: '一周前', day: '-7' }] }); //年月日范围 $('.J-datepicker-range-day').datePicker({ hasShortcut: true, format: 'YYYY-MM-DD', isRange: true, shortcutOptions: DATAPICKERAPI.rangeShortcutOption1 }); //十分年月日单个 $('.J-datepickerTime-single').datePicker({ format: 'YYYY-MM-DD HH:mm' }); //十分年月日范围 $('.J-datepickerTime-range').datePicker({ format: 'YYYY-MM-DD HH:mm', isRange: true }); //年月单个 $('.J-yearMonthPicker-single').datePicker({ format: 'YYYY-MM', min: '2018-01', max: '2019-04', hide: function (type) { console.info(this.$input.eq(0).val()); } }); //选择年 $('.J-yearPicker-single').datePicker({ format: 'YYYY', min: '2018', max: '2020' }); }); function getEndPage(curPage, totalPage, pageNumber) { var end = curPage + 5 > totalPage ? totalPage : (curPage < 5 ? 10 : curPage + 5); end = end > totalPage ? totalPage : end; if (end > 50) { end = 50; } return end; } function getBeginPage(curPage, totalPage, pageNumber) { var begin = curPage < 5 ? 0 : curPage - 5; var end = getEndPage(curPage, totalPage); if (end - begin != pageNumber) { if (totalPage - curPage <= 4 && curPage >= 10 - (totalPage - curPage)) { begin = curPage - (5 + (5 - (totalPage - curPage))) return begin; } if (curPage > 5) { begin = curPage - 5; } else { begin = 0; } } return begin; } function getUrl(p) { p = p + 1; var q = encodeURIComponent($('input[name="q"]').val()); var sort = $(':input[name="sort"]').val(); var time = $(':input[name="time"]').val(); var cq = $('#correctWord').attr('data'); var t = $(':input[name="t"]').val(); var searchfield = $(':input[name="searchfield"]').val(); if (cq != undefined && cq.length > 0) { q = cq; } if (p == undefined || p == null || p == 'null') { p = 1; } if(time == "5"){ var start = $(':input[name="start"]').val(); var end = $(':input[name="end"]').val(); } var client = ''; var nqc = ''; var url = "./search.php?t=" + t + "&q=" + q + "&p=" + p + "&client=" + client + "&sort=" + sort + "&time=" + time + "&searchfield=" + searchfield + "&nqc=" + nqc + "&start=" + start + "&end=" + end; return url; } function pager(total, pageSize, currentPage) { var index; var url; if (total > pageSize) { var html = ''; var totalPage = Math.floor(total / pageSize); if (total % pageSize > 0) { totalPage += 1; } if (currentPage != 0) { index = 0; url = getUrl(index); html += '<a href="' + url + '" class="listpre" data="0">首页</a>'; index = currentPage - 1; url = getUrl(index); html += '<a href="' + url + '" class="listpre" data="' + (currentPage - 1) + '">上一页</a>'; } var begin = getBeginPage(currentPage, totalPage, pageSize); var end = getEndPage(currentPage, totalPage, pageSize); for (var i = begin; i < end; i++) { if (i != currentPage) { index = i; url = getUrl(index); html += '<a href="' + url + '" data="' + i + '">' + (i + 1) + '</a>' } else { index = i; url = getUrl(index); html += '<a class="on" data="' + i + '">' + (i + 1) + '</a>' } } if (currentPage < (end - 1)) { index = currentPage + 1; url = getUrl(index); html += '<a href="' + url + '" class="listnext" data="' + (currentPage + 1) + '">下一页</a>'; index = totalPage - 1; if (totalPage > 50) { url = getUrl(49); html += '<a href="' + url + '" class="listnext" data="' + (totalPage - 1) + '">尾页</a>'; } else { url = getUrl(index); html += '<a href="' + url + '" class="listnext" data="' + (totalPage - 1) + '">尾页</a>'; } } $('#listPage').html(html); } else { $('#listPage').empty(); } } </script> </html>