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 = "newsmerge"; // 跳转移动端 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" /> <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="newsmerge" /> <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>共找到17909条搜索结果</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('newsmerge'); }) $('.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/zggcdzc/" target="_blank"> <div class="title"> <!-- 专题判断 --> <span class="title-name-special">专题</span> 中国<em class="highlgt">共产党章程</em> </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/zggcdzc/" 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>修改、<em class="highlgt">党章</em>发展历程等若干个版块,提供权威的图文及视频学习资料。 <span class="source-time"><i>更新时间:</i>2022-10-27 18:41:53</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/2022/10/26/ARTI1666788342244946.shtml" 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/2022/10/26/ARTI1666788342244946.shtml" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 中国<em class="highlgt">共产党章程</em> (中国<em class="highlgt">共产党</em>第二十次全国代表大会部分修改,2022年10月22日通过) 总纲 中国<em class="highlgt">共产党</em>是中国工人阶级的先锋队,同时是中国人民和中华民族的先锋队,是中国特色社会主义事业的领导 <span class="source-time"><i>更新时间:</i>2022-10-26 20:50:08</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/2022/10/27/ARTI1666845926836204.shtml" target="_blank"> <div class="title"> 中国<em class="highlgt">共产党章程</em>(2022年新旧对照版) </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/2022/10/27/ARTI1666845926836204.shtml" target="_blank"> <img src="https://p3.img.cctvpic.com/photoworkspace/2022/10/28/2022102814073741134.png" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 党的二十大通过的<em class="highlgt">党章</em>修正案,共修改50处,其中总纲部分的修改37处,条文部分的修改13处。 中国<em class="highlgt">共产党章程</em> (中国<em class="highlgt">共产党</em>第十九第二十次全国代表大会部分修改,2017年10月24日2022年 <span class="source-time"><i>更新时间:</i>2022-10-27 17:54:02</span> </p> </div> </li> <div id="hits"> <h2> <span>"党章"</span> 的视频 </h2> <ul> <li> <a href="https://www.12371.cn/2024/06/13/VIDE1718248561745466.shtml" target="_blank"> <i></i> <img src="https://p2.img.cctvpic.com/fmspic/2024/06/13/b53dd71a629047b1abd419baccb49a0a-180.jpg"> <h3>《中国<em class="highlgt">共产党章程</em>(修正案)》修改了哪些地方|<em class="highlgt">党章</em>修正案为什么增写“党的自我革命永远在路上”的内容</h3> </a> </li> <li> <a href="http://news.12371.cn/2017/10/31/VIDE1509419341545671.shtml" target="_blank"> <i></i> <img src="http://p5.img.cctvpic.com/fmspic/2017/10/31/89c40e73c3771ba2e14cbf37c7ecfd5e-180.jpg?p=2&amp;h=120"> <h3>【十九大<em class="highlgt">党章</em>公开课】第一讲:中国<em class="highlgt">共产党章程</em>的历史沿革</h3> </a> </li> <li> <a href="https://www.12371.cn/2023/03/07/VIDE1678175642001428.shtml" target="_blank"> <i></i> <img src="https://p3.img.cctvpic.com/fmspic/2023/03/07/5557cb50292441f192da282e84f6777c-180.jpg"> <h3>《中国<em class="highlgt">共产党章程</em>(修正案)》修改了哪些地方|<em class="highlgt">党章</em>修正案对党员提出了哪些新要求</h3> </a> </li> <li> <a href="http://dygbjy.12371.cn/2018/07/27/VIDE1532664931005944.shtml" target="_blank"> <i></i> <img src="http://p1.img.cctvpic.com/fmspic/2018/01/26/6fb81bfe76ebcb5cb65101c7f6f1ae91-180.jpg"> <h3>【聚焦十九大】十九大<em class="highlgt">党章</em>公开课 第一讲 中国<em class="highlgt">共产党章程</em>的历史沿革(20180730 09:30-09:40)</h3> </a> </li> <li> <a href="http://dygbjy.12371.cn/2018/01/26/VIDE1516939873304281.shtml" target="_blank"> <i></i> <img src="http://p1.img.cctvpic.com/fmspic/2018/01/26/6fb81bfe76ebcb5cb65101c7f6f1ae91-180.jpg"> <h3>【党风廉政建设】十九大<em class="highlgt">党章</em>公开课 第一讲 中国<em class="highlgt">共产党章程</em>的历史沿革(20180129 10:54-11:05)</h3> </a> </li> <li> <a href="https://www.12371.cn/2023/03/07/VIDE1678175642567472.shtml" target="_blank"> <i></i> <img src="https://p5.img.cctvpic.com/fmspic/2023/03/07/5529b10659d946599eae3938e5de56e2-300.jpg"> <h3>《中国<em class="highlgt">共产党章程</em>(修正案)》修改了哪些地方|<em class="highlgt">党章</em>修正案对一体推进“三不腐”作了哪些修改</h3> </a> </li> <li> <a href="https://www.12371.cn/2023/03/07/VIDE1678175642426461.shtml" target="_blank"> <i></i> <img src="https://p4.img.cctvpic.com/fmspic/2023/03/07/8a1ea001d99146cf850931e53893436a-300.jpg"> <h3>《中国<em class="highlgt">共产党章程</em>(修正案)》修改了哪些地方|<em class="highlgt">党章</em>修正案为什么增写“不断健全党内法规体系”的内容</h3> </a> </li> <li> <a href="https://www.12371.cn/2023/03/07/VIDE1678175642709483.shtml" target="_blank"> <i></i> <img src="https://p2.img.cctvpic.com/fmspic/2023/03/07/f8490791ec7d4da28ada818de2c0a3cb-180.jpg"> <h3>《中国<em class="highlgt">共产党章程</em>(修正案)》修改了哪些地方|<em class="highlgt">党章</em>修正案对党的基层组织和党组作出了哪些新规定</h3> </a> </li> </ul> <div class="more"><a href="./search.php?t=videomerge&client=no&q=党章" target="_blank">查看全部</a></div> <!-- 列表 E--> </div> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/2023/06/03/ARTI1685777635140830.shtml" 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/2023/06/03/ARTI1685777635140830.shtml" target="_blank"> <img src="https://p1.img.cctvpic.com/photoworkspace/2023/06/03/2023060315353255341.jpg" 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>2023-06-06 07:58:17</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/2023/06/07/ARTI1686125604631413.shtml" 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/2023/06/07/ARTI1686125604631413.shtml" target="_blank"> <img src="https://p4.img.cctvpic.com/photoworkspace/2023/06/07/2023060716135862908.jpg" 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>2023-06-08 07:23:45</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/special/dzxd/" target="_blank"> <div class="title"> <!-- 专题判断 --> <span class="title-name-special">专题</span> 中国<em class="highlgt">共产党章程</em>历次制定及修正概览 </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://www.12371.cn/special/dzxd/" target="_blank"> <img src="" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 1922年7月在上海召开的中国<em class="highlgt">共产党</em>第二次全国代表大会,讨论和通过了《中国<em class="highlgt">共产党章程</em>》,这部<em class="highlgt">章程</em>是中国<em class="highlgt">共产党</em>第一部比较完整的<em class="highlgt">章程</em>。从党的三大开始,除了党的五大,历次党的全国代表大会都对<em class="highlgt">党章</em>作出不同程度的修改,为这面高扬的旗帜增添新的思想光芒。 <span class="source-time"><i>更新时间:</i>2022-10-28 20:16:54</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://news.12371.cn/2013/08/22/ARTI1377119120781530.shtml" target="_blank"> <div class="title"> 《〈中国<em class="highlgt">共产党章程</em>〉集注》出版 </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://news.12371.cn/2013/08/22/ARTI1377119120781530.shtml" 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>,集中体现了党的性质和宗旨、党的理论和路线方针政策、党的重要主张,集中体现了党领导革命、建设、改革的 <span class="source-time"><i>更新时间:</i>2013-08-22 05:06:22</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/2023/06/13/ARTI1686642822039440.shtml" 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/2023/06/13/ARTI1686642822039440.shtml" target="_blank"> <img src="https://p3.img.cctvpic.com/photoworkspace/2023/06/13/2023061315544161652.jpg" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 《中国<em class="highlgt">共产党章程</em>》音频版 第六章党的干部 第三十五条党的干部是党的事业的骨干,是人民的公仆,要做到忠诚干净担当。党按照德才兼备、以德为先的原则选拔干部,坚持五湖四海、任人唯贤,坚持事业 <span class="source-time"><i>更新时间:</i>2023-06-14 07:22:53</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://www.12371.cn/2023/06/09/ARTI1686300854025332.shtml" 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/2023/06/09/ARTI1686300854025332.shtml" target="_blank"> <img src="https://p4.img.cctvpic.com/photoworkspace/2023/06/09/2023060916553071929.jpg" onload="picTip(this)" onerror="img_error(this)"> <!-- <i></i> --> </a> </div> <p> 《中国<em class="highlgt">共产党章程</em>》音频版 第四章党的地方组织 第二十五条党的省、自治区、直辖市的代表大会,设区的市和自治州的代表大会,县(旗)、自治县、不设区的市和市辖区的代表大会,每五年举行一次 <span class="source-time"><i>更新时间:</i>2023-06-12 07:39:37</span> </p> </div> </li> <li class="active"> <div class="com-title"> <a href="https://fuwu.12371.cn/2014/12/24/ARTI1419402060373216.shtml" target="_blank"> <div class="title"> 十四大关于中国<em class="highlgt">共产党章程</em>(修正案)的决议 </div> </a> </div> <div class="right"> <div class="video_img"> <a href="https://fuwu.12371.cn/2014/12/24/ARTI1419402060373216.shtml" 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>2014-12-24 14:23:01</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 = '17909'; var pageSize = '10'; var currentPage = '1'; var totalPage = 50; //datatype var nowDataType = 'newsmerge'; $('.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 = '902'; 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>

Pages: 1 2 3 4 5 6 7 8 9 10