CINXE.COM

宪法法律_共产党员网

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,initial-scale=1.0"/> <title> 宪法法律_共产党员网 </title> <script type="text/javascript" src="//www.12371.cn/js/checklogin.js"></script> <meta name=keywords content="法律 法规 宪法 民法典 刑法"> <meta name=description content="汇聚我国法律,包含,宪法、民法典、刑法等重要法律文件。"> <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" src="//r.img.cctvpic.com/photoAlbum/templet/js/jquery-1.7.2.min.js"></script><link type="text/css" rel="stylesheet" href="//r.img.cctvpic.com/dystudy/special/falv/style/style.css?c597a6fb819c2a4b62eccdbf5a513de5"/> <link rel="stylesheet" href="//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/swiper.min.css"> <script src="//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/prototype.js"></script> <script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> <script type="text/javascript" src="//p5.img.cctvpic.com/photoAlbum/templet/common/DEPA1459837614132641/jquery_weixin.min.js"></script> <script src="//www.12371.cn/js/jquery-1.js"></script> <script src="//www.12371.cn/js/jquery_002.js"></script> <script src="//www.12371.cn/js/jquery.js"></script> <script src="//www.12371.cn/js/jquery.DB_rotateRollingBanner.min.js?hc"></script> <script type="text/javascript"> <!-- var publishDate =" "; //--> </script> <script type="text/javascript"> var deviceWidth = document.documentElement.clientWidth; if(deviceWidth>750){ document.documentElement.style.fontSize=750/7.50+"px"; }else{ document.documentElement.style.fontSize=deviceWidth/7.50+"px"; } </script> </head> <div style ='margin:0 auto;width:0px;height:0px;overflow:hidden;' > <img src='//p2.img.cctvpic.com/photoAlbum/page/performance/img/2020/5/22/1590133165612_78.jpg' / > </div > <body id="bid"> <!-- 专题页底层页通用顶通 --> <link type="text/css" rel="stylesheet" href="//r.img.cctvpic.com/dystudy/include/general/1214/pddcydt/top/style/style.css?2d307ace23b48e65c6de0599694ba0f7"/> <style> .dy_top_dyw595{overflow: visible;} .dy_top_dyw595 .top_home_dyw356 span.homedyw356 { background:url(//p5.img.cctvpic.com/photoAlbum/templet/common/DEPA1496886602210558/home_dyw356.png) no-repeat; background-position:7px 11px; padding-left:27px; } .dy_top_dyw595 .top_home_dyw356 span.homedyw356:hover{background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/dyw695_home_hover.png) 7px 11px no-repeat;} .dy_top_dyw595 .top_login_dyw356 a:hover{color: #c12125;} .top_home_dyw356 span a:hover{color: #c12125;} .dy_top_dyw595 .top_right_dyw356 a{color: #333333;} .dy_top_dyw595 .top_right_dyw356 .tg_img{background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/dyw695_tg_hui.png) left center no-repeat;} .dy_top_dyw595 .top_right_dyw356 .tg_img:hover{background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/dyw695_tg_hover.png) left center no-repeat;color: #c12125;} .dwzx_img{background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/dyw695_dwwd_hui.png) left center no-repeat;height:40px;display:block;float:left;padding-left:27px;margin-left: 20px;} .dwzx_img:hover{background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/dyw695_dwwd_hover.png) left center no-repeat;color: #c12125;} a.dwzx_img:hover{color: #c12125;} .lt_img{background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/dyw695_lt_hui.png) left center no-repeat;height:40px;display:block;float:left;padding-left:27px;margin-left: 20px;} .lt_img:hover{background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/dyw695_lt_hover.png) left center no-repeat;color: #c12125;} a.lt_img:hover{color: #c12125;} .down_img{background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/dyw695_down_hui_01.png) left center no-repeat;height:40px;display:block;float:left;padding-left:24px;margin-left: 20px;} .down_img:hover{background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/dyw695_down_hover.png) left center no-repeat;color: #c12125;} a.down_img:hover{color: #c12125;} .top_user_dyw695{float: right;padding-right: 20px;} .top_user_dyw695 .user_left{width: 140px;height: 39px; float: left;text-align: center;background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/down_xia_dyw695_hui_03.png) 120px center no-repeat;border-left: 1px solid #f3f3f3;border-right: 1px solid #f3f3f3;border-top: 1px solid #f3f3f3;} .top_user_dyw695 .user_left:hover{width: 140px;height: 39px;border-left: 1px solid #cccccc;border-right: 1px solid #cccccc;border-top: 1px solid #cccccc;display: block;color: #c12025;position: relative;top:0px;left: 0px;background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/down_xia_dyw695.png) 120px center no-repeat #FFFFFF;} #top_user_dyw695_hover{} #top_user_dyw695_hover #sub_top_user_dyw695{position: absolute;top: 39px;left: -1px;z-index: 9998;width: 140px;border-bottom: 1px solid #cccccc;border-left: 1px solid #cccccc;border-right: 1px solid #cccccc;display: none;background: #FFFFFF;} #top_user_dyw695_hover #sub_top_user_dyw695 ul li{width:140px;text-align: center;height: 40px;color: #333333;font-size: 12px;font-family: "SimSun";background: #FFFFFF;*margin-top:-2px;} #top_user_dyw695_hover #sub_top_user_dyw695 ul li a{color: #333333;display: block;border-top: 1px dashed #cccccc;} #top_user_dyw695_hover #sub_top_user_dyw695 ul li a:hover{color: #FFFFFF;background: #c12025;font-weight: bold;display: block;text-decoration: none;} .dy_top_dyw595 .top_home_dyw356 span { display: inline-block; padding-right: 36px; } .column_wrapper_1200 { clear: both; margin: 0 auto; text-align: left; width: 1200px; } </style> <!--731修改--> <style> .top_mobile_dyw731{margin-left: 4px;float: left;position: relative;} .top_mobile_dyw731 .tj:hover{color: #c12125;} .top_mobile_dyw731 .mobiledyw731{padding-left: 20px;display: inline-block;background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/mobile.png) no-repeat 0 11px;} .top_mobile_dyw731 .mobiledyw731:hover{background-image: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/mobile_hover.png);color: #c12125;} .top_mobile_dyw731 .weixin_nr{display: none;position: absolute;top:40px;left:0px;width: 145px;height: 168px;line-height: 20px;padding: 10px;background: #fff;text-align: center;box-shadow: 1px 1px 10px #000000;margin-left: -50px;z-index: 10000;} </style> <!--731修改结束--> <script> function showUser(id){ document.getElementById(id).style.display = 'block'; } function hideUser(id){ document.getElementById(id).style.display = 'none'; } </script> <div class="dy_top_dyw595"> <div class="column_wrapper_1200"> <div class="left"> <div class="top_home_dyw356"> <span class="homedyw356"><a href="https://www.12371.cn/" target="_blank">共产党员网首页</a></span> </div> <!--731修改--> <div class="top_mobile_dyw731"> <a class="mobiledyw731" href="javascript:;">手机版</a> <div class="weixin_nr" id="subNav_1"> <img src="//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/ewm.png" width="145" height="145"> <p>欢迎使用手机浏览</p> </div> </div> <script> $('.mobiledyw731').mouseover(function(){ $('.weixin_nr').show(); }) $('.mobiledyw731').mouseout(function(){ $('.weixin_nr').hide(); }) </script> <!--731修改结束--> </div> <div class="right"> <div class="top_right_dyw356"> <a href="https://www.12371.cn/zgrjxz/" target="_blank" class="down_img">组工软件下载</a> </div> <!--用户中心未登录--> <div class="top_login_dyw356" id="dyw695"> </div> <script type="text/javascript"> var locationUrl = window.location.href; var loginbox001 = document.getElementById('dyw695'); loginbox001.innerHTML = "<a href='https://passport.12371.cn/login/login.jsp?service=" + locationUrl + "'>登录/注册</a>" </script> <!--用户中心已登录--> <div class="top_user_dyw695" id="yonghuming_dyw356"> <form action="https://passport.12371.cn/security/login" method="post" name="touForm" id="touForm"> <input type="hidden" id="service1" name="service" > <input type="hidden" id="returnUrl1" name="returnUrl" > <input type="hidden" id="loginId1" name="username" > <input type="hidden" name="loginCode" > <input type="hidden" value="true" name="nologincode" /> <span class="user_left" onmouseover="showUser('sub_top_user_dyw695');" onmouseout="hideUser('sub_top_user_dyw695');"><i id="showUser0618001"></i> <div id="top_user_dyw695_hover"> <div id="sub_top_user_dyw695"> <ul> <li><a href="https://passport.12371.cn/pass/selectPassServlet" target="_blank">用户中心</a></li> <li><a href="https://tougao.12371.cn/zuopin.php" target="_blank">我的投稿</a></li> <li><a href="https://wenda.12371.cn/my.php" target="_blank">我的问答</a></li> <li><a href="https://jingda.12371.cn/zice/zhuanti/index/myzice" target="_blank">我的自测</a></li> <!-- <li><a href="https://liuyan.12371.cn/myhome.php" target="_blank">我的留言</a></li> --> <li id="loginstuta001"></li> </ul> </div> <div class="clear"></div> </div> </span> </form> </div> </div> </div> </div> <style type="text/css"> .clear { clear: both; width: 1px; height: 1px; font-size: 1px; visibility: hidden; } .dy_top_dyw595 .top_home_dyw356 { margin-left: 0px; } .dy_top_dyw595 .top_home_dyw356 span.homedyw356:hover a{color: #c12125;} @media only screen and (min-width: 240px) and (max-width: 768px) { .dy_top_dyw595{display: none;} } </style> <script type="text/javascript"> <!-- if (typeof window.jQuery == 'undefined') { var JS = document.createElement("script"); JS.type = "text/javascript"; JS.src = "//r.img.cctvpic.com/photoAlbum/templet/js/jquery-1.4.2.min.js"; document.getElementsByTagName("head")[0].appendChild(JS); } function getParameter(args) { var url = window.location.href; var paraString = url.substring(url.indexOf('?') + 1, url.length).split('&'); var paraObj = {}; for (var i = 0; j = paraString[i]; i++) { paraObj[j.substring(0, j.indexOf('=')).toLowerCase()] = j.substring(j.indexOf("=") + 1, j.length); } var returnValue = paraObj[args.toLowerCase()]; if (typeof(returnValue) == 'undefined') { return ""; } else { return returnValue; } } function getCookie(objName) { var arrStr = document.cookie.split("; "); for (var i = 0; i < arrStr.length; i++) { var temp = arrStr[i].split("="); if (temp[0] == objName) return unescape(temp[1]); } } var cookieId1 = getCookie("passport"); var cookieId = getCookie("12371"); var locationUrl = window.location.href; function yetouchkLoginStatus() { if (typeof(serviceUrl) == 'undefined') { serviceUrl = window.location.href; if (serviceUrl.indexOf("so.12371.cn") != -1) { serviceUrl = "https://so.12371.cn"; } else { serviceUrl = serviceUrl.split("?")[0]; } }; var errorMsg = getParameter("errorMsg"); if (errorMsg != null && errorMsg != "") { errorMsg = decodeURI(decodeURI(errorMsg)); alert(errorMsg); } var loginstutabox = document.getElementById('loginstuta001'); var userbox = document.getElementById('showUser0618001'); var loginstutabox1 = document.getElementById('btn_01'); var btn = document.getElementById('btn'); var welcomeuserbox = document.getElementById('welcome'); if (cookieId != null && cookieId != "") { var avatar = ""; var cc = cookieId; var dd = cc.split("***"); loginstutabox.innerHTML = "<a href='https://passport.12371.cn/logout?service=" + serviceUrl + "'>退出账号</a>" var name_ = decodeURI(cookieId); var name1 = name_.substring(0, name_.indexOf("*")); if (dd[1] == 1) { if (name1.length >= 5) { userbox.innerHTML = name1.substring(0, 4) + '...'; } else { userbox.innerHTML = name1 + ''; } } else if (dd[1] == 0) { if (name1.length >= 16) { userbox.innerHTML = name1.substring(0, 13) + '...'; } else { userbox.innerHTML = name1 + ''; } } document.getElementById('yonghuming_dyw356').style.display = 'block'; document.getElementById('dyw695').style.display = 'none'; } else { document.getElementById('dyw695').style.display = 'block'; document.getElementById('yonghuming_dyw356').style.display = 'none'; userbox.innerHTML = ''; } }; function getCookie(name) { var strcookie = document.cookie; var arrcookie = strcookie.split("; "); for (var i = 0; i < arrcookie.length; i++) { var arr = arrcookie[i].split("="); if (arr[0] == name) return unescape(arr[1]); } return ""; } function SetCookie(name, value, expires) { document.cookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : ""); } function StringBuffer() { var arr = new Array(); this.append = function(str) { arr.push(str); return this; }; this.toString = function() { return arr.join(""); }; } function loadScript(__stringUrl, __functionCallback, __stringCharset) { var __elementScript = document.createElement("script"); __elementScript.type = "text/javascript"; if (typeof __stringCharset != "undefined") { __elementScript.charset = __stringCharset; } __elementScript._functionCallback = typeof __functionCallback != "undefined" ? __functionCallback: new Function(); __elementScript[document.all ? "onreadystatechange": "onload"] = function() { if (document.all && this.readyState != "loaded" && this.readyState != "complete") { return; } this._functionCallback(this); this._functionCallback = null; this[document.all ? "onreadystatechange": "onload"] = null; this.parentNode.removeChild(this); }; __elementScript.src = __stringUrl; document.getElementsByTagName("head")[0].appendChild(__elementScript); } document.body.setAttribute("id", "bid"); var kEvent1 = (function() { return { addEvent: function(element, name, observer, useCapture) { try { element = Dom.$id(element); if (element.addEventListener) { element.addEventListener(name, observer, useCapture); } else if (element.attachEvent) { element.attachEvent('on' + name, observer); } } catch(e) {} }, delEvent: function(el, sType, fn) { if (window.removeEventListener) { el.removeEventListener(sType, fn, false); } else if (window.detachEvent) { el.detachEvent("on" + sType, fn); } }, getTarget: function(ev) { var t = ev.target || ev.srcElement; return this.resolveTextNode(t); }, resolveTextNode: function(node) { if (node && 3 == node.nodeType) { return node.parentNode; } else { return node; } }, getRelatedTarget: function(ev) { var t = ev.relatedTarget; if (!t) { if (ev.type == "mouseout") { t = ev.toElement; } else if (ev.type == "mouseover") { t = ev.fromElement; } } return this.resolveTextNode(t); }, stopEvent: function(ev) { this.stopPropagation(ev); this.preventDefault(ev); }, stopPropagation: function(ev) { if (ev.stopPropagation) { ev.stopPropagation(); } else { ev.cancelBubble = true; } }, preventDefault: function(ev) { if (ev.preventDefault) { ev.preventDefault(); } else { ev.returnValue = false; } } } })(); var Dom = { $id: function(nodeId) { if (typeof nodeId == 'string') { return document.getElementById(nodeId); } else if (typeof nodeId == 'object') { return nodeId; } else { return false; } }, isClass: function(className, node) { if ((!node) || (!className)) { return null; } var reFlag = false; if (node.className == className) { reFlag = true; } return reFlag; }, hasClass: function(className, node) { if ((!className) || (!node) || (!node.className)) { return false; } return (new RegExp('(?:^|\\s+)' + className + '(?:\\s+|$)').test(node.className)); }, addClass: function(className, node) { if ((!className) || (!node)) { return false; } if (Dom.hasClass(className, node)) { return true; } var newClassName = node.className ? node.className + ' ' + className: className; node.className = newClassName; return true; }, removeClass: function(className, node) { if (! (Dom.hasClass(className, node))) { return; } var nodeClassName = node.className; if (nodeClassName == className) { nodeClassName = ""; } else { nodeClassName = nodeClassName.replace(new RegExp('(?:^|\\s+)' + className + '(?:\\s+|$)', 'g'), "").replace(/^\s*/, ""); } node.className = nodeClassName; } }; function searchSon(obj) { var o = obj.childNodes; var arro = []; for (var i = 0; i < o.length; i++) { if (o[i].nodeType == 1) { arro.push(o[i]); } } return arro; } function showSelect2(p) { var s_btn = document.getElementById("goto_btn"); if (s_btn.style.display == "") { s_btn.style.display = "none"; } s_btn.style.display = s_btn.style.display == "none" ? "block": "none"; } function showSelect4(p) { var s_btn = document.getElementById("goto_btn1"); if (s_btn.style.display == "") { s_btn.style.display = "none"; } s_btn.style.display = s_btn.style.display == "none" ? "block": "none"; $("#goto_btn1 a").attr(); } function showSelect6(p) { var s_btn = document.getElementById("goto_btn3"); if (s_btn.style.display == "") { s_btn.style.display = "none"; } s_btn.style.display = s_btn.style.display == "none" ? "block": "none"; $("#goto_btn3 a").attr(); } function showSelect7(p) { var s_btn = document.getElementById("goto_btn4"); if (s_btn.style.display == "") { s_btn.style.display = "none"; } s_btn.style.display = s_btn.style.display == "none" ? "block": "none"; $("#goto_btn4 a").attr(); } function hideSelect(e) { var evn = kEvent1.getTarget(e); } kEvent1.addEvent("bid", "mousedown", hideSelect); function isBlank(content) { return content == null || content == "" || content == "用户名" ; } function transform1() { var loginId = $("#login_Id1").val(); if (isBlank(loginId)) { alert("请输入用户名!"); return; } var password = $("#password1").val(); if (isBlank(password)) { alert("请输入密码!"); return; } var ifOpen = true; var serviceUrl = window.location.href; $.getJSON("https://passport.12371.cn/security/login?callback=?", { username: encodeURI(loginId), password: password, nologincode: "true", ajax: "true" }, function(data) { var result = data.state; if (result == "success") { if (ifOpen) { window.location.href=serviceUrl; } else { window.location.reload() } } else { result = decodeURI(decodeURI(result)); alert(result); } }); } yetouchkLoginStatus(); document.onkeydown = function(event) { if (!event) event = window.event; if ((event.keyCode || event.which) == 13) { if (! ($("#login_Id1").get(0).value == '' || $("#login_Id1").get(0).value == '用户名' || $("#password1").get(0).value == '' || $("#password1").get(0).value == '密码')) { document.getElementById("enter").click(); } return false; } } function SetHome(url){ if (document.all) { document.body.style.behavior='url(#default#homepage)'; document.body.setHomePage(url); }else{ alert("您好,您的浏览器不支持自动设置页面为首页功能,请您手动在浏览器里设置该页面为首页!"); } } //--> /**20131112-新版首页顶通割接-lwt*/ </script> <div class="bg_center_v_tile"> <div class="bg_top_h_tile"> <div class="bg_top_owner"> <div class="bg_bottom_h_tile"> <div class="bg_bottom_owner"> <div id="page_head"> </div> <div id="page_body"> <style type="text/css"> a:hover{ text-decoration:none; } .lt86 .banner{ height:150px; margin: 0 auto; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_banner.png) no-repeat top center; } .column_wrapper_1000{ width: 1000px; margin: 0 auto; } body{ background: #f5f5f5; } /* nav */ .dyw1015_nav{ width: 1000px; margin: 38px auto 30px; } .dyw1015_nav li{ font: 20px '微软雅黑'; line-height: 43px; color: #333; float: left; font-weight: 800; padding: 0 8px; margin-right: 70px; } .dyw1015_nav li:last-child{ margin-right: 0; } .dyw1015_nav li:hover,.dyw1015_list li a:hover,.dyw1015_jqgx li a:hover,.dyw1015_list li .text a:hover{ color: #c41909; } .dyw1015_nav li a{ color: #333; } .dyw1015_nav li.cur a{ color: #c41909; } .dyw1015_nav li:hover a{ color: #c41909; } /* left */ .column_wrapper_600{ width: 600px; float: left; } .dyw1015_list li{ padding: 11px 20px 24px; background: #fff; border-bottom: 1px dashed #ccc; } .dyw1015_list li:last-child{ border-bottom: 0px dashed #ccc; } .dyw1015_list li .title{ margin-bottom: 10px; padding-top: 23px; } .dyw1015_list li .title span.tit1{ display: inline; font: 20px '微软雅黑'; margin-right: 13px; color: #333; } .dyw1015_list li .title span.tit2{ display: inline-block; font: 14px '微软雅黑'; color: #666; margin-top: 23px; } .dyw1015_list li .text{ margin-bottom: 10px; } .dyw1015_list li .text a{ display: inline-block; padding-left: 20px; font: 14px '微软雅黑'; color: #333; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_tit.png) no-repeat left center; margin-right: 48px; margin-top: 13px; } /* 分页 */ .turn_page_box_1015 { clear: both; text-align: center; color: #000000; margin: 40px 0; font-size: 14px; width: auto; } .turn_page_box_1015 a { display: inline-block; padding: 0px 11px; height: 30px; text-align: center; line-height: 30px; color: #292929; font-size: 14px; background: #e1e1e1; font-family: "微软雅黑"; margin: 0px 3px; text-decoration: none; } .turn_page_box_1015 .tpb_btn_previous { display: inline-block; width: auto; padding: 0px 11px; height: 30px; text-align: center; line-height: 30px; color: #292929; font-size: 14px; font-family: "微软雅黑"; } .turn_page_box_1015 .cur { display: inline-block; padding: 0px 11px; height: 30px; text-align: center; line-height: 30px; background-color: #c41909; font-size: 14px; color: #ffffff; font-family: "微软雅黑"; } /* right */ .column_wrapper_360{ width: 360px; float: right; } /* 搜索 */ .dyw1015_search input { float: left; width: 299px; height: 48px; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; border-right: 0; color: #333333; font-size: 14px; line-height: 48px; padding-left: 10px; } .dyw1015_search #val1{ color: #333; } .dyw1015_search #val1:focus{ outline: none; } .dyw1015_search .button { background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw769_search.jpg) right center no-repeat; width: 50px; height: 50px; float: left; cursor: pointer; } /* 热门 */ .dyw1015_rmbq{ background: #fff; width: 306px; padding: 20px 19px 25px 35px; margin-top: 15px; } .dyw1015_rmbq .tit{ font: 18px '微软雅黑'; color: #c41909; margin-bottom: 13px; } .dyw1015_rmbq ul li{ float: left; border: 1px solid #efd3a2; width: 143px; text-align: center; font: 14px '微软雅黑'; line-height: 33px; color: #9b6b1e; background: #fff9f1; margin-right: 8px; margin-top: 13px; } .dyw1015_rmbq ul li:first-child{width: 296px;} .dyw1015_rmbq ul li a{ display:block; color: #9b6b1e; padding: 0 0; background: #fff9f1; } /* <!-- 近期更新 --> */ .dyw1015_jqgx{ background: #fff; width: 306px; padding: 20px 19px 25px 35px; margin-top: 15px; } .dyw1015_jqgx .tit{ font: 18px '微软雅黑'; color: #c41909; margin-bottom: 13px; } .dyw1015_jqgx .tit a{ color: #c41909; } .dyw1015_jqgx li{ font: 16px '微软雅黑'; color: #333; line-height: 34px; margin-top: 8px; } .dyw1015_jqgx li a{ display: block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .dyw1015_jqgx li span{ display: none; font: 16px '微软雅黑'; color: #666; line-height: 34px; } /* <!-- 相关推荐 --> */ .dyw1015_xgtj{ background: #fff; width: 306px; padding: 20px 19px 25px 35px; margin-top: 15px; } .dyw1015_xgtj .tit{ font: 18px '微软雅黑'; color: #c41909; margin-bottom: 13px; } .dyw1015_xgtj li{ float: left; width: 71px; text-align: center; margin-right: 41px; margin-top: 20px; margin-bottom: 10px; } .dyw1015_xgtj li.marR0{ margin-right: 0; } .dyw1015_xgtj li img{ width: 64px; height: 64px; } .dyw1015_xgtj li span{ display: inline-block; font: 14px '微软雅黑'; color: #333; margin-top: 16px; } /* 移动专属 */ .dyw1015_yd_nav{ display: none; } /* 首页专属 */ .dyw1015_nav li.cur{ color: #c41909; border-bottom: 3px solid #c41909; } /* <!-- 党的组织法规 二级页小模块 --> */ .dyw1015_ddzzfg{ background:#fff; width: 580px; padding-top: 30px; padding-left: 20px; } .dyw1015_ddzzfg img{ height: 30px; } .dyw1015_ddzzfg span{ display: inline-block; font: 21px '微软雅黑'; color: #c41909; padding-left: 13px; vertical-align: top; } /* 搜索结果 */ .dyw1015_ssjg{ background:#fff; padding-top: 30px; padding-left: 15px; width: 585px; font: 18px '微软雅黑'; color: #333; } .dyw1015_ssjg span{ color: #c41909; } @media only screen and (min-width: 240px) and (max-width: 768px) { article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;} img { max-width: 100%; height: auto; width: auto\9;/*ie8*/} img, object { max-width: 100%;} a:active{ color:#D90000;} .top_x_xq7587{display: none;}/*顶部导航隐藏*/ #page_bottom .copyright{display: none;}/*底通隐藏*/ .vspace{height: 0rem !important;} .column_wrapper_1200{width: 100%;} .column_wrapper{width: 100%;} .sub_638{width: 100%;float: none;} .sub_315{width: 100%;float: none;} .vspace_jj{display: none !important;} .col_w960{width: 100%;float: none;} /*底通*/ #dyw817_page_bottom .copyright{width: 100%;font-family: "Ping Hei";font-size: 0.32rem;color: #333333;height: auto;line-height: 0.32rem;border-top: 0;background: #f0f0f0;} #dyw817_page_bottom .copyright .main{width: 100%;} #_ideConac{display: none;} #dyw817_page_bottom .copyright .main .left{width: 100%;padding: 0.46rem 0;} #dyw817_page_bottom .copyright .main .right{width: 100%;padding: 0.2rem 0 0.4rem 0;text-align: center;} #dyw817_page_bottom .copyright .main .right span{width: 40%;margin: 0 auto;display: block;line-height: 0.4rem;font-size: 0.24rem;} .dy_top_dyw595{display: none;} /*移动视频通用*/ embed{ width: 100%;height: auto;} .video_dyw407{height:auto !important;} #myFlashContainer {background: #000000; _background: #000000;} #myFlash { height: auto !important;} #myFlash video {width: 100%; height: auto !important;} #html5Player {position: static !important;width:100% !important;height: auto !important;} #html5VideoBack{width:100% !important;height: auto !important;} #html5ControlDiv{width:100% !important;height: auto !important;} #_video_player_box{width: 100% !important;height: auto !important;} .dyw1015_yd_nav .rmbq li a{ background: #eee !important; } .lt86 .banner{ height:1.46rem; width: 7.5rem; margin: 0 auto; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_yd_banner.png) no-repeat top center; background-size: 100%; } .column_wrapper_1000{ width: 7.5rem; margin: 0 auto; } body{ background: #f5f5f5; } /* nav */ .dyw1015_nav{ display: none; } /* left */ .column_wrapper_600{ width: 7rem; float: none; margin: 0 auto; } .column_wrapper_360{ width: 7rem; float: none; margin: 0 auto; } .dyw1015_list li{ padding: 0 0.3rem 0.42rem; background: #fff; border-bottom: 0.2rem solid #f5f5f5; margin-top: 0.2rem; } .dyw1015_list li:last-child{ border-bottom: 0px dashed #f5f5f5; } .dyw1015_list li .title{ margin-bottom: 0.2rem; padding-top: 0.54rem; } .dyw1015_list li .title span.tit1{ display: inline; font: 0.36rem '微软雅黑'; margin-right: 0.4rem; color: #333; } .dyw1015_list li .title span.tit2{ display: inline-block; font: 0.24rem '微软雅黑'; color: #666; margin-top: 0.04rem; } .dyw1015_list li .text{ margin-bottom: 0.1rem; font-size: 0; } .dyw1015_list li .text a{ display: inline-block; padding-left: 0.21rem; font: 0.26rem '微软雅黑'; color: #666; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_tit.png) no-repeat left top 0.25rem; margin-right: 0.48rem; margin-top: 0.38rem; line-height: 0.6rem; } .dyw1015_list li .text a:nth-child(odd){ margin-left: 0; } /* 分页 */ .turn_page_box_1015 { display: none; } /* right */ /* 搜索 */ .dyw1015_search{ display: none; } /* 热门 */ .dyw1015_rmbq{ display: none; } /* <!-- 近期更新 --> */ .dyw1015_jqgx{ display: none; } /* <!-- 相关推荐 --> */ .dyw1015_xgtj{ display: none; } /* 移动导航 */ .dyw1015_yd_nav{ display: block; } .dyw1015_yd_nav .nav{ height: 0.9rem; width: 7rem; padding: 0 0.25rem; background: #fff; overflow: hidden; } .dyw1015_yd_nav .nav li{ float: left; font: 0.36rem '微软雅黑'; color: #333; width: 1.9rem; text-align: center; line-height: 0.9rem; } .dyw1015_yd_nav .nav li.ss{ width: 0.4rem; height: 0.9rem; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_yd_ss.png) no-repeat center center; background-size: 100%; margin-right: .25rem; } .dyw1015_yd_nav .nav li.ss_cur{ display: none; width: 0.4rem; height: 0.9rem; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_yd_ss_cur.png) no-repeat center center; background-size: 100%; margin-right: .56rem; } .dyw1015_yd_nav .nav li.xl{ width: 0.38rem; height: 0.9rem; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_yd_xl.png) no-repeat center center; background-size: 100%; margin-left: .25rem; } .dyw1015_yd_nav .nav li.xl_cur{ width: 0.38rem; height: 0.9rem; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_yd_xl_cur.png) no-repeat center center; background-size: 100%; margin-left: .25rem; } .dyw1015_yd_nav .nav li.input { width: 5.1rem; display: none; } .dyw1015_yd_nav .nav li.input input{ border: 0; outline: none; font: 0.24rem '微软雅黑'; line-height: 0.6rem; color: #333; width: 4.7rem; padding: 0.15rem 0.2rem; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_input.png) no-repeat center center; background-size: 100%; } .dyw1015_yd_nav .nav li.tc{ display: none; width: 0.6rem; height: 0.9rem; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_yd_tc.png) no-repeat center center; background-size: 100%; margin-left: .34rem; } /* ##### */ .dyw1015_yd_nav .rmbq{ display: none; width: 7.25rem; padding: 0.3rem 0rem 0.5rem 0.25rem; background: #fff; } .dyw1015_yd_nav .rmbq .tit{ font: 0.24rem '微软雅黑'; color: #c41909; margin-bottom: 0.12rem; } .dyw1015_yd_nav .rmbq li{ float: left; font: 0.28rem '微软雅黑'; color: #666; line-height: 0.8rem; margin-right: 0.38rem; padding: 0 0.36rem; background: #eee; border-radius: 0.03rem; margin-top: 0.24rem; } /* 下拉列表 */ .dyw1015_yd_nav .list{ display: none; background: #fff; } .dyw1015_yd_nav .list .dzdg{ border-bottom: 0.1rem solid #f5f5f5; width: 5.7rem; padding: 0 0.9rem 0.4rem; } .dyw1015_yd_nav .list .dzdg li{ float: left; font: 0.36rem '微软雅黑'; color: #333; width: 1.9rem; text-align: center; line-height: 0.9rem; margin-top: 0.3rem; } .dyw1015_yd_nav .list .xgtj { width: 7.25rem; padding-left: 0.25rem; padding-bottom: 0.8rem; } .dyw1015_yd_nav .list .xgtj .tit{ font: 0.24rem '微软雅黑'; color: #c41909; margin: 0.5rem 0 0; } .dyw1015_yd_nav .list .xgtj li{ width: 2.1rem; height: 0.78rem; float: left; font: 0.28rem '微软雅黑'; text-align: center; line-height: 0.78rem; background: #eee; margin-right: 0.31rem; color: #333; margin-top: 0.5rem; } /* <!-- 遮罩 --> */ .dyw1015_yd_nav .nav{ position: relative; z-index: 1; } .dyw1015_yd_nav .rmbq,.dyw1015_yd_nav .list{ position: absolute; z-index: 1; } .dyw1015_yd_nav .zz{ display: none; width: 7.5rem; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_zz.png); position: absolute; top: 1.46rem; bottom: 0; } /* <!-- 党的组织法规 二级页小模块 --> */ .dyw1015_ddzzfg{ background:#fff; width: 6.75rem; padding: 0.2rem 0 0.1rem 0.25rem; border-top: 0.2rem solid #f5f5f5; } .dyw1015_ddzzfg img{ height: 0.6rem; } .dyw1015_ddzzfg span{ display: inline-block; font: 0.36rem '微软雅黑'; color: #c41909; padding-left: 0.2rem; vertical-align: top; line-height: 0.6rem; } /* 搜索结果 */ .dyw1015_ssjg{ background:#fff; width: 6.75rem; padding: 0.2rem 0 0.2rem 0.25rem; border-top: 0.2rem solid #f5f5f5; font: 0.36rem '微软雅黑'; color: #333; } .dyw1015_ssjg span{ color: #c41909; } </style><style> .dyw1018_sousuo{display: none;} @media only screen and (min-width: 240px) and (max-width: 768px) { .dyw1015_yd_nav{display: none;} .lt86 .banner{display: none;} .bg_top_owner{background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_banneryd0616.png) no-repeat;background-size: 100%;} /* 搜索框 */ .dyw1018_sousuo{ display: block; height: 1.46rem; position: relative; } .dyw1018_sousuo .fals{ position: absolute; width: 3rem; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_sousuoyd0616.png) no-repeat; background-size:100% ; font:0.24rem '微软雅黑'; color: #666; line-height: 0.55rem; text-indent: 1em; top: 0.65rem; right: 0.25rem; } .dyw1018_sousuo .tru{ display: none; position: fixed; width: 7.5rem; background-color: #fff; z-index: 111; height: 100%; padding-bottom: 1rem; overflow: scroll; } .dyw1018_sousuo .tru .nav_header{ width: 7.5rem; height: 1rem; background-color: #bf0614; text-align: center; font-size: 0.4rem; color: #fff; line-height: 1rem; font-weight: bold; } .dyw1018_sousuo .tru .nav_header .homepage { position: absolute; display: block; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/fgkicon_fanhui.png) no-repeat; background-size: 0.48rem; width: 0.48rem; height: 0.48rem; left: 0.2rem; top: 0.26rem; } .dyw1018_sousuo .tru .ind_search{ margin-top: 0.5rem; margin-left: 0.25rem; height: 0.76rem; position: relative; } .dyw1018_sousuo .tru .ind_search input{ border-radius: 0px; float: left; width: 5.8rem; border: 1px solid #bf0614; padding: 0 1rem 0 0.2rem; font-size: 0.36rem; line-height: 0.76rem; color: #333; outline: none; } .dyw1018_sousuo .tru .ind_search .butt{ height: 0.84rem; width: 0.84rem; background: url(//p4.img.cctvpic.com/photoAlbum/templet/common/DEPA1505181804180579/yd_home_searchbg.jpg) no-repeat no-repeat right top; background-size:0.84rem 0.8rem; position:absolute; z-index: 100; top: 0; right: 0.2rem; } .dyw1019_jqgx{ margin-top: 0.56rem; } .dyw1019_jqgx .title{ width: 7rem; margin: 0 auto; font: 0.24rem '微软雅黑'; color: #c41909; margin-bottom: 0.1rem; } .dyw1019_jqgx .list li{ width: 7rem; padding: 0.4rem 0.25rem 0.4rem; border-bottom: 0.1rem solid #f5f5f5; } .dyw1019_jqgx .list li.last{ border: 0; } .dyw1019_jqgx .list .one{ display: block; font: 0.28rem '微软雅黑'; line-height: 0.36rem; color: #333; margin-bottom: 0.3rem; } .dyw1019_jqgx .list .two{ display: block; font: 0.24rem '微软雅黑'; line-height: 0.3rem; color: #666; } } </style> <div class="dyw1018_sousuo"> <div class="fals"> 请输入关键字 </div> <div class="tru"> <header class="nav_header"> <div class="homepage"> </div> <div class="title"> 搜索 </div> </header> <div class="ind_search"> <form style="display: inline;float:left;" action="" target="#" id="sysearch_from"> <input type="text" placeholder="请输入关键字" id="passW"> <div class="butt"> </div> <iframe name="frameFile" style="display: none;"></iframe> </form> </div> <div class="dyw1019_jqgx"> <div class="title">近期更新</div> <ul class="list"> <li><a href="https://www.12371.cn/2023/09/02/ARTI1693619817697697.shtml" target="_blank"><span class="one">中华人民共和国外国国家豁免法</span></a></li> <li><a href="https://www.12371.cn/2023/09/02/ARTI1693619683433682.shtml" target="_blank"><span class="one">中华人民共和国行政复议法</span></a></li> <li><a href="https://www.12371.cn/2023/07/09/ARTI1688890231473465.shtml" target="_blank"><span class="one">私募投资基金监督管理条例</span></a></li> <li><a href="https://www.12371.cn/2023/06/29/ARTI1687995201098187.shtml" target="_blank"><span class="one">中华人民共和国对外关系法</span></a></li> <li class="last"><a href="https://www.12371.cn/2023/06/29/ARTI1687994873832995.shtml" target="_blank"><span class="one">中华人民共和国无障碍环境建设法</span></a></li> </ul> </div> </div> <script> $('.dyw1018_sousuo .fals').on('click',function(){ $('.dyw1018_sousuo .tru').show(); $('.dyw1018_sousuo .tru .ind_search input').focus(); $('#bid').height(0).css('overflow','hidden') $('body').css('background','#fff'); }) $('.dyw1018_sousuo .tru .nav_header .homepage').on('click',function(){ $('.dyw1018_sousuo .tru').hide(); $('.dyw1018_sousuo .tru .ind_search input').blur(); $('#bid').height('100%').css('overflow','auto') $('body').css('background','#f5f5f5'); }) // 移动搜索 var searchbox1 = document.getElementById('passW'); document.getElementById('sysearch_from').onsubmit = function(){ setTimeout(function(){ window.location.href='https://www.12371.cn/special/falv/search/index.shtml?keyword=' + encodeURIComponent(searchbox1.value)+''; }, 100); } $('.dyw1018_sousuo .tru .ind_search .butt').on('click',function(){ window.location.href='https://www.12371.cn/special/falv/search/index.shtml?keyword=' + encodeURIComponent(searchbox1.value)+''; }) </script> </div> <div class="lt86"><div class="banner"></div></div> <style type="text/css"> .lt86 .banner{ height:150px; margin: 0 auto; background: url(//p4.img.cctvpic.com/photoAlbum/page/performance/img/2022/7/13/1657678315993_261.jpg) no-repeat top center; } @media only screen and (min-width: 240px) and (max-width: 768px) { .lt86 .banner{ height:1.46rem; width: 7.5rem; margin: 0 auto; } .bg_top_owner{background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/jfflbanner.png) no-repeat;background-size: 100%;} } </style> <div class="column_wrapper_1000"> <div id="SUBD1656898217782394"> <ul class="dyw1015_nav"> <li class=""><a href="#" target=_blank>宪法</a></li> <li class=""><a href="#" target=_blank>宪法相关法</a></li> <li class=""><a href="#" target=_blank>民法商法</a></li> <li class=""><a href="#" target=_blank>行政法</a></li> <li class=""><a href="#" target=_blank>经济法</a></li> <li class=""><a href="#" target=_blank>社会法</a></li> <li class=""><a href="#" target=_blank>刑法</a></li> <li class=""><a href="#" target=_blank>程序法</a></li> <li class=""><a href="#" target=_blank>法律动态</a></li> </ul> <script> for(var i=0;i<$('.dyw1015_nav li a').length;i++){ console.log(i,$('.dyw1015_nav li a').eq(i).attr('href').indexOf(location.hostname)) if($('.dyw1015_nav li a').eq(i).attr('href')==location.href.split('?')[0]){ $('.dyw1015_nav li a').parent('li').removeClass('cur') $('.dyw1015_nav li a').eq(i).parent('li').addClass('cur') }else if('https://www.12371.cn/special/dnfg/index.shtml'==location.href.split('?')[0]){ $('.dyw1015_nav li a').parent('li').removeClass('cur') $('.dyw1015_nav li a').eq(0).parent('li').addClass('cur') } } </script> <style>.dyw1015_nav li{margin-right:34px;}</style> <style> .dyw1019_yd_nav{display: none;} @media only screen and (min-width: 240px) and (max-width: 768px) { .dyw1019_yd_nav{display: block;height: 1.1rem;} .dyw1019_yd_nav .nav{ padding-right: 0.88rem;padding-bottom:0.03rem } .dyw1019_yd_nav .nav_list li{ cursor: pointer; display: inline-block; font-family: '微软雅黑'; font-size: 0.32rem; line-height: 1.1rem; height: 1.08rem; padding: 0rem 0.36rem; color: #333; width: auto; } .dyw1019_yd_nav .nav_list li.cur{ border-bottom: 0.03rem solid #c41909; } .dyw1019_yd_nav .nav_list li.cur a{ color:#c41909; } .dyw1019_yd_nav .nav_zz{ height: 1.08rem; width: 0.68rem; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_hsyd0616.png) no-repeat center center/100% 100%; position: absolute; right: 0.7rem; top: 0; z-index: 9; } .dyw1019_yd_nav .nav_butt{ position: absolute; right: 0; top: 0; width: 0.78rem; height: 1.08rem; z-index: 9; background: #f5f5f5 url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_xlkyd0616.png) no-repeat center center/0.3rem 0.3rem; } .dyw1019_yd_nav .list{ display: none; } /* 下拉列表 */ .dyw1019_yd_nav .list{ display: none; background: #fff; position: absolute; z-index: 10; overflow: scroll; height: 100%; top: 0; } .dyw1019_yd_nav .list .dzdg{ border-bottom: 0.1rem solid #f5f5f5; width: 7.5rem; padding: 0 0rem 0.4rem; } .dyw1019_yd_nav .list .dzdg li{ float: left; font: 0.36rem '微软雅黑'; color: #333; width: 2.5rem; text-align: center; line-height: 0.9rem; margin-top: 0.3rem; } .dyw1019_yd_nav .list .xgtj { width: 7.25rem; padding-left: 0.25rem; padding-bottom: 0.8rem; } .dyw1019_yd_nav .list .xgtj .tit{ font: 0.24rem '微软雅黑'; color: #c41909; margin: 0.5rem 0 0; } .dyw1019_yd_nav .list .xgtj li{ width: 2.1rem; height: 0.78rem; float: left; font: 0.28rem '微软雅黑'; text-align: center; line-height: 0.78rem; background: #eee; margin-right: 0.31rem; color: #333; margin-top: 0.5rem; } /* 220607 */ .dyw1019_yd_nav .list .dnfgtx{ width: 7.25rem; padding-left: 0.25rem; padding-bottom: 0.8rem; border-bottom: 0.1rem solid #f5f5f5; } .dyw1019_yd_nav .list .dnfgtx .tit{ font: 0.24rem '微软雅黑'; color: #c41909; margin: 0.5rem 0 0; } .dyw1019_yd_nav .list .dnfgtx li{ width: 3.32rem; height: 0.78rem; float: left; font: 0.28rem '微软雅黑'; text-align: center; line-height: 0.78rem; background: #eee; margin-right: 0.3rem; color: #333; margin-top: 0.5rem; } .dyw1019_yd_nav .list .dnfgtx li.cur{ width: 6.94rem; } .dyw1019_yd_nav .list .big_title { width: 7.25rem; padding-left: 0.25rem; } .dyw1019_yd_nav .list .left_border {display: none; width: 0.04rem; background-color: #bf0614; position: absolute; left: 0.15rem; top: 0.42rem; height: 0.38rem; } .dyw1019_yd_nav .list .big_title .tit { font: 0.24rem '微软雅黑'; color: #c41909; margin: 0.45rem 0 0; } .dyw1019_yd_nav .list .big_title .close_btn { position: absolute; right: 4.166%; top: 0.5rem; width: 0.32rem; height: 0.3rem; background: url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw1015_gbanyd0616.png) no-repeat center center/100% 100%; } } </style> <script src="//p1.img.cctvpic.com/photoAlbum/templet/common/DEPA1540451679495312/idangerous.swiper.js"></script> <link rel="stylesheet" href="//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/swiper.min.css"> <div class="dyw1019_yd_nav "> <div class="nav swiper-container"> <ul class="nav_list swiper-wrapper"> <li class="swiper-slide"><a href="#" target="_blank">宪法</a></li> <li class="swiper-slide"><a href="#" target="_blank">宪法相关法</a></li> <li class="swiper-slide"><a href="#" target="_blank">民法商法</a></li> <li class="swiper-slide"><a href="#" target="_blank">行政法</a></li> <li class="swiper-slide"><a href="#" target="_blank">经济法</a></li> <li class="swiper-slide"><a href="#" target="_blank">社会法</a></li> <li class="swiper-slide"><a href="#" target="_blank">刑法</a></li> <li class="swiper-slide"><a href="#" target="_blank">程序法</a></li> <li class="swiper-slide"><a href="#" target="_blank">法律动态</a></li> </ul> <script> if(deviceWidth>750){}else{ for(var i=0;i<$('.dyw1019_yd_nav .nav_list li a').length;i++){ if($('.dyw1019_yd_nav .nav_list li a').eq(i).attr('href')==location.href.split('?')[0] ){ $('.dyw1019_yd_nav .nav_list li a').parent('li').removeClass('cur') $('.dyw1019_yd_nav .nav_list li a').eq(i).parent('li').addClass('cur') }else if('https://www.12371.cn/special/dnfg/index.shtml'==location.href.split('?')[0]){ $('.dyw1019_yd_nav .nav_list li a').parent('li').removeClass('cur') $('.dyw1019_yd_nav .nav_list li a').eq(0).parent('li').addClass('cur') } } var swiper = new Swiper('.dyw1019_yd_nav .nav', { paginationClickable :true, slidesPerView :'auto', }); for(var i=0;i<$('.dyw1019_yd_nav .nav_list li').length;i++){ if($('.dyw1019_yd_nav .nav_list li').eq(i).hasClass('cur')){swiper.swipeTo(i)} } } </script> <div class="nav_zz"></div> <div class="nav_butt"></div> </div> <div class="list"> <div class="big_title"> <div class="left_border"></div> <div class="tit"><cf:header>宪法法律</cf:header></div> <a id="close_btn" class="close_btn" href="javascript:;"></a> </div> <!-- 党章列表 --> <div class="dzdg"> <ul> <li><a href="#" target=_blank>宪法</a></li> <li><a href="#" target=_blank>宪法相关法</a></li> <li><a href="#" target=_blank>民法商法</a></li> <li><a href="#" target=_blank>行政法</a></li> <li><a href="#" target=_blank>经济法</a></li> <li><a href="#" target=_blank>社会法</a></li> <li><a href="#" target=_blank>刑法</a></li> <li><a href="#" target=_blank>程序法</a></li> <li><a href="#" target=_blank>法律动态</a></li> </div><div class="xgtj"> <div class="tit"><cf:header>相关推荐</cf:header></div> <ul> <li><a href="https://www.12371.cn/special/sxll/" target=_blank><span>思想理论</span></a></li> <li><a href="https://www.12371.cn/special/dnfg/" target=_blank><span>党章党规</span></a></li> <li class="marR0"><a href="https://www.12371.cn/special/dzby/" target=_blank><span>先进典型</span></a></li> <li><a href="https://www.12371.cn/special/falv/" target=_blank><span>宪法法律</span></a></li> <li><a href="https://www.12371.cn/special/zcwj/" target=_blank><span>文件汇编</span></a></li> <li class="marR0"><a href="https://fuwu.12371.cn/dwwd/" target=_blank><span>党务知识</span></a></li> <li><a href="https://www.12371.cn/kjjm/" target=_blank><span>课件节目</span></a></li> <li><a href="https://www.12371.cn/special/zt/" target=_blank><span>专题荟萃</span></a></li> <li class="marR0"><a href="https://www.12371.cn/special/xz/" target=_blank><span>下载中心</span></a></li> </ul></div> </div> <script> if(deviceWidth>750){}else{ $('.dyw1019_yd_nav .nav_butt').on('click',function(){ $('.dyw1019_yd_nav .list').show(); $('#bid').height(0).css('overflow','hidden') }) $('.dyw1019_yd_nav .list .big_title .close_btn').on('click',function(){ $('.dyw1019_yd_nav .list').hide(); $('#bid').height('100%').css('overflow','auto') }) } </script> </div> </div> </div><div class="column_wrapper_1000"> <div class="column_wrapper_600"> <div id="SUBD1656898217782404"> <div class="ELMT1658372354336353"> <script language=javascript> var itemELMT1658372354336353=[]; itemELMT1658372354336353=[{'link_add':'http://news.12371.cn/2018/03/22/ARTI1521673331685307.shtml','title':'中华人民共和国宪法(2018年3月11日)','content':'<a href="http://www.12371.cn/special/xfxza/" target="_blank">专题</a>','brief':'<a href=http://news.12371.cn/2018/03/11/ARTI1520780483940444.shtml target=_blank>中华人民共和国宪法修正案</a><br><a href=http://news.12371.cn/2018/03/13/ARTI1520871544738571.shtml target=_blank>诞生记</a> <a href=http://news.12371.cn/2018/03/12/ARTI1520819551715766.shtml target=_blank>图解</a> <a href=http://news.12371.cn/2018/03/12/ARTI1520868362788444.shtml target=_blank>修改前后对照表</a>'},{'link_add':'http://news.12371.cn/2015/03/18/ARTI1426665353707560.shtml','title':'中华人民共和国宪法修正案(2004年3月14日)','content':'','brief':''},{'link_add':'http://news.12371.cn/2015/03/18/ARTI1426665149510505.shtml','title':'中华人民共和国宪法修正案(1999年3月15日)','content':'','brief':''},{'link_add':'http://news.12371.cn/2015/03/18/ARTI1426664910960419.shtml','title':'中华人民共和国宪法修正案(1993年3月29日)','content':'','brief':''},{'link_add':'http://news.12371.cn/2015/03/18/ARTI1426664030986323.shtml','title':'中华人民共和国宪法修正案(1988年4月12日)','content':'','brief':''},{'link_add':'http://news.12371.cn/2015/03/18/ARTI1426664689523381.shtml','title':'中华人民共和国宪法(1982年12月4日)','content':'','brief':''}]; //要显示的页面 var currpageELMT1658372354336353 = 1; //一页显示信息条数为9 if(deviceWidth>750){ var pagesizeELMT1658372354336353=10; }else{ var pagesizeELMT1658372354336353=itemELMT1658372354336353.length; } //页数维护所显示的第一页 var beginpage=1; //页数维护所显示的最后一页 var endpage=100; function displaypageELMT1658372354336353(move){ var strTextELMT1658372354336353=""; //var strTextELMT16583723543363533=""; var prepage=currpageELMT1658372354336353; currpageELMT1658372354336353=move; //该页的第一行 var start=pagesizeELMT1658372354336353*(currpageELMT1658372354336353-1); if(start<0||start>=itemELMT1658372354336353.length) return; var strTextELMT1658372354336353 =[]; strTextELMT1658372354336353.push(''); for(var j=1;j<=pagesizeELMT1658372354336353;j++){ if(start<itemELMT1658372354336353.length){ strTextELMT1658372354336353.push("<li><div class=\"title\"><span class=\"tit1\"><a href=\"",itemELMT1658372354336353[start].link_add,"\" target=\"_blank\">",itemELMT1658372354336353[start].title,"</a></span><span class=\"tit2\">",itemELMT1658372354336353[start].content,"</span></div><div class=\"text\">",itemELMT1658372354336353[start].brief,"</div></li>"); start++; } } strTextELMT1658372354336353.push(""); var NumRecords=itemELMT1658372354336353.length;//信息总条数,减一因为是从下标[1]开始存的信息。 //没有信息就返回 if(NumRecords<=0) return; NumPages=Math.floor((NumRecords+(pagesizeELMT1658372354336353-1))/pagesizeELMT1658372354336353);//总页数 //如果总页数不足5条 if(NumPages<5){ beginpage=1; endpage=NumPages; }else{ //如果显示最前面的五页 if(currpageELMT1658372354336353<=5&&currpageELMT1658372354336353>0){ beginpage=1; endpage=5; } //如果显示最后面的五页 if(currpageELMT1658372354336353<=NumPages&&currpageELMT1658372354336353>=(NumPages-4)){ beginpage=NumPages-4; endpage=NumPages; } //其他情况 if(currpageELMT1658372354336353>5&&currpageELMT1658372354336353<(NumPages-4)){ if(currpageELMT1658372354336353>=(endpage+1)){ beginpage+=5; endpage+=5; } if(currpageELMT1658372354336353<=(beginpage-1)){ beginpage-=5; endpage-=5; } } } var showtextELMT1658372354336353=[]; if(currpageELMT1658372354336353>1){ showtextELMT1658372354336353.push(" <a href=\"javascript:displaypageELMT1658372354336353(1)\" class=\"tpb_btn_previous margin_r40\">首页</a> "); } /*showtextELMT1658372354336353.push("<a class='tpb_btn_previous'>第<i>",currpageELMT1658372354336353,"</i>/<i>",NumPages,"</i>页</a>"); //beginpage前面至少还有5页内容 if(beginpage>5){ showtextELMT1658372354336353.push("<a href=\"javascript:displaypageELMT1658372354336353(currpageELMT1658372354336353-5)\" class=\"tpb_btn_previous\">[前5页]</a> "); } */ if(currpageELMT1658372354336353>1){ showtextELMT1658372354336353.push("<a href=\"javascript:displaypageELMT1658372354336353(currpageELMT1658372354336353-1)\" class=\"tpb_btn_previous\">上一页</a> "); } for(i=beginpage;i<=endpage;i++){ if(i==currpageELMT1658372354336353){ showtextELMT1658372354336353.push("<a class=cur>",i,"</a> "); }else{ showtextELMT1658372354336353.push("<a href=\"javascript:displaypageELMT1658372354336353(",i,")\">",i,"</a> "); } } if((NumPages-currpageELMT1658372354336353)>0){ showtextELMT1658372354336353.push("<a href=\"javascript:displaypageELMT1658372354336353(currpageELMT1658372354336353+1)\" class=\"tpb_btn_previous\">下一页</a> "); } if((NumPages-currpageELMT1658372354336353)>=1){ showtextELMT1658372354336353.push("<a href=\"javascript:displaypageELMT1658372354336353(NumPages)\" class=\"tpb_btn_previous margin_r40\">尾页</a> "); } /*showtextELMT1658372354336353.push("<a class='tpb_btn_previous'>共<i>",NumPages,"</i>页</a>");*/ //看不到尾页 document.getElementById("one_upELMT1658372354336353").innerHTML=strTextELMT1658372354336353.join(""); document.getElementById("fenye0ELMT1658372354336353").innerHTML=showtextELMT1658372354336353.join(""); } </script> <ul class="dyw1015_list" id="one_upELMT1658372354336353"></ul> <script> displaypageELMT1658372354336353(1); </script> <!-- yd 分页 --> <style> .page,.fy{ display: none; } @media only screen and (min-width: 240px) and (max-width: 768px) { .showMorehandle{ display: none; } .dyw1004_nr ul{ height: auto; } .fy{ display: block; width: 7rem; height: 0.73rem; margin: 0 auto 0.3rem; font: 0.34rem "微软雅黑"; color: #333; line-height: 0.73rem; text-align: center; margin-top: 0.5rem; display: flex; } .fy div{ float: left; background: #fff; border: 0.01rem solid #ccc; } .fy .one{ width: 1.5rem; margin:0 0.5rem 0 0rem; } .fy .two{ width: 2.88rem; margin:0rem; } .fy .thr{ width: 1.5rem; margin:0 0 0 0.5rem; } .page{ display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 3rem; background: #fff; text-align: center; font-size: 0.4rem; line-height: 0.7rem; padding-top: 0.7rem; overflow: scroll; background: #eee; padding-bottom: 0.1rem; } .page .col_fff{ display: block; height: 0.75rem; background: #fff; position: fixed; left: 0; right: 0; bottom: 3.04rem; border-top: 0.02rem solid #ccc; margin-bottom: 0.35rem; z-index: 1; } .page div{ background: #eee; opacity: 0.5; } .page .button{ width: 2rem; position: absolute; right: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .page .qx{ width: 2rem; position: absolute; left: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .xuanji_dyw407 .yd_xuanji_list .yd_lunbo_dyw407 ul li{ display: none; } } </style> <div class="fy"> <div class="one">上一页</div> <div class="two">1-20</div> <div class="thr">下一页</div> </div> <div class="page"> <span class="col_fff"> <h4 class="qx">取消</h4> <h4 class="button">完成</h4> </span> </div> <script> function jiazaiELMT1658372354336353(len,num){ var li_len=parseInt($(len).find("li").length/num) //li列表的数量 var $div=$(len) if($(len).find("li").length==li_len*num) li_len=li_len-1 if($(len).find("li").length<num){ $div.find('.fy').hide() } for(var html='',i=0;i<li_len;i++){ html+="<div>"+(i*num+1)+"-"+(i*num+num)+"</div>" } html+="<div>"+(i*num+1)+"-"+$(len).find("li").length+"</div>" console.log(html) $div.find('.page').append(html) $div.find('.page').on('click','div',function(){ $div.find('.page div').css('opacity',0.5) $(this).css('opacity',1) $div.find('.page .button').attr('data_num',$div.find('.page div').index($(this))).attr('data_two',$(this).html()) }) $div.find('.page .button').on('click',function(){ $(len).find("li").hide() for(var j=0;j<num;j++){ $(len).find("li").eq($(this).attr('data_num')*num+j).show() } $div.find('.page').hide() $div.find('.fy .two').html($div.find('.page .button').attr('data_two')) disa() }) $div.find('.fy .two').on('click',function(){ $div.find('.page').show() $('.page div').remove(); $div.find('.page').append(html) }) $div.find('.page .qx').on('click',function(){ $div.find('.page').hide() }) function init(number){ $div.find('.page div').eq(number).click() $div.find('.page .button').click() $div.find('.page').hide() } init(0) //上/下页功能按钮 $div.find('.fy .thr').on('click',function(){ init(parseInt($div.find('.page .button').attr('data_num'))+1) disa() }) $div.find('.fy .one').on('click',function(){ if($div.find('.page .button').attr('data_num')==0){ }else{ init(parseInt($div.find('.page .button').attr('data_num'))-1) } disa() }) //判断是否首页 尾页 function disa(){ window.scrollTo(0,0); if($div.find('.page .button').attr('data_num')==0){ $div.find('.fy .one').html('首页').css('color','#ababab') }else{ $div.find('.fy .one').html('上一页').css('color','#333'); } if($div.find('.page .button').attr('data_num')==li_len){ $div.find('.fy .thr').html('尾页').css('color','#ababab') }else{ $div.find('.fy .thr').html('下一页').css('color','#333') } } } //参数:class名/显示数量 jiazaiELMT1658372354336353('.ELMT1658372354336353',10) </script> </div><div class="ELMT1658372403520358"> <script language=javascript> var itemELMT1658372403520358=[]; itemELMT1658372403520358=[{'link_add':'https://www.12371.cn/2024/03/12/ARTI1710199524609117.shtml','title':'中华人民共和国国务院组织法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/10/25/ARTI1698190925213804.shtml','title':'中华人民共和国爱国主义教育法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/09/02/ARTI1693619817697697.shtml','title':'中华人民共和国外国国家豁免法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/06/29/ARTI1687995201098187.shtml','title':'中华人民共和国对外关系法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/03/14/ARTI1678748311813716.shtml','title':'中华人民共和国立法法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/03/12/ARTI1647046378091154.shtml','title':'中华人民共和国地方各级人民代表大会和地方各级人民政府组织法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/10/23/ARTI1634995488279679.shtml','title':'中华人民共和国陆地国界法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/03/12/ARTI1615516027738812.shtml','title':'中华人民共和国全国人民代表大会组织法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/03/12/ARTI1615515069019792.shtml','title':'中华人民共和国全国人民代表大会议事规则','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592150694393924.shtml','title':'中华人民共和国全国人民代表大会和地方各级人民代表大会选举法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591639602931509.shtml','title':'中华人民共和国人民法院组织法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591639796519517.shtml','title':'中华人民共和国人民检察院组织法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593364070469467.shtml','title':'中华人民共和国国籍法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/02/01/ARTI1612169632785660.shtml','title':'全国人民代表大会常务委员会关于县级以下人民代表大会代表直接选举的若干规定','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593279032455149.shtml','title':'中华人民共和国民族区域自治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/02/01/ARTI1612169824732675.shtml','title':'全国人民代表大会常务委员会关于在沿海港口城市设立海事法院的决定','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593364545785501.shtml','title':'中华人民共和国外交特权与豁免条例','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/02/01/ARTI1612171011412710.shtml','title':'中华人民共和国全国人民代表大会常务委员会议事规则','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/02/01/ARTI1612170656082700.shtml','title':'全国人民代表大会常务委员会关于批准中央军事委员会 《关于授予军队离休干部中国人民解放军功勋荣誉章的规定》的决定','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593364653971509.shtml','title':'中华人民共和国全国人民代表大会议事规则','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592759118350546.shtml','title':'中华人民共和国集会游行示威法','content':'','brief':''},{'link_add':'http://www.12371.cn/2013/01/07/ARTI1357532834867969.shtml','title':'中华人民共和国城市居民委员会组织法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593364771250517.shtml','title':'中华人民共和国香港特别行政区基本法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/05/23/ARTI1621736435095903.shtml','title':'中华人民共和国国旗法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593365006481525.shtml','title':'中华人民共和国领事特权与豁免条例','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593365152032535.shtml','title':'中华人民共和国缔结条约程序法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592759450265564.shtml','title':'中华人民共和国国徽法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593362014563399.shtml','title':'中华人民共和国领海及毗连区法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592150784477932.shtml','title':'中华人民共和国全国人民代表大会和地方各级人民代表大会代表法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593362105147413.shtml','title':'中华人民共和国澳门特别行政区基本法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592154332149374.shtml','title':'中华人民共和国国家赔偿法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591548928574172.shtml','title':'中华人民共和国法官法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591548734965162.shtml','title':'中华人民共和国检察官法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593362098348410.shtml','title':'中华人民共和国戒严法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592156662973490.shtml','title':'中国人民解放军选举全国人民代表大会和县级以上地方各级人民代表大会代表的办法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593360635720348.shtml','title':'中华人民共和国香港特别行政区驻军法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/12/27/ARTI1609045347161531.shtml','title':'中华人民共和国国防法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593361502170383.shtml','title':'中华人民共和国专属经济区和大陆架法','content':'','brief':''},{'link_add':'http://www.12371.cn/2013/01/07/ARTI1357527899856801.shtml','title':'中华人民共和国村民委员会组织法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593299286536297.shtml','title':'中华人民共和国澳门特别行政区驻军法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/03/ARTI1591182732484229.shtml','title':'反分裂国家法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593277286433969.shtml','title':'中华人民共和国外国中央银行财产司法强制措施豁免法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593275897783913.shtml','title':'中华人民共和国各级人民代表大会常务委员会监督法','content':'','brief':''},{'link_add':'http://news.12371.cn/2015/07/02/ARTI1435768647675847.shtml','title':'中华人民共和国国家安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2015/12/27/ARTI1451228108452386.shtml','title':'中华人民共和国国家勋章和国家荣誉称号法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829971921725.shtml','title':'中华人民共和国国歌法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824072718401.shtml','title':'中华人民共和国监察法','content':'','brief':''},{'link_add':'http://news.12371.cn/2018/04/28/ARTI1524918202924614.shtml','title':'中华人民共和国英雄烈士保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/21/ARTI1592702664187812.shtml','title':'中华人民共和国公职人员政务处分法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/30/ARTI1593531946640699.shtml','title':'中华人民共和国香港特别行政区维护国家安全法','content':'','brief':''}]; //要显示的页面 var currpageELMT1658372403520358 = 1; //一页显示信息条数为9 if(deviceWidth>750){ var pagesizeELMT1658372403520358=20; }else{ var pagesizeELMT1658372403520358=itemELMT1658372403520358.length; } //页数维护所显示的第一页 var beginpage=1; //页数维护所显示的最后一页 var endpage=100; function displaypageELMT1658372403520358(move){ var strTextELMT1658372403520358=""; //var strTextELMT16583724035203583=""; var prepage=currpageELMT1658372403520358; currpageELMT1658372403520358=move; //该页的第一行 var start=pagesizeELMT1658372403520358*(currpageELMT1658372403520358-1); if(start<0||start>=itemELMT1658372403520358.length) return; var strTextELMT1658372403520358 =[]; strTextELMT1658372403520358.push(''); for(var j=1;j<=pagesizeELMT1658372403520358;j++){ if(start<itemELMT1658372403520358.length){ strTextELMT1658372403520358.push("<li><div class=\"title\"><span class=\"tit1\"><a href=\"",itemELMT1658372403520358[start].link_add,"\" target=\"_blank\">",itemELMT1658372403520358[start].title,"</a></span><span class=\"tit2\">",itemELMT1658372403520358[start].content,"</span></div><div class=\"text\">",itemELMT1658372403520358[start].brief,"</div></li>"); start++; } } strTextELMT1658372403520358.push(""); var NumRecords=itemELMT1658372403520358.length;//信息总条数,减一因为是从下标[1]开始存的信息。 //没有信息就返回 if(NumRecords<=0) return; NumPages=Math.floor((NumRecords+(pagesizeELMT1658372403520358-1))/pagesizeELMT1658372403520358);//总页数 //如果总页数不足5条 if(NumPages<5){ beginpage=1; endpage=NumPages; }else{ //如果显示最前面的五页 if(currpageELMT1658372403520358<=5&&currpageELMT1658372403520358>0){ beginpage=1; endpage=5; } //如果显示最后面的五页 if(currpageELMT1658372403520358<=NumPages&&currpageELMT1658372403520358>=(NumPages-4)){ beginpage=NumPages-4; endpage=NumPages; } //其他情况 if(currpageELMT1658372403520358>5&&currpageELMT1658372403520358<(NumPages-4)){ if(currpageELMT1658372403520358>=(endpage+1)){ beginpage+=5; endpage+=5; } if(currpageELMT1658372403520358<=(beginpage-1)){ beginpage-=5; endpage-=5; } } } var showtextELMT1658372403520358=[]; if(currpageELMT1658372403520358>1){ showtextELMT1658372403520358.push(" <a href=\"javascript:displaypageELMT1658372403520358(1)\" class=\"tpb_btn_previous margin_r40\">首页</a> "); } /*showtextELMT1658372403520358.push("<a class='tpb_btn_previous'>第<i>",currpageELMT1658372403520358,"</i>/<i>",NumPages,"</i>页</a>"); //beginpage前面至少还有5页内容 if(beginpage>5){ showtextELMT1658372403520358.push("<a href=\"javascript:displaypageELMT1658372403520358(currpageELMT1658372403520358-5)\" class=\"tpb_btn_previous\">[前5页]</a> "); } */ if(currpageELMT1658372403520358>1){ showtextELMT1658372403520358.push("<a href=\"javascript:displaypageELMT1658372403520358(currpageELMT1658372403520358-1)\" class=\"tpb_btn_previous\">上一页</a> "); } for(i=beginpage;i<=endpage;i++){ if(i==currpageELMT1658372403520358){ showtextELMT1658372403520358.push("<a class=cur>",i,"</a> "); }else{ showtextELMT1658372403520358.push("<a href=\"javascript:displaypageELMT1658372403520358(",i,")\">",i,"</a> "); } } if((NumPages-currpageELMT1658372403520358)>0){ showtextELMT1658372403520358.push("<a href=\"javascript:displaypageELMT1658372403520358(currpageELMT1658372403520358+1)\" class=\"tpb_btn_previous\">下一页</a> "); } if((NumPages-currpageELMT1658372403520358)>=1){ showtextELMT1658372403520358.push("<a href=\"javascript:displaypageELMT1658372403520358(NumPages)\" class=\"tpb_btn_previous margin_r40\">尾页</a> "); } /*showtextELMT1658372403520358.push("<a class='tpb_btn_previous'>共<i>",NumPages,"</i>页</a>");*/ //看不到尾页 document.getElementById("one_upELMT1658372403520358").innerHTML=strTextELMT1658372403520358.join(""); document.getElementById("fenye0ELMT1658372403520358").innerHTML=showtextELMT1658372403520358.join(""); } </script> <ul class="dyw1015_list" id="one_upELMT1658372403520358"></ul> <div class="turn_page_box_1015" id="fenye0ELMT1658372403520358"></div> <script> displaypageELMT1658372403520358(1); </script> <!-- yd 分页 --> <style> .page,.fy{ display: none; } @media only screen and (min-width: 240px) and (max-width: 768px) { .showMorehandle{ display: none; } .dyw1004_nr ul{ height: auto; } .fy{ display: block; width: 7rem; height: 0.73rem; margin: 0 auto 0.3rem; font: 0.34rem "微软雅黑"; color: #333; line-height: 0.73rem; text-align: center; margin-top: 0.5rem; display: flex; } .fy div{ float: left; background: #fff; border: 0.01rem solid #ccc; } .fy .one{ width: 1.5rem; margin:0 0.5rem 0 0rem; } .fy .two{ width: 2.88rem; margin:0rem; } .fy .thr{ width: 1.5rem; margin:0 0 0 0.5rem; } .page{ display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 3rem; background: #fff; text-align: center; font-size: 0.4rem; line-height: 0.7rem; padding-top: 0.7rem; overflow: scroll; background: #eee; padding-bottom: 0.1rem; } .page .col_fff{ display: block; height: 0.75rem; background: #fff; position: fixed; left: 0; right: 0; bottom: 3.04rem; border-top: 0.02rem solid #ccc; margin-bottom: 0.35rem; z-index: 1; } .page div{ background: #eee; opacity: 0.5; } .page .button{ width: 2rem; position: absolute; right: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .page .qx{ width: 2rem; position: absolute; left: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .xuanji_dyw407 .yd_xuanji_list .yd_lunbo_dyw407 ul li{ display: none; } } </style> <div class="fy"> <div class="one">上一页</div> <div class="two">1-20</div> <div class="thr">下一页</div> </div> <div class="page"> <span class="col_fff"> <h4 class="qx">取消</h4> <h4 class="button">完成</h4> </span> </div> <script> function jiazaiELMT1658372403520358(len,num){ var li_len=parseInt($(len).find("li").length/num) //li列表的数量 var $div=$(len) if($(len).find("li").length==li_len*num) li_len=li_len-1 if($(len).find("li").length<num){ $div.find('.fy').hide() } for(var html='',i=0;i<li_len;i++){ html+="<div>"+(i*num+1)+"-"+(i*num+num)+"</div>" } html+="<div>"+(i*num+1)+"-"+$(len).find("li").length+"</div>" console.log(html) $div.find('.page').append(html) $div.find('.page').on('click','div',function(){ $div.find('.page div').css('opacity',0.5) $(this).css('opacity',1) $div.find('.page .button').attr('data_num',$div.find('.page div').index($(this))).attr('data_two',$(this).html()) }) $div.find('.page .button').on('click',function(){ $(len).find("li").hide() for(var j=0;j<num;j++){ $(len).find("li").eq($(this).attr('data_num')*num+j).show() } $div.find('.page').hide() $div.find('.fy .two').html($div.find('.page .button').attr('data_two')) disa() }) $div.find('.fy .two').on('click',function(){ $div.find('.page').show() $('.page div').remove(); $div.find('.page').append(html) }) $div.find('.page .qx').on('click',function(){ $div.find('.page').hide() }) function init(number){ $div.find('.page div').eq(number).click() $div.find('.page .button').click() $div.find('.page').hide() } init(0) //上/下页功能按钮 $div.find('.fy .thr').on('click',function(){ init(parseInt($div.find('.page .button').attr('data_num'))+1) disa() }) $div.find('.fy .one').on('click',function(){ if($div.find('.page .button').attr('data_num')==0){ }else{ init(parseInt($div.find('.page .button').attr('data_num'))-1) } disa() }) //判断是否首页 尾页 function disa(){ window.scrollTo(0,0); if($div.find('.page .button').attr('data_num')==0){ $div.find('.fy .one').html('首页').css('color','#ababab') }else{ $div.find('.fy .one').html('上一页').css('color','#333'); } if($div.find('.page .button').attr('data_num')==li_len){ $div.find('.fy .thr').html('尾页').css('color','#ababab') }else{ $div.find('.fy .thr').html('下一页').css('color','#333') } } } //参数:class名/显示数量 jiazaiELMT1658372403520358('.ELMT1658372403520358',20) </script> </div><div class="ELMT1658372528808370"> <script language=javascript> var itemELMT1658372528808370=[]; itemELMT1658372528808370=[{'link_add':'https://www.12371.cn/2023/12/30/ARTI1703899701463577.shtml','title':'中华人民共和国公司法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/01/ARTI1591021670041266.shtml','title':'中华人民共和国民法典','content':'<a href="http://www.12371.cn/special/mfd/" target="_blank">专题</a>','brief':''},{'link_add':'http://www.12371.cn/2013/08/30/ARTI1377875137945979.shtml','title':'中华人民共和国商标法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/27/ARTI1593273483530812.shtml','title':'中华人民共和国专利法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592760554467582.shtml','title':'中华人民共和国全民所有制工业企业法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/08/12/ARTI1691822019254110.shtml','title':'中华人民共和国著作权法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593365229112543.shtml','title':'中华人民共和国海商法','content':'','brief':''},{'link_add':'http://www.12371.cn/2013/10/25/ARTI1382704271283947.shtml','title':'中华人民共和国消费者权益保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592150406133895.shtml','title':'中华人民共和国商业银行法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593277459096989.shtml','title':'中华人民共和国票据法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592151614708119.shtml','title':'中华人民共和国保险法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592151706054128.shtml','title':'中华人民共和国拍卖法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593275533251897.shtml','title':'中华人民共和国合伙企业法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591369580594507.shtml','title':'中华人民共和国证券法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593299585358321.shtml','title':'中华人民共和国个人独资企业法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824145773410.shtml','title':'中华人民共和国招标投标法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593279368190165.shtml','title':'中华人民共和国信托法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/18/ARTI1592414768334437.shtml','title':'中华人民共和国农村土地承包法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592151789367144.shtml','title':'中华人民共和国证券投资基金法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591547212064106.shtml','title':'中华人民共和国电子签名法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593275721255905.shtml','title':'中华人民共和国企业破产法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824319252429.shtml','title':'中华人民共和国农民专业合作社法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/19/ARTI1592502757288948.shtml','title':'中华人民共和国涉外民事关系法律适用法','content':'','brief':''}]; //要显示的页面 var currpageELMT1658372528808370 = 1; //一页显示信息条数为9 if(deviceWidth>750){ var pagesizeELMT1658372528808370=20; }else{ var pagesizeELMT1658372528808370=itemELMT1658372528808370.length; } //页数维护所显示的第一页 var beginpage=1; //页数维护所显示的最后一页 var endpage=100; function displaypageELMT1658372528808370(move){ var strTextELMT1658372528808370=""; //var strTextELMT16583725288083703=""; var prepage=currpageELMT1658372528808370; currpageELMT1658372528808370=move; //该页的第一行 var start=pagesizeELMT1658372528808370*(currpageELMT1658372528808370-1); if(start<0||start>=itemELMT1658372528808370.length) return; var strTextELMT1658372528808370 =[]; strTextELMT1658372528808370.push(''); for(var j=1;j<=pagesizeELMT1658372528808370;j++){ if(start<itemELMT1658372528808370.length){ strTextELMT1658372528808370.push("<li><div class=\"title\"><span class=\"tit1\"><a href=\"",itemELMT1658372528808370[start].link_add,"\" target=\"_blank\">",itemELMT1658372528808370[start].title,"</a></span><span class=\"tit2\">",itemELMT1658372528808370[start].content,"</span></div><div class=\"text\">",itemELMT1658372528808370[start].brief,"</div></li>"); start++; } } strTextELMT1658372528808370.push(""); var NumRecords=itemELMT1658372528808370.length;//信息总条数,减一因为是从下标[1]开始存的信息。 //没有信息就返回 if(NumRecords<=0) return; NumPages=Math.floor((NumRecords+(pagesizeELMT1658372528808370-1))/pagesizeELMT1658372528808370);//总页数 //如果总页数不足5条 if(NumPages<5){ beginpage=1; endpage=NumPages; }else{ //如果显示最前面的五页 if(currpageELMT1658372528808370<=5&&currpageELMT1658372528808370>0){ beginpage=1; endpage=5; } //如果显示最后面的五页 if(currpageELMT1658372528808370<=NumPages&&currpageELMT1658372528808370>=(NumPages-4)){ beginpage=NumPages-4; endpage=NumPages; } //其他情况 if(currpageELMT1658372528808370>5&&currpageELMT1658372528808370<(NumPages-4)){ if(currpageELMT1658372528808370>=(endpage+1)){ beginpage+=5; endpage+=5; } if(currpageELMT1658372528808370<=(beginpage-1)){ beginpage-=5; endpage-=5; } } } var showtextELMT1658372528808370=[]; if(currpageELMT1658372528808370>1){ showtextELMT1658372528808370.push(" <a href=\"javascript:displaypageELMT1658372528808370(1)\" class=\"tpb_btn_previous margin_r40\">首页</a> "); } /*showtextELMT1658372528808370.push("<a class='tpb_btn_previous'>第<i>",currpageELMT1658372528808370,"</i>/<i>",NumPages,"</i>页</a>"); //beginpage前面至少还有5页内容 if(beginpage>5){ showtextELMT1658372528808370.push("<a href=\"javascript:displaypageELMT1658372528808370(currpageELMT1658372528808370-5)\" class=\"tpb_btn_previous\">[前5页]</a> "); } */ if(currpageELMT1658372528808370>1){ showtextELMT1658372528808370.push("<a href=\"javascript:displaypageELMT1658372528808370(currpageELMT1658372528808370-1)\" class=\"tpb_btn_previous\">上一页</a> "); } for(i=beginpage;i<=endpage;i++){ if(i==currpageELMT1658372528808370){ showtextELMT1658372528808370.push("<a class=cur>",i,"</a> "); }else{ showtextELMT1658372528808370.push("<a href=\"javascript:displaypageELMT1658372528808370(",i,")\">",i,"</a> "); } } if((NumPages-currpageELMT1658372528808370)>0){ showtextELMT1658372528808370.push("<a href=\"javascript:displaypageELMT1658372528808370(currpageELMT1658372528808370+1)\" class=\"tpb_btn_previous\">下一页</a> "); } if((NumPages-currpageELMT1658372528808370)>=1){ showtextELMT1658372528808370.push("<a href=\"javascript:displaypageELMT1658372528808370(NumPages)\" class=\"tpb_btn_previous margin_r40\">尾页</a> "); } /*showtextELMT1658372528808370.push("<a class='tpb_btn_previous'>共<i>",NumPages,"</i>页</a>");*/ //看不到尾页 document.getElementById("one_upELMT1658372528808370").innerHTML=strTextELMT1658372528808370.join(""); document.getElementById("fenye0ELMT1658372528808370").innerHTML=showtextELMT1658372528808370.join(""); } </script> <ul class="dyw1015_list" id="one_upELMT1658372528808370"></ul> <div class="turn_page_box_1015" id="fenye0ELMT1658372528808370"></div> <script> displaypageELMT1658372528808370(1); </script> <!-- yd 分页 --> <style> .page,.fy{ display: none; } @media only screen and (min-width: 240px) and (max-width: 768px) { .showMorehandle{ display: none; } .dyw1004_nr ul{ height: auto; } .fy{ display: block; width: 7rem; height: 0.73rem; margin: 0 auto 0.3rem; font: 0.34rem "微软雅黑"; color: #333; line-height: 0.73rem; text-align: center; margin-top: 0.5rem; display: flex; } .fy div{ float: left; background: #fff; border: 0.01rem solid #ccc; } .fy .one{ width: 1.5rem; margin:0 0.5rem 0 0rem; } .fy .two{ width: 2.88rem; margin:0rem; } .fy .thr{ width: 1.5rem; margin:0 0 0 0.5rem; } .page{ display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 3rem; background: #fff; text-align: center; font-size: 0.4rem; line-height: 0.7rem; padding-top: 0.7rem; overflow: scroll; background: #eee; padding-bottom: 0.1rem; } .page .col_fff{ display: block; height: 0.75rem; background: #fff; position: fixed; left: 0; right: 0; bottom: 3.04rem; border-top: 0.02rem solid #ccc; margin-bottom: 0.35rem; z-index: 1; } .page div{ background: #eee; opacity: 0.5; } .page .button{ width: 2rem; position: absolute; right: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .page .qx{ width: 2rem; position: absolute; left: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .xuanji_dyw407 .yd_xuanji_list .yd_lunbo_dyw407 ul li{ display: none; } } </style> <div class="fy"> <div class="one">上一页</div> <div class="two">1-20</div> <div class="thr">下一页</div> </div> <div class="page"> <span class="col_fff"> <h4 class="qx">取消</h4> <h4 class="button">完成</h4> </span> </div> <script> function jiazaiELMT1658372528808370(len,num){ var li_len=parseInt($(len).find("li").length/num) //li列表的数量 var $div=$(len) if($(len).find("li").length==li_len*num) li_len=li_len-1 if($(len).find("li").length<num){ $div.find('.fy').hide() } for(var html='',i=0;i<li_len;i++){ html+="<div>"+(i*num+1)+"-"+(i*num+num)+"</div>" } html+="<div>"+(i*num+1)+"-"+$(len).find("li").length+"</div>" console.log(html) $div.find('.page').append(html) $div.find('.page').on('click','div',function(){ $div.find('.page div').css('opacity',0.5) $(this).css('opacity',1) $div.find('.page .button').attr('data_num',$div.find('.page div').index($(this))).attr('data_two',$(this).html()) }) $div.find('.page .button').on('click',function(){ $(len).find("li").hide() for(var j=0;j<num;j++){ $(len).find("li").eq($(this).attr('data_num')*num+j).show() } $div.find('.page').hide() $div.find('.fy .two').html($div.find('.page .button').attr('data_two')) disa() }) $div.find('.fy .two').on('click',function(){ $div.find('.page').show() $('.page div').remove(); $div.find('.page').append(html) }) $div.find('.page .qx').on('click',function(){ $div.find('.page').hide() }) function init(number){ $div.find('.page div').eq(number).click() $div.find('.page .button').click() $div.find('.page').hide() } init(0) //上/下页功能按钮 $div.find('.fy .thr').on('click',function(){ init(parseInt($div.find('.page .button').attr('data_num'))+1) disa() }) $div.find('.fy .one').on('click',function(){ if($div.find('.page .button').attr('data_num')==0){ }else{ init(parseInt($div.find('.page .button').attr('data_num'))-1) } disa() }) //判断是否首页 尾页 function disa(){ window.scrollTo(0,0); if($div.find('.page .button').attr('data_num')==0){ $div.find('.fy .one').html('首页').css('color','#ababab') }else{ $div.find('.fy .one').html('上一页').css('color','#333'); } if($div.find('.page .button').attr('data_num')==li_len){ $div.find('.fy .thr').html('尾页').css('color','#ababab') }else{ $div.find('.fy .thr').html('下一页').css('color','#333') } } } //参数:class名/显示数量 jiazaiELMT1658372528808370('.ELMT1658372528808370',20) </script> </div><div class="ELMT1658372565895374"> <script language=javascript> var itemELMT1658372565895374=[]; itemELMT1658372565895374=[{'link_add':'https://www.12371.cn/2024/11/09/ARTI1731116396145955.shtml','title':'中华人民共和国学前教育法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/11/09/ARTI1731116242191936.shtml','title':'中华人民共和国文物保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/09/13/ARTI1726224406137696.shtml','title':'中华人民共和国国防教育法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/07/22/ARTI1721642005289928.shtml','title':'中华人民共和国保守国家秘密法实施条例','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/04/28/ARTI1714265542656277.shtml','title':'中华人民共和国学位法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/02/27/ARTI1709036758179382.shtml','title':'中华人民共和国保守国家秘密法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/10/25/ARTI1698190834229786.shtml','title':'中华人民共和国海洋环境保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/09/02/ARTI1693619683433682.shtml','title':'中华人民共和国行政复议法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/04/27/ARTI1682565619255429.shtml','title':'中华人民共和国青藏高原生态保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/12/31/ARTI1672454575299438.shtml','title':'中华人民共和国野生动物保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/12/31/ARTI1672454897801453.shtml','title':'中华人民共和国预备役人员法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/06/25/ARTI1656125553408318.shtml','title':'中华人民共和国体育法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/04/21/ARTI1650498785167252.shtml','title':'中华人民共和国职业教育法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/12/25/ARTI1640417767830525.shtml','title':'中华人民共和国噪声污染防治法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/12/25/ARTI1640417643949514.shtml','title':'中华人民共和国科学技术进步法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593362091325407.shtml','title':'中华人民共和国户口登记条例','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/02/01/ARTI1612172658191757.shtml','title':'全国人民代表大会常务委员会关于批准《国务院关于安置老弱病残干部的暂行办法》的决议','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593277691328997.shtml','title':'中华人民共和国学位条例','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/02/01/ARTI1612173208522794.shtml','title':'全国人民代表大会常务委员会关于批准《国务院关于老干部离职休养的暂行规定》的决议','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824703973474.shtml','title':'中华人民共和国海洋环境保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829007550669.shtml','title':'中华人民共和国文物保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591831481444828.shtml','title':'中华人民共和国水污染防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/03/ARTI1591182439423211.shtml','title':'中华人民共和国兵役法','content':'','brief':''},{'link_add':'http://www.12371.cn/2019/08/27/ARTI1566870822390375.shtml','title':'中华人民共和国药品管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591550390182299.shtml','title':'中华人民共和国义务教育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591371037656542.shtml','title':'中华人民共和国土地管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823909925391.shtml','title':'中华人民共和国国境卫生检疫法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829103135680.shtml','title':'中华人民共和国海关法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591743829119685.shtml','title':'中华人民共和国大气污染防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593362102988412.shtml','title':'中国人民解放军军官军衔条例','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592153420593312.shtml','title':'中华人民共和国传染病防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2014/04/25/ARTI1398379161218812.shtml','title':'中华人民共和国环境保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/03/ARTI1591182909516239.shtml','title':'中华人民共和国军事设施保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592761992737618.shtml','title':'中华人民共和国人民警察警衔条例','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591831619252845.shtml','title':'中华人民共和国测绘法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593274971978871.shtml','title':'中华人民共和国科学技术进步法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829325020697.shtml','title':'中华人民共和国律师法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/06/ARTI1591399616866974.shtml','title':'中华人民共和国城市房地产管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592154484586393.shtml','title':'中华人民共和国监狱法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592154570088404.shtml','title':'中华人民共和国人民警察法','content':'','brief':''},{'link_add':'http://www.12371.cn/2015/12/28/ARTI1451252201635847.shtml','title':'中华人民共和国教育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/19/ARTI1592503717297968.shtml','title':'中华人民共和国预备役军官法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591833614862988.shtml','title':'中华人民共和国体育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591368228028428.shtml','title':'中华人民共和国固体废物污染环境防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/01/23/ARTI1611368129158773.shtml','title':'中华人民共和国行政处罚法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829325020697.shtml','title':'中华人民共和国律师法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592150857806940.shtml','title':'中华人民共和国促进科技成果转化法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593362096495409.shtml','title':'中华人民共和国职业教育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592151033067961.shtml','title':'中华人民共和国枪支管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591550802562311.shtml','title':'中华人民共和国环境噪声污染防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/27/ARTI1593269086448769.shtml','title':'中华人民共和国人民防空法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593361383074373.shtml','title':'中华人民共和国献血法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/27/ARTI1593273489075814.shtml','title':'中华人民共和国防震减灾法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/06/ARTI1591400113262996.shtml','title':'中华人民共和国消防法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592762379147634.shtml','title':'中华人民共和国执业医师法','content':'','brief':''},{'link_add':'http://www.12371.cn/2015/12/28/ARTI1451252436928864.shtml','title':'中华人民共和国高等教育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591830223101754.shtml','title':'中华人民共和国行政复议法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591833692792997.shtml','title':'中华人民共和国气象法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593301162735449.shtml','title':'中华人民共和国国家通用语言文字法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593301724782479.shtml','title':'中华人民共和国现役军官法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/09/13/ARTI1726224406137696.shtml','title':'中华人民共和国国防教育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591743946991695.shtml','title':'中华人民共和国防沙治沙法','content':'','brief':''},{'link_add':'http://www.12371.cn/2015/12/28/ARTI1451252656437880.shtml','title':'中华人民共和国人口与计划生育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593278228763139.shtml','title':'中华人民共和国科学技术普及法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591551183634335.shtml','title':'中华人民共和国环境影响评价法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591551325142345.shtml','title':'中华人民共和国民办教育促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593278059992123.shtml','title':'中华人民共和国海关关衔条例','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592157123143528.shtml','title':'中华人民共和国居民身份证法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593277908000115.shtml','title':'中华人民共和国放射性污染防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591548438561153.shtml','title':'中华人民共和国行政许可法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/19/ARTI1592498234995905.shtml','title':'中华人民共和国道路交通安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2018/12/30/ARTI1546150583605240.shtml','title':'中华人民共和国公务员法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592154418087384.shtml','title':'中华人民共和国治安管理处罚法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591830038201735.shtml','title':'中华人民共和国公证法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593275223219881.shtml','title':'中华人民共和国护照法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593274593358847.shtml','title':'中华人民共和国突发事件应对法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591547042684994.shtml','title':'中华人民共和国城乡规划法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593274836491863.shtml','title':'中华人民共和国禁毒法','content':'','brief':''},{'link_add':'http://www.12371.cn/2015/04/25/ARTI1429916422981307.shtml','title':'中华人民共和国食品安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/21/ARTI1592702268509797.shtml','title':'中华人民共和国人民武装警察法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592757668462513.shtml','title':'中华人民共和国驻外外交人员法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592756783454495.shtml','title':'中华人民共和国海岛保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592755856802477.shtml','title':'中华人民共和国国防动员法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/19/ARTI1592499777816917.shtml','title':'中华人民共和国非物质文化遗产法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592176953990728.shtml','title':'中华人民共和国行政强制法','content':'','brief':''},{'link_add':'http://www.12371.cn/2012/12/03/ARTI1354485275341789.shtml','title':'中华人民共和国出境入境管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823632780359.shtml','title':'中华人民共和国精神卫生法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/04/15/ARTI1586917215500415.shtml','title':'中华人民共和国反恐怖主义法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/14/ARTI1592147736112758.shtml','title':'中华人民共和国国防交通法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591834030965113.shtml','title':'中华人民共和国电影产业促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591832700571914.shtml','title':'中华人民共和国中医药法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591832913263926.shtml','title':'中华人民共和国公共文化服务保障法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823814040380.shtml','title':'中华人民共和国国家情报法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591830165118744.shtml','title':'中华人民共和国核安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591639036653474.shtml','title':'中华人民共和国公共图书馆法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823222192321.shtml','title':'中华人民共和国土壤污染防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591822570051258.shtml','title':'中华人民共和国消防救援衔条例','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/06/ARTI1591400010578985.shtml','title':'中华人民共和国疫苗管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2019/10/28/ARTI1572258931309259.shtml','title':'中华人民共和国密码法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/01/ARTI1591003528123381.shtml','title':'中华人民共和国基本医疗卫生与健康促进法','content':'','brief':''}]; //要显示的页面 var currpageELMT1658372565895374 = 1; //一页显示信息条数为9 if(deviceWidth>750){ var pagesizeELMT1658372565895374=20; }else{ var pagesizeELMT1658372565895374=itemELMT1658372565895374.length; } //页数维护所显示的第一页 var beginpage=1; //页数维护所显示的最后一页 var endpage=100; function displaypageELMT1658372565895374(move){ var strTextELMT1658372565895374=""; //var strTextELMT16583725658953743=""; var prepage=currpageELMT1658372565895374; currpageELMT1658372565895374=move; //该页的第一行 var start=pagesizeELMT1658372565895374*(currpageELMT1658372565895374-1); if(start<0||start>=itemELMT1658372565895374.length) return; var strTextELMT1658372565895374 =[]; strTextELMT1658372565895374.push(''); for(var j=1;j<=pagesizeELMT1658372565895374;j++){ if(start<itemELMT1658372565895374.length){ strTextELMT1658372565895374.push("<li><div class=\"title\"><span class=\"tit1\"><a href=\"",itemELMT1658372565895374[start].link_add,"\" target=\"_blank\">",itemELMT1658372565895374[start].title,"</a></span><span class=\"tit2\">",itemELMT1658372565895374[start].content,"</span></div><div class=\"text\">",itemELMT1658372565895374[start].brief,"</div></li>"); start++; } } strTextELMT1658372565895374.push(""); var NumRecords=itemELMT1658372565895374.length;//信息总条数,减一因为是从下标[1]开始存的信息。 //没有信息就返回 if(NumRecords<=0) return; NumPages=Math.floor((NumRecords+(pagesizeELMT1658372565895374-1))/pagesizeELMT1658372565895374);//总页数 //如果总页数不足5条 if(NumPages<5){ beginpage=1; endpage=NumPages; }else{ //如果显示最前面的五页 if(currpageELMT1658372565895374<=5&&currpageELMT1658372565895374>0){ beginpage=1; endpage=5; } //如果显示最后面的五页 if(currpageELMT1658372565895374<=NumPages&&currpageELMT1658372565895374>=(NumPages-4)){ beginpage=NumPages-4; endpage=NumPages; } //其他情况 if(currpageELMT1658372565895374>5&&currpageELMT1658372565895374<(NumPages-4)){ if(currpageELMT1658372565895374>=(endpage+1)){ beginpage+=5; endpage+=5; } if(currpageELMT1658372565895374<=(beginpage-1)){ beginpage-=5; endpage-=5; } } } var showtextELMT1658372565895374=[]; if(currpageELMT1658372565895374>1){ showtextELMT1658372565895374.push(" <a href=\"javascript:displaypageELMT1658372565895374(1)\" class=\"tpb_btn_previous margin_r40\">首页</a> "); } /*showtextELMT1658372565895374.push("<a class='tpb_btn_previous'>第<i>",currpageELMT1658372565895374,"</i>/<i>",NumPages,"</i>页</a>"); //beginpage前面至少还有5页内容 if(beginpage>5){ showtextELMT1658372565895374.push("<a href=\"javascript:displaypageELMT1658372565895374(currpageELMT1658372565895374-5)\" class=\"tpb_btn_previous\">[前5页]</a> "); } */ if(currpageELMT1658372565895374>1){ showtextELMT1658372565895374.push("<a href=\"javascript:displaypageELMT1658372565895374(currpageELMT1658372565895374-1)\" class=\"tpb_btn_previous\">上一页</a> "); } for(i=beginpage;i<=endpage;i++){ if(i==currpageELMT1658372565895374){ showtextELMT1658372565895374.push("<a class=cur>",i,"</a> "); }else{ showtextELMT1658372565895374.push("<a href=\"javascript:displaypageELMT1658372565895374(",i,")\">",i,"</a> "); } } if((NumPages-currpageELMT1658372565895374)>0){ showtextELMT1658372565895374.push("<a href=\"javascript:displaypageELMT1658372565895374(currpageELMT1658372565895374+1)\" class=\"tpb_btn_previous\">下一页</a> "); } if((NumPages-currpageELMT1658372565895374)>=1){ showtextELMT1658372565895374.push("<a href=\"javascript:displaypageELMT1658372565895374(NumPages)\" class=\"tpb_btn_previous margin_r40\">尾页</a> "); } /*showtextELMT1658372565895374.push("<a class='tpb_btn_previous'>共<i>",NumPages,"</i>页</a>");*/ //看不到尾页 document.getElementById("one_upELMT1658372565895374").innerHTML=strTextELMT1658372565895374.join(""); document.getElementById("fenye0ELMT1658372565895374").innerHTML=showtextELMT1658372565895374.join(""); } </script> <ul class="dyw1015_list" id="one_upELMT1658372565895374"></ul> <div class="turn_page_box_1015" id="fenye0ELMT1658372565895374"></div> <script> displaypageELMT1658372565895374(1); </script> <!-- yd 分页 --> <style> .page,.fy{ display: none; } @media only screen and (min-width: 240px) and (max-width: 768px) { .showMorehandle{ display: none; } .dyw1004_nr ul{ height: auto; } .fy{ display: block; width: 7rem; height: 0.73rem; margin: 0 auto 0.3rem; font: 0.34rem "微软雅黑"; color: #333; line-height: 0.73rem; text-align: center; margin-top: 0.5rem; display: flex; } .fy div{ float: left; background: #fff; border: 0.01rem solid #ccc; } .fy .one{ width: 1.5rem; margin:0 0.5rem 0 0rem; } .fy .two{ width: 2.88rem; margin:0rem; } .fy .thr{ width: 1.5rem; margin:0 0 0 0.5rem; } .page{ display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 3rem; background: #fff; text-align: center; font-size: 0.4rem; line-height: 0.7rem; padding-top: 0.7rem; overflow: scroll; background: #eee; padding-bottom: 0.1rem; } .page .col_fff{ display: block; height: 0.75rem; background: #fff; position: fixed; left: 0; right: 0; bottom: 3.04rem; border-top: 0.02rem solid #ccc; margin-bottom: 0.35rem; z-index: 1; } .page div{ background: #eee; opacity: 0.5; } .page .button{ width: 2rem; position: absolute; right: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .page .qx{ width: 2rem; position: absolute; left: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .xuanji_dyw407 .yd_xuanji_list .yd_lunbo_dyw407 ul li{ display: none; } } </style> <div class="fy"> <div class="one">上一页</div> <div class="two">1-20</div> <div class="thr">下一页</div> </div> <div class="page"> <span class="col_fff"> <h4 class="qx">取消</h4> <h4 class="button">完成</h4> </span> </div> <script> function jiazaiELMT1658372565895374(len,num){ var li_len=parseInt($(len).find("li").length/num) //li列表的数量 var $div=$(len) if($(len).find("li").length==li_len*num) li_len=li_len-1 if($(len).find("li").length<num){ $div.find('.fy').hide() } for(var html='',i=0;i<li_len;i++){ html+="<div>"+(i*num+1)+"-"+(i*num+num)+"</div>" } html+="<div>"+(i*num+1)+"-"+$(len).find("li").length+"</div>" console.log(html) $div.find('.page').append(html) $div.find('.page').on('click','div',function(){ $div.find('.page div').css('opacity',0.5) $(this).css('opacity',1) $div.find('.page .button').attr('data_num',$div.find('.page div').index($(this))).attr('data_two',$(this).html()) }) $div.find('.page .button').on('click',function(){ $(len).find("li").hide() for(var j=0;j<num;j++){ $(len).find("li").eq($(this).attr('data_num')*num+j).show() } $div.find('.page').hide() $div.find('.fy .two').html($div.find('.page .button').attr('data_two')) disa() }) $div.find('.fy .two').on('click',function(){ $div.find('.page').show() $('.page div').remove(); $div.find('.page').append(html) }) $div.find('.page .qx').on('click',function(){ $div.find('.page').hide() }) function init(number){ $div.find('.page div').eq(number).click() $div.find('.page .button').click() $div.find('.page').hide() } init(0) //上/下页功能按钮 $div.find('.fy .thr').on('click',function(){ init(parseInt($div.find('.page .button').attr('data_num'))+1) disa() }) $div.find('.fy .one').on('click',function(){ if($div.find('.page .button').attr('data_num')==0){ }else{ init(parseInt($div.find('.page .button').attr('data_num'))-1) } disa() }) //判断是否首页 尾页 function disa(){ window.scrollTo(0,0); if($div.find('.page .button').attr('data_num')==0){ $div.find('.fy .one').html('首页').css('color','#ababab') }else{ $div.find('.fy .one').html('上一页').css('color','#333'); } if($div.find('.page .button').attr('data_num')==li_len){ $div.find('.fy .thr').html('尾页').css('color','#ababab') }else{ $div.find('.fy .thr').html('下一页').css('color','#333') } } } //参数:class名/显示数量 jiazaiELMT1658372565895374('.ELMT1658372565895374',20) </script> </div><div class="ELMT1658970565073618"> <script language=javascript> var itemELMT1658970565073618=[]; itemELMT1658970565073618=[{'link_add':'https://www.12371.cn/2024/11/09/ARTI1731116665738114.shtml','title':'中华人民共和国反洗钱法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/11/09/ARTI1731116577390993.shtml','title':'中华人民共和国能源法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/11/09/ARTI1731116486031974.shtml','title':'中华人民共和国矿产资源法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/04/26/ARTI1714134119598678.shtml','title':'中华人民共和国关税法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/12/30/ARTI1703899426647530.shtml','title':'中华人民共和国粮食安全保障法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/12/31/ARTI1672454575299438.shtml','title':'中华人民共和国野生动物保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/10/31/ARTI1667183026213911.shtml','title':'中华人民共和国黄河保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/10/31/ARTI1667183139175922.shtml','title':'中华人民共和国畜牧法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/09/03/ARTI1662176531713235.shtml','title':'中华人民共和国农产品质量安全法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/06/25/ARTI1656125482219303.shtml','title':'中华人民共和国黑土地保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/04/21/ARTI1650497354683205.shtml','title':'中华人民共和国期货和衍生品法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/12/25/ARTI1640417546675504.shtml','title':'中华人民共和国湿地保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823023442305.shtml','title':'中华人民共和国个人所得税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/27/ARTI1593271805575792.shtml','title':'中华人民共和国统计法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591369109433485.shtml','title':'中华人民共和国森林法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591828800903659.shtml','title':'中华人民共和国会计法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592153572317334.shtml','title':'中华人民共和国草原法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591639235232484.shtml','title':'中华人民共和国计量法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592153108578286.shtml','title':'中华人民共和国渔业法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/27/ARTI1593269204768778.shtml','title':'中华人民共和国矿产资源法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592151859750154.shtml','title':'中华人民共和国邮政法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/14/ARTI1592148782526804.shtml','title':'中华人民共和国水法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824781786484.shtml','title':'中华人民共和国标准化法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/18/ARTI1592414656804429.shtml','title':'中华人民共和国进出口商品检验法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592151497477109.shtml','title':'中华人民共和国铁路法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592151416318100.shtml','title':'中华人民共和国烟草专卖法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/19/ARTI1592501615806938.shtml','title':'中华人民共和国水土保持法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592758697049538.shtml','title':'中华人民共和国进出境动植物检疫法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592151310391990.shtml','title':'中华人民共和国税收征收管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/18/ARTI1592414000869419.shtml','title':'中华人民共和国产品质量法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592156429042473.shtml','title':'中华人民共和国农业技术推广法','content':'','brief':''},{'link_add':'http://www.12371.cn/2012/12/29/ARTI1356713549733427.shtml','title':'中华人民共和国农业法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591547673665117.shtml','title':'中华人民共和国反不正当竞争法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592152277595202.shtml','title':'中华人民共和国注册会计师法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591370006047518.shtml','title':'中华人民共和国台湾同胞投资保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/18/ARTI1592413810771411.shtml','title':'中华人民共和国预算法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591834466918172.shtml','title':'中华人民共和国对外贸易法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593276757685947.shtml','title':'中华人民共和国审计法','content':'','brief':''},{'link_add':'http://www.12371.cn/2015/04/25/ARTI1429916284244159.shtml','title':'中华人民共和国广告法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593277763433107.shtml','title':'中华人民共和国中国人民银行法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591549748257250.shtml','title':'中华人民共和国民用航空法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/18/ARTI1592413242851394.shtml','title':'中华人民共和国电力法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591834167336132.shtml','title':'中华人民共和国煤炭法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593362094027408.shtml','title':'中华人民共和国乡镇企业法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829228182689.shtml','title':'中华人民共和国公路法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592151194633980.shtml','title':'中华人民共和国动物防疫法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/14/ARTI1592148659126794.shtml','title':'中华人民共和国防洪法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591747530271908.shtml','title':'中华人民共和国节约能源法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591547819081126.shtml','title':'中华人民共和国建筑法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593361216316365.shtml','title':'中华人民共和国价格法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/14/ARTI1592150325518886.shtml','title':'中华人民共和国种子法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593279541101183.shtml','title':'中华人民共和国海域使用管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/19/ARTI1592505491677157.shtml','title':'中华人民共和国政府采购法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591830321041763.shtml','title':'中华人民共和国中小企业促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592156820086509.shtml','title':'中华人民共和国清洁生产促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591828641890629.shtml','title':'中华人民共和国港口法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593276105046923.shtml','title':'中华人民共和国银行业监督管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591747454472899.shtml','title':'中华人民共和国农业机械化促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592756892780503.shtml','title':'中华人民共和国可再生能源法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592151097593970.shtml','title':'中华人民共和国畜牧法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591747389584889.shtml','title':'中华人民共和国农产品质量安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593276222733931.shtml','title':'中华人民共和国反洗钱法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591832553271906.shtml','title':'中华人民共和国企业所得税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593274461521839.shtml','title':'中华人民共和国反垄断法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591747077873880.shtml','title':'中华人民共和国循环经济促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/27/ARTI1593273486109813.shtml','title':'中华人民共和国企业国有资产法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/21/ARTI1592754867143450.shtml','title':'中华人民共和国石油天然气管道保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/07/ARTI1591545204767982.shtml','title':'中华人民共和国车船税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2013/04/26/ARTI1366917745666875.shtml','title':'中华人民共和国旅游法','content':'','brief':''},{'link_add':'http://www.12371.cn/2014/12/29/ARTI1419820442359845.shtml','title':'中华人民共和国航道法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/14/ARTI1592149250399823.shtml','title':'中华人民共和国深海海底区域资源勘探开发法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/14/ARTI1592147863539768.shtml','title':'中华人民共和国资产评估法','content':'','brief':''},{'link_add':'http://news.12371.cn/2018/04/14/ARTI1523666074094598.shtml','title':'中华人民共和国网络安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591746807717858.shtml','title':'中华人民共和国环境保护税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824242651421.shtml','title':'中华人民共和国烟叶税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591638949484460.shtml','title':'中华人民共和国船舶吨税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591822932213296.shtml','title':'中华人民共和国电子商务法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591638667380441.shtml','title':'中华人民共和国耕地占用税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/18/ARTI1592415677340455.shtml','title':'中华人民共和国车辆购置税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2019/09/02/ARTI1567402936052166.shtml','title':'中华人民共和国外商投资法','content':'','brief':''},{'link_add':'http://www.12371.cn/2019/08/27/ARTI1566869501056323.shtml','title':'中华人民共和国资源税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/08/12/ARTI1597196249506394.shtml','title':'中华人民共和国城市维护建设税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/08/12/ARTI1597196341525409.shtml','title':'中华人民共和国契税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/10/18/ARTI1603009291325500.shtml','title':'中华人民共和国出口管制法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/12/27/ARTI1609046661026623.shtml','title':'中华人民共和国长江保护法','content':'','brief':''}]; //要显示的页面 var currpageELMT1658970565073618 = 1; //一页显示信息条数为9 if(deviceWidth>750){ var pagesizeELMT1658970565073618=20; }else{ var pagesizeELMT1658970565073618=itemELMT1658970565073618.length; } //页数维护所显示的第一页 var beginpage=1; //页数维护所显示的最后一页 var endpage=100; function displaypageELMT1658970565073618(move){ var strTextELMT1658970565073618=""; //var strTextELMT16589705650736183=""; var prepage=currpageELMT1658970565073618; currpageELMT1658970565073618=move; //该页的第一行 var start=pagesizeELMT1658970565073618*(currpageELMT1658970565073618-1); if(start<0||start>=itemELMT1658970565073618.length) return; var strTextELMT1658970565073618 =[]; strTextELMT1658970565073618.push(''); for(var j=1;j<=pagesizeELMT1658970565073618;j++){ if(start<itemELMT1658970565073618.length){ strTextELMT1658970565073618.push("<li><div class=\"title\"><span class=\"tit1\"><a href=\"",itemELMT1658970565073618[start].link_add,"\" target=\"_blank\">",itemELMT1658970565073618[start].title,"</a></span><span class=\"tit2\">",itemELMT1658970565073618[start].content,"</span></div><div class=\"text\">",itemELMT1658970565073618[start].brief,"</div></li>"); start++; } } strTextELMT1658970565073618.push(""); var NumRecords=itemELMT1658970565073618.length;//信息总条数,减一因为是从下标[1]开始存的信息。 //没有信息就返回 if(NumRecords<=0) return; NumPages=Math.floor((NumRecords+(pagesizeELMT1658970565073618-1))/pagesizeELMT1658970565073618);//总页数 //如果总页数不足5条 if(NumPages<5){ beginpage=1; endpage=NumPages; }else{ //如果显示最前面的五页 if(currpageELMT1658970565073618<=5&&currpageELMT1658970565073618>0){ beginpage=1; endpage=5; } //如果显示最后面的五页 if(currpageELMT1658970565073618<=NumPages&&currpageELMT1658970565073618>=(NumPages-4)){ beginpage=NumPages-4; endpage=NumPages; } //其他情况 if(currpageELMT1658970565073618>5&&currpageELMT1658970565073618<(NumPages-4)){ if(currpageELMT1658970565073618>=(endpage+1)){ beginpage+=5; endpage+=5; } if(currpageELMT1658970565073618<=(beginpage-1)){ beginpage-=5; endpage-=5; } } } var showtextELMT1658970565073618=[]; if(currpageELMT1658970565073618>1){ showtextELMT1658970565073618.push(" <a href=\"javascript:displaypageELMT1658970565073618(1)\" class=\"tpb_btn_previous margin_r40\">首页</a> "); } /*showtextELMT1658970565073618.push("<a class='tpb_btn_previous'>第<i>",currpageELMT1658970565073618,"</i>/<i>",NumPages,"</i>页</a>"); //beginpage前面至少还有5页内容 if(beginpage>5){ showtextELMT1658970565073618.push("<a href=\"javascript:displaypageELMT1658970565073618(currpageELMT1658970565073618-5)\" class=\"tpb_btn_previous\">[前5页]</a> "); } */ if(currpageELMT1658970565073618>1){ showtextELMT1658970565073618.push("<a href=\"javascript:displaypageELMT1658970565073618(currpageELMT1658970565073618-1)\" class=\"tpb_btn_previous\">上一页</a> "); } for(i=beginpage;i<=endpage;i++){ if(i==currpageELMT1658970565073618){ showtextELMT1658970565073618.push("<a class=cur>",i,"</a> "); }else{ showtextELMT1658970565073618.push("<a href=\"javascript:displaypageELMT1658970565073618(",i,")\">",i,"</a> "); } } if((NumPages-currpageELMT1658970565073618)>0){ showtextELMT1658970565073618.push("<a href=\"javascript:displaypageELMT1658970565073618(currpageELMT1658970565073618+1)\" class=\"tpb_btn_previous\">下一页</a> "); } if((NumPages-currpageELMT1658970565073618)>=1){ showtextELMT1658970565073618.push("<a href=\"javascript:displaypageELMT1658970565073618(NumPages)\" class=\"tpb_btn_previous margin_r40\">尾页</a> "); } /*showtextELMT1658970565073618.push("<a class='tpb_btn_previous'>共<i>",NumPages,"</i>页</a>");*/ //看不到尾页 document.getElementById("one_upELMT1658970565073618").innerHTML=strTextELMT1658970565073618.join(""); document.getElementById("fenye0ELMT1658970565073618").innerHTML=showtextELMT1658970565073618.join(""); } </script> <ul class="dyw1015_list" id="one_upELMT1658970565073618"></ul> <div class="turn_page_box_1015" id="fenye0ELMT1658970565073618"></div> <script> displaypageELMT1658970565073618(1); </script> <!-- yd 分页 --> <style> .page,.fy{ display: none; } @media only screen and (min-width: 240px) and (max-width: 768px) { .showMorehandle{ display: none; } .dyw1004_nr ul{ height: auto; } .fy{ display: block; width: 7rem; height: 0.73rem; margin: 0 auto 0.3rem; font: 0.34rem "微软雅黑"; color: #333; line-height: 0.73rem; text-align: center; margin-top: 0.5rem; display: flex; } .fy div{ float: left; background: #fff; border: 0.01rem solid #ccc; } .fy .one{ width: 1.5rem; margin:0 0.5rem 0 0rem; } .fy .two{ width: 2.88rem; margin:0rem; } .fy .thr{ width: 1.5rem; margin:0 0 0 0.5rem; } .page{ display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 3rem; background: #fff; text-align: center; font-size: 0.4rem; line-height: 0.7rem; padding-top: 0.7rem; overflow: scroll; background: #eee; padding-bottom: 0.1rem; } .page .col_fff{ display: block; height: 0.75rem; background: #fff; position: fixed; left: 0; right: 0; bottom: 3.04rem; border-top: 0.02rem solid #ccc; margin-bottom: 0.35rem; z-index: 1; } .page div{ background: #eee; opacity: 0.5; } .page .button{ width: 2rem; position: absolute; right: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .page .qx{ width: 2rem; position: absolute; left: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .xuanji_dyw407 .yd_xuanji_list .yd_lunbo_dyw407 ul li{ display: none; } } </style> <div class="fy"> <div class="one">上一页</div> <div class="two">1-20</div> <div class="thr">下一页</div> </div> <div class="page"> <span class="col_fff"> <h4 class="qx">取消</h4> <h4 class="button">完成</h4> </span> </div> <script> function jiazaiELMT1658970565073618(len,num){ var li_len=parseInt($(len).find("li").length/num) //li列表的数量 var $div=$(len) if($(len).find("li").length==li_len*num) li_len=li_len-1 if($(len).find("li").length<num){ $div.find('.fy').hide() } for(var html='',i=0;i<li_len;i++){ html+="<div>"+(i*num+1)+"-"+(i*num+num)+"</div>" } html+="<div>"+(i*num+1)+"-"+$(len).find("li").length+"</div>" console.log(html) $div.find('.page').append(html) $div.find('.page').on('click','div',function(){ $div.find('.page div').css('opacity',0.5) $(this).css('opacity',1) $div.find('.page .button').attr('data_num',$div.find('.page div').index($(this))).attr('data_two',$(this).html()) }) $div.find('.page .button').on('click',function(){ $(len).find("li").hide() for(var j=0;j<num;j++){ $(len).find("li").eq($(this).attr('data_num')*num+j).show() } $div.find('.page').hide() $div.find('.fy .two').html($div.find('.page .button').attr('data_two')) disa() }) $div.find('.fy .two').on('click',function(){ $div.find('.page').show() $('.page div').remove(); $div.find('.page').append(html) }) $div.find('.page .qx').on('click',function(){ $div.find('.page').hide() }) function init(number){ $div.find('.page div').eq(number).click() $div.find('.page .button').click() $div.find('.page').hide() } init(0) //上/下页功能按钮 $div.find('.fy .thr').on('click',function(){ init(parseInt($div.find('.page .button').attr('data_num'))+1) disa() }) $div.find('.fy .one').on('click',function(){ if($div.find('.page .button').attr('data_num')==0){ }else{ init(parseInt($div.find('.page .button').attr('data_num'))-1) } disa() }) //判断是否首页 尾页 function disa(){ window.scrollTo(0,0); if($div.find('.page .button').attr('data_num')==0){ $div.find('.fy .one').html('首页').css('color','#ababab') }else{ $div.find('.fy .one').html('上一页').css('color','#333'); } if($div.find('.page .button').attr('data_num')==li_len){ $div.find('.fy .thr').html('尾页').css('color','#ababab') }else{ $div.find('.fy .thr').html('下一页').css('color','#333') } } } //参数:class名/显示数量 jiazaiELMT1658970565073618('.ELMT1658970565073618',20) </script> </div><div class="ELMT1658970580897622"> <script language=javascript> var itemELMT1658970580897622=[]; itemELMT1658970580897622=[{'link_add':'https://www.12371.cn/2023/06/29/ARTI1687994873832995.shtml','title':'中华人民共和国无障碍环境建设法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/10/31/ARTI1667182924489900.shtml','title':'中华人民共和国妇女权益保障法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592760710411590.shtml','title':'中华人民共和国归侨侨眷权益保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591822790299280.shtml','title':'中华人民共和国残疾人保障法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/10/18/ARTI1603009046221486.shtml','title':'中华人民共和国未成年人保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592760980298598.shtml','title':'中华人民共和国工会法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/22/ARTI1592761896550608.shtml','title':'中华人民共和国矿山安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591832286422897.shtml','title':'中华人民共和国红十字会法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/18/ARTI1592415044828445.shtml','title':'中华人民共和国劳动法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824598700465.shtml','title':'中华人民共和国母婴保健法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591550079684282.shtml','title':'中华人民共和国老年人权益保障法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/12/27/ARTI1609044940434514.shtml','title':'中华人民共和国预防未成年人犯罪法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593299190285289.shtml','title':'中华人民共和国公益事业捐赠法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591549894443262.shtml','title':'中华人民共和国职业病防治法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/03/31/ARTI1648715862045393.shtml','title':'中华人民共和国安全生产法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592154056721344.shtml','title':'中华人民共和国劳动合同法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/02/01/ARTI1612148821538842.shtml','title':'中华人民共和国就业促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591549181225199.shtml','title':'中华人民共和国社会保险法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592156751354498.shtml','title':'中华人民共和国军人保险法','content':'','brief':''},{'link_add':'http://news.12371.cn/2013/06/30/ARTI1372547928846128.shtml','title':'中华人民共和国特种设备安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2015/12/27/ARTI1451228345057420.shtml','title':'中华人民共和国反家庭暴力法','content':'','brief':''},{'link_add':'http://www.12371.cn/2016/03/19/ARTI1458371896410441.shtml','title':'中华人民共和国慈善法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591828716718645.shtml','title':'中华人民共和国境外非政府组织境内活动管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/11/11/ARTI1605100620815881.shtml','title':'中华人民共和国退役军人保障法','content':'','brief':''}]; //要显示的页面 var currpageELMT1658970580897622 = 1; //一页显示信息条数为9 if(deviceWidth>750){ var pagesizeELMT1658970580897622=20; }else{ var pagesizeELMT1658970580897622=itemELMT1658970580897622.length; } //页数维护所显示的第一页 var beginpage=1; //页数维护所显示的最后一页 var endpage=100; function displaypageELMT1658970580897622(move){ var strTextELMT1658970580897622=""; //var strTextELMT16589705808976223=""; var prepage=currpageELMT1658970580897622; currpageELMT1658970580897622=move; //该页的第一行 var start=pagesizeELMT1658970580897622*(currpageELMT1658970580897622-1); if(start<0||start>=itemELMT1658970580897622.length) return; var strTextELMT1658970580897622 =[]; strTextELMT1658970580897622.push(''); for(var j=1;j<=pagesizeELMT1658970580897622;j++){ if(start<itemELMT1658970580897622.length){ strTextELMT1658970580897622.push("<li><div class=\"title\"><span class=\"tit1\"><a href=\"",itemELMT1658970580897622[start].link_add,"\" target=\"_blank\">",itemELMT1658970580897622[start].title,"</a></span><span class=\"tit2\">",itemELMT1658970580897622[start].content,"</span></div><div class=\"text\">",itemELMT1658970580897622[start].brief,"</div></li>"); start++; } } strTextELMT1658970580897622.push(""); var NumRecords=itemELMT1658970580897622.length;//信息总条数,减一因为是从下标[1]开始存的信息。 //没有信息就返回 if(NumRecords<=0) return; NumPages=Math.floor((NumRecords+(pagesizeELMT1658970580897622-1))/pagesizeELMT1658970580897622);//总页数 //如果总页数不足5条 if(NumPages<5){ beginpage=1; endpage=NumPages; }else{ //如果显示最前面的五页 if(currpageELMT1658970580897622<=5&&currpageELMT1658970580897622>0){ beginpage=1; endpage=5; } //如果显示最后面的五页 if(currpageELMT1658970580897622<=NumPages&&currpageELMT1658970580897622>=(NumPages-4)){ beginpage=NumPages-4; endpage=NumPages; } //其他情况 if(currpageELMT1658970580897622>5&&currpageELMT1658970580897622<(NumPages-4)){ if(currpageELMT1658970580897622>=(endpage+1)){ beginpage+=5; endpage+=5; } if(currpageELMT1658970580897622<=(beginpage-1)){ beginpage-=5; endpage-=5; } } } var showtextELMT1658970580897622=[]; if(currpageELMT1658970580897622>1){ showtextELMT1658970580897622.push(" <a href=\"javascript:displaypageELMT1658970580897622(1)\" class=\"tpb_btn_previous margin_r40\">首页</a> "); } /*showtextELMT1658970580897622.push("<a class='tpb_btn_previous'>第<i>",currpageELMT1658970580897622,"</i>/<i>",NumPages,"</i>页</a>"); //beginpage前面至少还有5页内容 if(beginpage>5){ showtextELMT1658970580897622.push("<a href=\"javascript:displaypageELMT1658970580897622(currpageELMT1658970580897622-5)\" class=\"tpb_btn_previous\">[前5页]</a> "); } */ if(currpageELMT1658970580897622>1){ showtextELMT1658970580897622.push("<a href=\"javascript:displaypageELMT1658970580897622(currpageELMT1658970580897622-1)\" class=\"tpb_btn_previous\">上一页</a> "); } for(i=beginpage;i<=endpage;i++){ if(i==currpageELMT1658970580897622){ showtextELMT1658970580897622.push("<a class=cur>",i,"</a> "); }else{ showtextELMT1658970580897622.push("<a href=\"javascript:displaypageELMT1658970580897622(",i,")\">",i,"</a> "); } } if((NumPages-currpageELMT1658970580897622)>0){ showtextELMT1658970580897622.push("<a href=\"javascript:displaypageELMT1658970580897622(currpageELMT1658970580897622+1)\" class=\"tpb_btn_previous\">下一页</a> "); } if((NumPages-currpageELMT1658970580897622)>=1){ showtextELMT1658970580897622.push("<a href=\"javascript:displaypageELMT1658970580897622(NumPages)\" class=\"tpb_btn_previous margin_r40\">尾页</a> "); } /*showtextELMT1658970580897622.push("<a class='tpb_btn_previous'>共<i>",NumPages,"</i>页</a>");*/ //看不到尾页 document.getElementById("one_upELMT1658970580897622").innerHTML=strTextELMT1658970580897622.join(""); document.getElementById("fenye0ELMT1658970580897622").innerHTML=showtextELMT1658970580897622.join(""); } </script> <ul class="dyw1015_list" id="one_upELMT1658970580897622"></ul> <div class="turn_page_box_1015" id="fenye0ELMT1658970580897622"></div> <script> displaypageELMT1658970580897622(1); </script> <!-- yd 分页 --> <style> .page,.fy{ display: none; } @media only screen and (min-width: 240px) and (max-width: 768px) { .showMorehandle{ display: none; } .dyw1004_nr ul{ height: auto; } .fy{ display: block; width: 7rem; height: 0.73rem; margin: 0 auto 0.3rem; font: 0.34rem "微软雅黑"; color: #333; line-height: 0.73rem; text-align: center; margin-top: 0.5rem; display: flex; } .fy div{ float: left; background: #fff; border: 0.01rem solid #ccc; } .fy .one{ width: 1.5rem; margin:0 0.5rem 0 0rem; } .fy .two{ width: 2.88rem; margin:0rem; } .fy .thr{ width: 1.5rem; margin:0 0 0 0.5rem; } .page{ display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 3rem; background: #fff; text-align: center; font-size: 0.4rem; line-height: 0.7rem; padding-top: 0.7rem; overflow: scroll; background: #eee; padding-bottom: 0.1rem; } .page .col_fff{ display: block; height: 0.75rem; background: #fff; position: fixed; left: 0; right: 0; bottom: 3.04rem; border-top: 0.02rem solid #ccc; margin-bottom: 0.35rem; z-index: 1; } .page div{ background: #eee; opacity: 0.5; } .page .button{ width: 2rem; position: absolute; right: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .page .qx{ width: 2rem; position: absolute; left: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .xuanji_dyw407 .yd_xuanji_list .yd_lunbo_dyw407 ul li{ display: none; } } </style> <div class="fy"> <div class="one">上一页</div> <div class="two">1-20</div> <div class="thr">下一页</div> </div> <div class="page"> <span class="col_fff"> <h4 class="qx">取消</h4> <h4 class="button">完成</h4> </span> </div> <script> function jiazaiELMT1658970580897622(len,num){ var li_len=parseInt($(len).find("li").length/num) //li列表的数量 var $div=$(len) if($(len).find("li").length==li_len*num) li_len=li_len-1 if($(len).find("li").length<num){ $div.find('.fy').hide() } for(var html='',i=0;i<li_len;i++){ html+="<div>"+(i*num+1)+"-"+(i*num+num)+"</div>" } html+="<div>"+(i*num+1)+"-"+$(len).find("li").length+"</div>" console.log(html) $div.find('.page').append(html) $div.find('.page').on('click','div',function(){ $div.find('.page div').css('opacity',0.5) $(this).css('opacity',1) $div.find('.page .button').attr('data_num',$div.find('.page div').index($(this))).attr('data_two',$(this).html()) }) $div.find('.page .button').on('click',function(){ $(len).find("li").hide() for(var j=0;j<num;j++){ $(len).find("li").eq($(this).attr('data_num')*num+j).show() } $div.find('.page').hide() $div.find('.fy .two').html($div.find('.page .button').attr('data_two')) disa() }) $div.find('.fy .two').on('click',function(){ $div.find('.page').show() $('.page div').remove(); $div.find('.page').append(html) }) $div.find('.page .qx').on('click',function(){ $div.find('.page').hide() }) function init(number){ $div.find('.page div').eq(number).click() $div.find('.page .button').click() $div.find('.page').hide() } init(0) //上/下页功能按钮 $div.find('.fy .thr').on('click',function(){ init(parseInt($div.find('.page .button').attr('data_num'))+1) disa() }) $div.find('.fy .one').on('click',function(){ if($div.find('.page .button').attr('data_num')==0){ }else{ init(parseInt($div.find('.page .button').attr('data_num'))-1) } disa() }) //判断是否首页 尾页 function disa(){ window.scrollTo(0,0); if($div.find('.page .button').attr('data_num')==0){ $div.find('.fy .one').html('首页').css('color','#ababab') }else{ $div.find('.fy .one').html('上一页').css('color','#333'); } if($div.find('.page .button').attr('data_num')==li_len){ $div.find('.fy .thr').html('尾页').css('color','#ababab') }else{ $div.find('.fy .thr').html('下一页').css('color','#333') } } } //参数:class名/显示数量 jiazaiELMT1658970580897622('.ELMT1658970580897622',20) </script> </div><div class="ELMT1658970586881626"> <script language=javascript> var itemELMT1658970586881626=[]; itemELMT1658970586881626=[{'link_add':'https://www.12371.cn/2023/04/27/ARTI1682552386118202.shtml','title':'中华人民共和国反间谍法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/09/03/ARTI1662166400932862.shtml','title':'中华人民共和国反电信网络诈骗法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/12/25/ARTI1640417168797484.shtml','title':'中华人民共和国反有组织犯罪法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/29/ARTI1593360770408357.shtml','title':'中华人民共和国刑法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593299672436329.shtml','title':'中华人民共和国刑法修正案','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593279484795173.shtml','title':'中华人民共和国刑法修正案(二)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593279638255191.shtml','title':'中华人民共和国刑法修正案(三)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593278166561131.shtml','title':'中华人民共和国刑法修正案(四)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593277372224981.shtml','title':'中华人民共和国刑法修正案(五)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593275451668889.shtml','title':'中华人民共和国刑法修正案(六)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/27/ARTI1593273403699804.shtml','title':'中华人民共和国刑法修正案(七)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/19/ARTI1592500750734927.shtml','title':'中华人民共和国刑法修正案(八)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/15/ARTI1592150487574905.shtml','title':'中华人民共和国刑法修正案(九)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824395464439.shtml','title':'中华人民共和国刑法修正案(十)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/12/27/ARTI1609046213815602.shtml','title':'中华人民共和国刑法修正案(十一)','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/12/30/ARTI1703899284750499.shtml','title':'中华人民共和国刑法修正案(十二)','content':'','brief':''}]; //要显示的页面 var currpageELMT1658970586881626 = 1; //一页显示信息条数为9 if(deviceWidth>750){ var pagesizeELMT1658970586881626=20; }else{ var pagesizeELMT1658970586881626=itemELMT1658970586881626.length; } //页数维护所显示的第一页 var beginpage=1; //页数维护所显示的最后一页 var endpage=100; function displaypageELMT1658970586881626(move){ var strTextELMT1658970586881626=""; //var strTextELMT16589705868816263=""; var prepage=currpageELMT1658970586881626; currpageELMT1658970586881626=move; //该页的第一行 var start=pagesizeELMT1658970586881626*(currpageELMT1658970586881626-1); if(start<0||start>=itemELMT1658970586881626.length) return; var strTextELMT1658970586881626 =[]; strTextELMT1658970586881626.push(''); for(var j=1;j<=pagesizeELMT1658970586881626;j++){ if(start<itemELMT1658970586881626.length){ strTextELMT1658970586881626.push("<li><div class=\"title\"><span class=\"tit1\"><a href=\"",itemELMT1658970586881626[start].link_add,"\" target=\"_blank\">",itemELMT1658970586881626[start].title,"</a></span><span class=\"tit2\">",itemELMT1658970586881626[start].content,"</span></div><div class=\"text\">",itemELMT1658970586881626[start].brief,"</div></li>"); start++; } } strTextELMT1658970586881626.push(""); var NumRecords=itemELMT1658970586881626.length;//信息总条数,减一因为是从下标[1]开始存的信息。 //没有信息就返回 if(NumRecords<=0) return; NumPages=Math.floor((NumRecords+(pagesizeELMT1658970586881626-1))/pagesizeELMT1658970586881626);//总页数 //如果总页数不足5条 if(NumPages<5){ beginpage=1; endpage=NumPages; }else{ //如果显示最前面的五页 if(currpageELMT1658970586881626<=5&&currpageELMT1658970586881626>0){ beginpage=1; endpage=5; } //如果显示最后面的五页 if(currpageELMT1658970586881626<=NumPages&&currpageELMT1658970586881626>=(NumPages-4)){ beginpage=NumPages-4; endpage=NumPages; } //其他情况 if(currpageELMT1658970586881626>5&&currpageELMT1658970586881626<(NumPages-4)){ if(currpageELMT1658970586881626>=(endpage+1)){ beginpage+=5; endpage+=5; } if(currpageELMT1658970586881626<=(beginpage-1)){ beginpage-=5; endpage-=5; } } } var showtextELMT1658970586881626=[]; if(currpageELMT1658970586881626>1){ showtextELMT1658970586881626.push(" <a href=\"javascript:displaypageELMT1658970586881626(1)\" class=\"tpb_btn_previous margin_r40\">首页</a> "); } /*showtextELMT1658970586881626.push("<a class='tpb_btn_previous'>第<i>",currpageELMT1658970586881626,"</i>/<i>",NumPages,"</i>页</a>"); //beginpage前面至少还有5页内容 if(beginpage>5){ showtextELMT1658970586881626.push("<a href=\"javascript:displaypageELMT1658970586881626(currpageELMT1658970586881626-5)\" class=\"tpb_btn_previous\">[前5页]</a> "); } */ if(currpageELMT1658970586881626>1){ showtextELMT1658970586881626.push("<a href=\"javascript:displaypageELMT1658970586881626(currpageELMT1658970586881626-1)\" class=\"tpb_btn_previous\">上一页</a> "); } for(i=beginpage;i<=endpage;i++){ if(i==currpageELMT1658970586881626){ showtextELMT1658970586881626.push("<a class=cur>",i,"</a> "); }else{ showtextELMT1658970586881626.push("<a href=\"javascript:displaypageELMT1658970586881626(",i,")\">",i,"</a> "); } } if((NumPages-currpageELMT1658970586881626)>0){ showtextELMT1658970586881626.push("<a href=\"javascript:displaypageELMT1658970586881626(currpageELMT1658970586881626+1)\" class=\"tpb_btn_previous\">下一页</a> "); } if((NumPages-currpageELMT1658970586881626)>=1){ showtextELMT1658970586881626.push("<a href=\"javascript:displaypageELMT1658970586881626(NumPages)\" class=\"tpb_btn_previous margin_r40\">尾页</a> "); } /*showtextELMT1658970586881626.push("<a class='tpb_btn_previous'>共<i>",NumPages,"</i>页</a>");*/ //看不到尾页 document.getElementById("one_upELMT1658970586881626").innerHTML=strTextELMT1658970586881626.join(""); document.getElementById("fenye0ELMT1658970586881626").innerHTML=showtextELMT1658970586881626.join(""); } </script> <ul class="dyw1015_list" id="one_upELMT1658970586881626"></ul> <script> displaypageELMT1658970586881626(1); </script> <!-- yd 分页 --> <style> .page,.fy{ display: none; } @media only screen and (min-width: 240px) and (max-width: 768px) { .showMorehandle{ display: none; } .dyw1004_nr ul{ height: auto; } .fy{ display: block; width: 7rem; height: 0.73rem; margin: 0 auto 0.3rem; font: 0.34rem "微软雅黑"; color: #333; line-height: 0.73rem; text-align: center; margin-top: 0.5rem; display: flex; } .fy div{ float: left; background: #fff; border: 0.01rem solid #ccc; } .fy .one{ width: 1.5rem; margin:0 0.5rem 0 0rem; } .fy .two{ width: 2.88rem; margin:0rem; } .fy .thr{ width: 1.5rem; margin:0 0 0 0.5rem; } .page{ display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 3rem; background: #fff; text-align: center; font-size: 0.4rem; line-height: 0.7rem; padding-top: 0.7rem; overflow: scroll; background: #eee; padding-bottom: 0.1rem; } .page .col_fff{ display: block; height: 0.75rem; background: #fff; position: fixed; left: 0; right: 0; bottom: 3.04rem; border-top: 0.02rem solid #ccc; margin-bottom: 0.35rem; z-index: 1; } .page div{ background: #eee; opacity: 0.5; } .page .button{ width: 2rem; position: absolute; right: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .page .qx{ width: 2rem; position: absolute; left: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .xuanji_dyw407 .yd_xuanji_list .yd_lunbo_dyw407 ul li{ display: none; } } </style> <div class="fy"> <div class="one">上一页</div> <div class="two">1-20</div> <div class="thr">下一页</div> </div> <div class="page"> <span class="col_fff"> <h4 class="qx">取消</h4> <h4 class="button">完成</h4> </span> </div> <script> function jiazaiELMT1658970586881626(len,num){ var li_len=parseInt($(len).find("li").length/num) //li列表的数量 var $div=$(len) if($(len).find("li").length==li_len*num) li_len=li_len-1 if($(len).find("li").length<num){ $div.find('.fy').hide() } for(var html='',i=0;i<li_len;i++){ html+="<div>"+(i*num+1)+"-"+(i*num+num)+"</div>" } html+="<div>"+(i*num+1)+"-"+$(len).find("li").length+"</div>" console.log(html) $div.find('.page').append(html) $div.find('.page').on('click','div',function(){ $div.find('.page div').css('opacity',0.5) $(this).css('opacity',1) $div.find('.page .button').attr('data_num',$div.find('.page div').index($(this))).attr('data_two',$(this).html()) }) $div.find('.page .button').on('click',function(){ $(len).find("li").hide() for(var j=0;j<num;j++){ $(len).find("li").eq($(this).attr('data_num')*num+j).show() } $div.find('.page').hide() $div.find('.fy .two').html($div.find('.page .button').attr('data_two')) disa() }) $div.find('.fy .two').on('click',function(){ $div.find('.page').show() $('.page div').remove(); $div.find('.page').append(html) }) $div.find('.page .qx').on('click',function(){ $div.find('.page').hide() }) function init(number){ $div.find('.page div').eq(number).click() $div.find('.page .button').click() $div.find('.page').hide() } init(0) //上/下页功能按钮 $div.find('.fy .thr').on('click',function(){ init(parseInt($div.find('.page .button').attr('data_num'))+1) disa() }) $div.find('.fy .one').on('click',function(){ if($div.find('.page .button').attr('data_num')==0){ }else{ init(parseInt($div.find('.page .button').attr('data_num'))-1) } disa() }) //判断是否首页 尾页 function disa(){ window.scrollTo(0,0); if($div.find('.page .button').attr('data_num')==0){ $div.find('.fy .one').html('首页').css('color','#ababab') }else{ $div.find('.fy .one').html('上一页').css('color','#333'); } if($div.find('.page .button').attr('data_num')==li_len){ $div.find('.fy .thr').html('尾页').css('color','#ababab') }else{ $div.find('.fy .thr').html('下一页').css('color','#333') } } } //参数:class名/显示数量 jiazaiELMT1658970586881626('.ELMT1658970586881626',20) </script> </div><div class="ELMT1658970594890630"> <script language=javascript> var itemELMT1658970594890630=[]; itemELMT1658970594890630=[{'link_add':'http://www.12371.cn/2021/02/01/ARTI1612149924408930.shtml','title':'中华人民共和国刑事诉讼法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591830469351784.shtml','title':'中华人民共和国行政诉讼法','content':'','brief':''},{'link_add':'https://flk.npc.gov.cn/detail2.html?ZmY4MDgxODE4YTIxZGMxMzAxOGI0MjUzMDNiNzA4NmQ%3D','title':'中华人民共和国民事诉讼法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829862873715.shtml','title':'中华人民共和国仲裁法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593299748029337.shtml','title':'中华人民共和国海事诉讼特别程序法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/02/01/ARTI1612149667324916.shtml','title':'中华人民共和国引渡法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/28/ARTI1593274747633855.shtml','title':'中华人民共和国劳动争议调解仲裁法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/02/01/ARTI1612149481929903.shtml','title':'中华人民共和国农村土地承包经营纠纷调解仲裁法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/19/ARTI1592503443601958.shtml','title':'中华人民共和国人民调解法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591822686943270.shtml','title':'中华人民共和国国际刑事司法协助法','content':'','brief':''}]; //要显示的页面 var currpageELMT1658970594890630 = 1; //一页显示信息条数为9 if(deviceWidth>750){ var pagesizeELMT1658970594890630=20; }else{ var pagesizeELMT1658970594890630=itemELMT1658970594890630.length; } //页数维护所显示的第一页 var beginpage=1; //页数维护所显示的最后一页 var endpage=100; function displaypageELMT1658970594890630(move){ var strTextELMT1658970594890630=""; //var strTextELMT16589705948906303=""; var prepage=currpageELMT1658970594890630; currpageELMT1658970594890630=move; //该页的第一行 var start=pagesizeELMT1658970594890630*(currpageELMT1658970594890630-1); if(start<0||start>=itemELMT1658970594890630.length) return; var strTextELMT1658970594890630 =[]; strTextELMT1658970594890630.push(''); for(var j=1;j<=pagesizeELMT1658970594890630;j++){ if(start<itemELMT1658970594890630.length){ strTextELMT1658970594890630.push("<li><div class=\"title\"><span class=\"tit1\"><a href=\"",itemELMT1658970594890630[start].link_add,"\" target=\"_blank\">",itemELMT1658970594890630[start].title,"</a></span><span class=\"tit2\">",itemELMT1658970594890630[start].content,"</span></div><div class=\"text\">",itemELMT1658970594890630[start].brief,"</div></li>"); start++; } } strTextELMT1658970594890630.push(""); var NumRecords=itemELMT1658970594890630.length;//信息总条数,减一因为是从下标[1]开始存的信息。 //没有信息就返回 if(NumRecords<=0) return; NumPages=Math.floor((NumRecords+(pagesizeELMT1658970594890630-1))/pagesizeELMT1658970594890630);//总页数 //如果总页数不足5条 if(NumPages<5){ beginpage=1; endpage=NumPages; }else{ //如果显示最前面的五页 if(currpageELMT1658970594890630<=5&&currpageELMT1658970594890630>0){ beginpage=1; endpage=5; } //如果显示最后面的五页 if(currpageELMT1658970594890630<=NumPages&&currpageELMT1658970594890630>=(NumPages-4)){ beginpage=NumPages-4; endpage=NumPages; } //其他情况 if(currpageELMT1658970594890630>5&&currpageELMT1658970594890630<(NumPages-4)){ if(currpageELMT1658970594890630>=(endpage+1)){ beginpage+=5; endpage+=5; } if(currpageELMT1658970594890630<=(beginpage-1)){ beginpage-=5; endpage-=5; } } } var showtextELMT1658970594890630=[]; if(currpageELMT1658970594890630>1){ showtextELMT1658970594890630.push(" <a href=\"javascript:displaypageELMT1658970594890630(1)\" class=\"tpb_btn_previous margin_r40\">首页</a> "); } /*showtextELMT1658970594890630.push("<a class='tpb_btn_previous'>第<i>",currpageELMT1658970594890630,"</i>/<i>",NumPages,"</i>页</a>"); //beginpage前面至少还有5页内容 if(beginpage>5){ showtextELMT1658970594890630.push("<a href=\"javascript:displaypageELMT1658970594890630(currpageELMT1658970594890630-5)\" class=\"tpb_btn_previous\">[前5页]</a> "); } */ if(currpageELMT1658970594890630>1){ showtextELMT1658970594890630.push("<a href=\"javascript:displaypageELMT1658970594890630(currpageELMT1658970594890630-1)\" class=\"tpb_btn_previous\">上一页</a> "); } for(i=beginpage;i<=endpage;i++){ if(i==currpageELMT1658970594890630){ showtextELMT1658970594890630.push("<a class=cur>",i,"</a> "); }else{ showtextELMT1658970594890630.push("<a href=\"javascript:displaypageELMT1658970594890630(",i,")\">",i,"</a> "); } } if((NumPages-currpageELMT1658970594890630)>0){ showtextELMT1658970594890630.push("<a href=\"javascript:displaypageELMT1658970594890630(currpageELMT1658970594890630+1)\" class=\"tpb_btn_previous\">下一页</a> "); } if((NumPages-currpageELMT1658970594890630)>=1){ showtextELMT1658970594890630.push("<a href=\"javascript:displaypageELMT1658970594890630(NumPages)\" class=\"tpb_btn_previous margin_r40\">尾页</a> "); } /*showtextELMT1658970594890630.push("<a class='tpb_btn_previous'>共<i>",NumPages,"</i>页</a>");*/ //看不到尾页 document.getElementById("one_upELMT1658970594890630").innerHTML=strTextELMT1658970594890630.join(""); document.getElementById("fenye0ELMT1658970594890630").innerHTML=showtextELMT1658970594890630.join(""); } </script> <ul class="dyw1015_list" id="one_upELMT1658970594890630"></ul> <script> displaypageELMT1658970594890630(1); </script> <!-- yd 分页 --> <style> .page,.fy{ display: none; } @media only screen and (min-width: 240px) and (max-width: 768px) { .showMorehandle{ display: none; } .dyw1004_nr ul{ height: auto; } .fy{ display: block; width: 7rem; height: 0.73rem; margin: 0 auto 0.3rem; font: 0.34rem "微软雅黑"; color: #333; line-height: 0.73rem; text-align: center; margin-top: 0.5rem; display: flex; } .fy div{ float: left; background: #fff; border: 0.01rem solid #ccc; } .fy .one{ width: 1.5rem; margin:0 0.5rem 0 0rem; } .fy .two{ width: 2.88rem; margin:0rem; } .fy .thr{ width: 1.5rem; margin:0 0 0 0.5rem; } .page{ display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 3rem; background: #fff; text-align: center; font-size: 0.4rem; line-height: 0.7rem; padding-top: 0.7rem; overflow: scroll; background: #eee; padding-bottom: 0.1rem; } .page .col_fff{ display: block; height: 0.75rem; background: #fff; position: fixed; left: 0; right: 0; bottom: 3.04rem; border-top: 0.02rem solid #ccc; margin-bottom: 0.35rem; z-index: 1; } .page div{ background: #eee; opacity: 0.5; } .page .button{ width: 2rem; position: absolute; right: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .page .qx{ width: 2rem; position: absolute; left: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .xuanji_dyw407 .yd_xuanji_list .yd_lunbo_dyw407 ul li{ display: none; } } </style> <div class="fy"> <div class="one">上一页</div> <div class="two">1-20</div> <div class="thr">下一页</div> </div> <div class="page"> <span class="col_fff"> <h4 class="qx">取消</h4> <h4 class="button">完成</h4> </span> </div> <script> function jiazaiELMT1658970594890630(len,num){ var li_len=parseInt($(len).find("li").length/num) //li列表的数量 var $div=$(len) if($(len).find("li").length==li_len*num) li_len=li_len-1 if($(len).find("li").length<num){ $div.find('.fy').hide() } for(var html='',i=0;i<li_len;i++){ html+="<div>"+(i*num+1)+"-"+(i*num+num)+"</div>" } html+="<div>"+(i*num+1)+"-"+$(len).find("li").length+"</div>" console.log(html) $div.find('.page').append(html) $div.find('.page').on('click','div',function(){ $div.find('.page div').css('opacity',0.5) $(this).css('opacity',1) $div.find('.page .button').attr('data_num',$div.find('.page div').index($(this))).attr('data_two',$(this).html()) }) $div.find('.page .button').on('click',function(){ $(len).find("li").hide() for(var j=0;j<num;j++){ $(len).find("li").eq($(this).attr('data_num')*num+j).show() } $div.find('.page').hide() $div.find('.fy .two').html($div.find('.page .button').attr('data_two')) disa() }) $div.find('.fy .two').on('click',function(){ $div.find('.page').show() $('.page div').remove(); $div.find('.page').append(html) }) $div.find('.page .qx').on('click',function(){ $div.find('.page').hide() }) function init(number){ $div.find('.page div').eq(number).click() $div.find('.page .button').click() $div.find('.page').hide() } init(0) //上/下页功能按钮 $div.find('.fy .thr').on('click',function(){ init(parseInt($div.find('.page .button').attr('data_num'))+1) disa() }) $div.find('.fy .one').on('click',function(){ if($div.find('.page .button').attr('data_num')==0){ }else{ init(parseInt($div.find('.page .button').attr('data_num'))-1) } disa() }) //判断是否首页 尾页 function disa(){ window.scrollTo(0,0); if($div.find('.page .button').attr('data_num')==0){ $div.find('.fy .one').html('首页').css('color','#ababab') }else{ $div.find('.fy .one').html('上一页').css('color','#333'); } if($div.find('.page .button').attr('data_num')==li_len){ $div.find('.fy .thr').html('尾页').css('color','#ababab') }else{ $div.find('.fy .thr').html('下一页').css('color','#333') } } } //参数:class名/显示数量 jiazaiELMT1658970594890630('.ELMT1658970594890630',20) </script> </div><div class="ELMT1658970613940634"> <script language=javascript> var itemELMT1658970613940634=[]; itemELMT1658970613940634=[{'link_add':'https://www.12371.cn/2024/11/09/ARTI1731116665738114.shtml','title':'中华人民共和国反洗钱法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/11/09/ARTI1731116577390993.shtml','title':'中华人民共和国能源法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/11/09/ARTI1731116486031974.shtml','title':'中华人民共和国矿产资源法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/11/09/ARTI1731116396145955.shtml','title':'中华人民共和国学前教育法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/11/09/ARTI1731116242191936.shtml','title':'中华人民共和国文物保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/09/13/ARTI1726224406137696.shtml','title':'中华人民共和国国防教育法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/07/22/ARTI1721642005289928.shtml','title':'中华人民共和国保守国家秘密法实施条例','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/04/28/ARTI1714265542656277.shtml','title':'中华人民共和国学位法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/04/26/ARTI1714134119598678.shtml','title':'中华人民共和国关税法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/03/12/ARTI1710199524609117.shtml','title':'中华人民共和国国务院组织法','content':'','brief':''},{'link_add':'https://www.12371.cn/2024/02/27/ARTI1709036758179382.shtml','title':'中华人民共和国保守国家秘密法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/12/30/ARTI1703899284750499.shtml','title':'中华人民共和国刑法修正案(十二)','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/12/30/ARTI1703899701463577.shtml','title':'中华人民共和国公司法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/12/30/ARTI1703899426647530.shtml','title':'中华人民共和国粮食安全保障法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/10/25/ARTI1698190925213804.shtml','title':'中华人民共和国爱国主义教育法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/10/25/ARTI1698190834229786.shtml','title':'中华人民共和国海洋环境保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/09/02/ARTI1693619817697697.shtml','title':'中华人民共和国外国国家豁免法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/09/02/ARTI1693619683433682.shtml','title':'中华人民共和国行政复议法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/07/09/ARTI1688890231473465.shtml','title':'私募投资基金监督管理条例','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/06/29/ARTI1687995201098187.shtml','title':'中华人民共和国对外关系法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/06/29/ARTI1687994873832995.shtml','title':'中华人民共和国无障碍环境建设法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/04/27/ARTI1682565619255429.shtml','title':'中华人民共和国青藏高原生态保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/04/27/ARTI1682552386118202.shtml','title':'中华人民共和国反间谍法','content':'','brief':''},{'link_add':'https://www.12371.cn/2023/03/14/ARTI1678748311813716.shtml','title':'中华人民共和国立法法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/12/31/ARTI1672454897801453.shtml','title':'中华人民共和国预备役人员法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/12/31/ARTI1672454575299438.shtml','title':'中华人民共和国野生动物保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/10/31/ARTI1667182924489900.shtml','title':'中华人民共和国妇女权益保障法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/10/31/ARTI1667183026213911.shtml','title':'中华人民共和国黄河保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/10/31/ARTI1667183139175922.shtml','title':'中华人民共和国畜牧法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/09/03/ARTI1662176531713235.shtml','title':'中华人民共和国农产品质量安全法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/09/03/ARTI1662166400932862.shtml','title':'中华人民共和国反电信网络诈骗法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/06/25/ARTI1656125482219303.shtml','title':'中华人民共和国黑土地保护法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/06/25/ARTI1656125553408318.shtml','title':'中华人民共和国体育法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/04/21/ARTI1650498785167252.shtml','title':'中华人民共和国职业教育法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/04/21/ARTI1650497354683205.shtml','title':'中华人民共和国期货和衍生品法','content':'','brief':''},{'link_add':'https://www.12371.cn/2022/03/12/ARTI1647046378091154.shtml','title':'中华人民共和国地方各级人民代表大会和地方各级人民政府组织法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/10/23/ARTI1634995488279679.shtml','title':'中华人民共和国陆地国界法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/10/23/ARTI1634992677881629.shtml','title':'中华人民共和国家庭教育促进法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/08/21/ARTI1629515148400413.shtml','title':'中华人民共和国兵役法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/08/21/ARTI1629515037664395.shtml','title':'中华人民共和国医师法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/08/21/ARTI1629514976999378.shtml','title':'中华人民共和国监察官法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/08/21/ARTI1629514296682355.shtml','title':'中华人民共和国法律援助法','content':'','brief':''},{'link_add':'https://www.12371.cn/2021/08/21/ARTI1629514182348338.shtml','title':'中华人民共和国个人信息保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/06/11/ARTI1623375030334267.shtml','title':'中华人民共和国反外国制裁法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/06/11/ARTI1623376980333578.shtml','title':'中华人民共和国海南自由贸易港法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/06/11/ARTI1623377210011645.shtml','title':'中华人民共和国印花税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/06/11/ARTI1623377458675679.shtml','title':'中华人民共和国数据安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/06/11/ARTI1623377729488711.shtml','title':'中华人民共和国军事设施保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/06/11/ARTI1623378032970756.shtml','title':'中华人民共和国军人地位和权益保障法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/05/18/ARTI1621308163333706.shtml','title':'中华人民共和国海上交通安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/04/30/ARTI1619751259418454.shtml','title':'中华人民共和国乡村振兴促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/03/12/ARTI1615516027738812.shtml','title':'中华人民共和国全国人民代表大会组织法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/03/12/ARTI1615515069019792.shtml','title':'中华人民共和国全国人民代表大会议事规则','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/01/23/ARTI1611368763633789.shtml','title':'中华人民共和国动物防疫法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/01/23/ARTI1611368612525782.shtml','title':'中华人民共和国海警法','content':'','brief':''},{'link_add':'http://www.12371.cn/2021/01/23/ARTI1611368129158773.shtml','title':'中华人民共和国行政处罚法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/12/27/ARTI1609046661026623.shtml','title':'中华人民共和国长江保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/12/27/ARTI1609046213815602.shtml','title':'中华人民共和国刑法修正案(十一)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/12/27/ARTI1609045347161531.shtml','title':'中华人民共和国国防法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/12/27/ARTI1609044940434514.shtml','title':'中华人民共和国预防未成年人犯罪法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/11/11/ARTI1605100620815881.shtml','title':'中华人民共和国退役军人保障法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/10/18/ARTI1603009046221486.shtml','title':'中华人民共和国未成年人保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/10/18/ARTI1602953798104525.shtml','title':'中华人民共和国生物安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/08/12/ARTI1597196341525409.shtml','title':'中华人民共和国契税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/08/12/ARTI1597196249506394.shtml','title':'中华人民共和国城市维护建设税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/30/ARTI1593531946640699.shtml','title':'中华人民共和国香港特别行政区维护国家安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/01/ARTI1591021670041266.shtml','title':'中华人民共和国民法典','content':'<a href="http://www.12371.cn/special/mfd/" target="_blank">专题</a>','brief':''},{'link_add':'http://www.12371.cn/2020/06/21/ARTI1592702664187812.shtml','title':'中华人民共和国公职人员政务处分法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/21/ARTI1592702268509797.shtml','title':'中华人民共和国人民武装警察法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/21/ARTI1592702012925783.shtml','title':'中华人民共和国档案法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591368228028428.shtml','title':'中华人民共和国固体废物污染环境防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591369109433485.shtml','title':'中华人民共和国森林法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591369258620495.shtml','title':'中华人民共和国社区矫正法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591369580594507.shtml','title':'中华人民共和国证券法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591370006047518.shtml','title':'中华人民共和国台湾同胞投资保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591370507059529.shtml','title':'中华人民共和国密码法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591371037656542.shtml','title':'中华人民共和国土地管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591371346091551.shtml','title':'中华人民共和国资源税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/05/ARTI1591371460972560.shtml','title':'中华人民共和国药品管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/06/ARTI1591399616866974.shtml','title':'中华人民共和国城市房地产管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/06/ARTI1591400010578985.shtml','title':'中华人民共和国疫苗管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/06/ARTI1591400113262996.shtml','title':'中华人民共和国消防法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/07/ARTI1591545204767982.shtml','title':'中华人民共和国车船税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591547042684994.shtml','title':'中华人民共和国城乡规划法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591547212064106.shtml','title':'中华人民共和国电子签名法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591547673665117.shtml','title':'中华人民共和国反不正当竞争法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591547819081126.shtml','title':'中华人民共和国建筑法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591548324092144.shtml','title':'中华人民共和国商标法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591548438561153.shtml','title':'中华人民共和国行政许可法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591548734965162.shtml','title':'中华人民共和国检察官法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591548928574172.shtml','title':'中华人民共和国法官法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591549075696183.shtml','title':'中华人民共和国外商投资法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591549181225199.shtml','title':'中华人民共和国社会保险法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591549423416229.shtml','title':'中华人民共和国村民委员会组织法','content':'','brief':''},{'link_add':'http://www.12371.cn/2018/12/30/ARTI1546150583605240.shtml','title':'中华人民共和国公务员法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591549748257250.shtml','title':'中华人民共和国民用航空法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591549894443262.shtml','title':'中华人民共和国职业病防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591550079684282.shtml','title':'中华人民共和国老年人权益保障法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591550256931291.shtml','title':'中华人民共和国城市居民委员会组织法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591550390182299.shtml','title':'中华人民共和国义务教育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591550802562311.shtml','title':'中华人民共和国环境噪声污染防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591550912384319.shtml','title':'中华人民共和国高等教育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591551183634335.shtml','title':'中华人民共和国环境影响评价法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/08/ARTI1591551325142345.shtml','title':'中华人民共和国民办教育促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591638667380441.shtml','title':'中华人民共和国耕地占用税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591638824193451.shtml','title':'中华人民共和国公司法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591638949484460.shtml','title':'中华人民共和国船舶吨税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591639036653474.shtml','title':'中华人民共和国公共图书馆法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591639235232484.shtml','title':'中华人民共和国计量法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591639602931509.shtml','title':'中华人民共和国人民法院组织法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/09/ARTI1591639796519517.shtml','title':'中华人民共和国人民检察院组织法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591743829119685.shtml','title':'中华人民共和国大气污染防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591743946991695.shtml','title':'中华人民共和国防沙治沙法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591746655756849.shtml','title':'中华人民共和国妇女权益保障法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591746807717858.shtml','title':'中华人民共和国环境保护税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591746912926869.shtml','title':'中华人民共和国旅游法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591747077873880.shtml','title':'中华人民共和国循环经济促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591747389584889.shtml','title':'中华人民共和国农产品质量安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591747454472899.shtml','title':'中华人民共和国农业机械化促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/10/ARTI1591747530271908.shtml','title':'中华人民共和国节约能源法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591822469993247.shtml','title':'中华人民共和国广告法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591822570051258.shtml','title':'中华人民共和国消防救援衔条例','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591822686943270.shtml','title':'中华人民共和国国际刑事司法协助法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591822790299280.shtml','title':'中华人民共和国残疾人保障法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591822932213296.shtml','title':'中华人民共和国电子商务法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823023442305.shtml','title':'中华人民共和国个人所得税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823222192321.shtml','title':'中华人民共和国土壤污染防治法','content':'','brief':''},{'link_add':'http://news.12371.cn/2018/04/28/ARTI1524918202924614.shtml','title':'中华人民共和国英雄烈士保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823424363339.shtml','title':'中华人民共和国人民陪审员法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/01/ARTI1591001375625834.shtml','title':'中华人民共和国国防教育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823632780359.shtml','title':'中华人民共和国精神卫生法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/04/15/ARTI1586917215500415.shtml','title':'中华人民共和国反恐怖主义法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823814040380.shtml','title':'中华人民共和国国家情报法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591823909925391.shtml','title':'中华人民共和国国境卫生检疫法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824072718401.shtml','title':'中华人民共和国监察法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824145773410.shtml','title':'中华人民共和国招标投标法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824242651421.shtml','title':'中华人民共和国烟叶税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824319252429.shtml','title':'中华人民共和国农民专业合作社法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824395464439.shtml','title':'中华人民共和国刑法修正案(十)','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824464383456.shtml','title':'中华人民共和国中外合作经营企业法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824598700465.shtml','title':'中华人民共和国母婴保健法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824703973474.shtml','title':'中华人民共和国海洋环境保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591824781786484.shtml','title':'中华人民共和国标准化法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591828641890629.shtml','title':'中华人民共和国港口法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591828716718645.shtml','title':'中华人民共和国境外非政府组织境内活动管理法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591828800903659.shtml','title':'中华人民共和国会计法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829007550669.shtml','title':'中华人民共和国文物保护法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829103135680.shtml','title':'中华人民共和国海关法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829228182689.shtml','title':'中华人民共和国公路法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829325020697.shtml','title':'中华人民共和国律师法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829744518706.shtml','title':'中华人民共和国行政处罚法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829862873715.shtml','title':'中华人民共和国仲裁法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591829971921725.shtml','title':'中华人民共和国国歌法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591830038201735.shtml','title':'中华人民共和国公证法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591830165118744.shtml','title':'中华人民共和国核安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591834466918172.shtml','title':'中华人民共和国对外贸易法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591830223101754.shtml','title':'中华人民共和国行政复议法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591830321041763.shtml','title':'中华人民共和国中小企业促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591830469351784.shtml','title':'中华人民共和国行政诉讼法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591831241102807.shtml','title':'中华人民共和国民事诉讼法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591831481444828.shtml','title':'中华人民共和国水污染防治法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591831619252845.shtml','title':'中华人民共和国测绘法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591832286422897.shtml','title':'中华人民共和国红十字会法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591832553271906.shtml','title':'中华人民共和国企业所得税法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591832700571914.shtml','title':'中华人民共和国中医药法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591832913263926.shtml','title':'中华人民共和国公共文化服务保障法','content':'','brief':''},{'link_add':'http://news.12371.cn/2018/04/14/ARTI1523666074094598.shtml','title':'中华人民共和国网络安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591833363690964.shtml','title':'中华人民共和国海上交通安全法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591833447947974.shtml','title':'中华人民共和国档案法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591833614862988.shtml','title':'中华人民共和国体育法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591833692792997.shtml','title':'中华人民共和国气象法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591834030965113.shtml','title':'中华人民共和国电影产业促进法','content':'','brief':''},{'link_add':'http://www.12371.cn/2020/06/11/ARTI1591834167336132.shtml','title':'中华人民共和国煤炭法','content':'','brief':''}]; //要显示的页面 var currpageELMT1658970613940634 = 1; //一页显示信息条数为9 if(deviceWidth>750){ var pagesizeELMT1658970613940634=20; }else{ var pagesizeELMT1658970613940634=itemELMT1658970613940634.length; } //页数维护所显示的第一页 var beginpage=1; //页数维护所显示的最后一页 var endpage=100; function displaypageELMT1658970613940634(move){ var strTextELMT1658970613940634=""; //var strTextELMT16589706139406343=""; var prepage=currpageELMT1658970613940634; currpageELMT1658970613940634=move; //该页的第一行 var start=pagesizeELMT1658970613940634*(currpageELMT1658970613940634-1); if(start<0||start>=itemELMT1658970613940634.length) return; var strTextELMT1658970613940634 =[]; strTextELMT1658970613940634.push(''); for(var j=1;j<=pagesizeELMT1658970613940634;j++){ if(start<itemELMT1658970613940634.length){ strTextELMT1658970613940634.push("<li><div class=\"title\"><span class=\"tit1\"><a href=\"",itemELMT1658970613940634[start].link_add,"\" target=\"_blank\">",itemELMT1658970613940634[start].title,"</a></span><span class=\"tit2\">",itemELMT1658970613940634[start].content,"</span></div><div class=\"text\">",itemELMT1658970613940634[start].brief,"</div></li>"); start++; } } strTextELMT1658970613940634.push(""); var NumRecords=itemELMT1658970613940634.length;//信息总条数,减一因为是从下标[1]开始存的信息。 //没有信息就返回 if(NumRecords<=0) return; NumPages=Math.floor((NumRecords+(pagesizeELMT1658970613940634-1))/pagesizeELMT1658970613940634);//总页数 //如果总页数不足5条 if(NumPages<5){ beginpage=1; endpage=NumPages; }else{ //如果显示最前面的五页 if(currpageELMT1658970613940634<=5&&currpageELMT1658970613940634>0){ beginpage=1; endpage=5; } //如果显示最后面的五页 if(currpageELMT1658970613940634<=NumPages&&currpageELMT1658970613940634>=(NumPages-4)){ beginpage=NumPages-4; endpage=NumPages; } //其他情况 if(currpageELMT1658970613940634>5&&currpageELMT1658970613940634<(NumPages-4)){ if(currpageELMT1658970613940634>=(endpage+1)){ beginpage+=5; endpage+=5; } if(currpageELMT1658970613940634<=(beginpage-1)){ beginpage-=5; endpage-=5; } } } var showtextELMT1658970613940634=[]; if(currpageELMT1658970613940634>1){ showtextELMT1658970613940634.push(" <a href=\"javascript:displaypageELMT1658970613940634(1)\" class=\"tpb_btn_previous margin_r40\">首页</a> "); } /*showtextELMT1658970613940634.push("<a class='tpb_btn_previous'>第<i>",currpageELMT1658970613940634,"</i>/<i>",NumPages,"</i>页</a>"); //beginpage前面至少还有5页内容 if(beginpage>5){ showtextELMT1658970613940634.push("<a href=\"javascript:displaypageELMT1658970613940634(currpageELMT1658970613940634-5)\" class=\"tpb_btn_previous\">[前5页]</a> "); } */ if(currpageELMT1658970613940634>1){ showtextELMT1658970613940634.push("<a href=\"javascript:displaypageELMT1658970613940634(currpageELMT1658970613940634-1)\" class=\"tpb_btn_previous\">上一页</a> "); } for(i=beginpage;i<=endpage;i++){ if(i==currpageELMT1658970613940634){ showtextELMT1658970613940634.push("<a class=cur>",i,"</a> "); }else{ showtextELMT1658970613940634.push("<a href=\"javascript:displaypageELMT1658970613940634(",i,")\">",i,"</a> "); } } if((NumPages-currpageELMT1658970613940634)>0){ showtextELMT1658970613940634.push("<a href=\"javascript:displaypageELMT1658970613940634(currpageELMT1658970613940634+1)\" class=\"tpb_btn_previous\">下一页</a> "); } if((NumPages-currpageELMT1658970613940634)>=1){ showtextELMT1658970613940634.push("<a href=\"javascript:displaypageELMT1658970613940634(NumPages)\" class=\"tpb_btn_previous margin_r40\">尾页</a> "); } /*showtextELMT1658970613940634.push("<a class='tpb_btn_previous'>共<i>",NumPages,"</i>页</a>");*/ //看不到尾页 document.getElementById("one_upELMT1658970613940634").innerHTML=strTextELMT1658970613940634.join(""); document.getElementById("fenye0ELMT1658970613940634").innerHTML=showtextELMT1658970613940634.join(""); } </script> <ul class="dyw1015_list" id="one_upELMT1658970613940634"></ul> <div class="turn_page_box_1015" id="fenye0ELMT1658970613940634"></div> <script> displaypageELMT1658970613940634(1); </script> <!-- yd 分页 --> <style> .page,.fy{ display: none; } @media only screen and (min-width: 240px) and (max-width: 768px) { .showMorehandle{ display: none; } .dyw1004_nr ul{ height: auto; } .fy{ display: block; width: 7rem; height: 0.73rem; margin: 0 auto 0.3rem; font: 0.34rem "微软雅黑"; color: #333; line-height: 0.73rem; text-align: center; margin-top: 0.5rem; display: flex; } .fy div{ float: left; background: #fff; border: 0.01rem solid #ccc; } .fy .one{ width: 1.5rem; margin:0 0.5rem 0 0rem; } .fy .two{ width: 2.88rem; margin:0rem; } .fy .thr{ width: 1.5rem; margin:0 0 0 0.5rem; } .page{ display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 3rem; background: #fff; text-align: center; font-size: 0.4rem; line-height: 0.7rem; padding-top: 0.7rem; overflow: scroll; background: #eee; padding-bottom: 0.1rem; } .page .col_fff{ display: block; height: 0.75rem; background: #fff; position: fixed; left: 0; right: 0; bottom: 3.04rem; border-top: 0.02rem solid #ccc; margin-bottom: 0.35rem; z-index: 1; } .page div{ background: #eee; opacity: 0.5; } .page .button{ width: 2rem; position: absolute; right: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .page .qx{ width: 2rem; position: absolute; left: 0rem; line-height: 0.75rem; top: 0rem; opacity: 1; font-size: 0.3rem; } .xuanji_dyw407 .yd_xuanji_list .yd_lunbo_dyw407 ul li{ display: none; } } </style> <div class="fy"> <div class="one">上一页</div> <div class="two">1-20</div> <div class="thr">下一页</div> </div> <div class="page"> <span class="col_fff"> <h4 class="qx">取消</h4> <h4 class="button">完成</h4> </span> </div> <script> function jiazaiELMT1658970613940634(len,num){ var li_len=parseInt($(len).find("li").length/num) //li列表的数量 var $div=$(len) if($(len).find("li").length==li_len*num) li_len=li_len-1 if($(len).find("li").length<num){ $div.find('.fy').hide() } for(var html='',i=0;i<li_len;i++){ html+="<div>"+(i*num+1)+"-"+(i*num+num)+"</div>" } html+="<div>"+(i*num+1)+"-"+$(len).find("li").length+"</div>" console.log(html) $div.find('.page').append(html) $div.find('.page').on('click','div',function(){ $div.find('.page div').css('opacity',0.5) $(this).css('opacity',1) $div.find('.page .button').attr('data_num',$div.find('.page div').index($(this))).attr('data_two',$(this).html()) }) $div.find('.page .button').on('click',function(){ $(len).find("li").hide() for(var j=0;j<num;j++){ $(len).find("li").eq($(this).attr('data_num')*num+j).show() } $div.find('.page').hide() $div.find('.fy .two').html($div.find('.page .button').attr('data_two')) disa() }) $div.find('.fy .two').on('click',function(){ $div.find('.page').show() $('.page div').remove(); $div.find('.page').append(html) }) $div.find('.page .qx').on('click',function(){ $div.find('.page').hide() }) function init(number){ $div.find('.page div').eq(number).click() $div.find('.page .button').click() $div.find('.page').hide() } init(0) //上/下页功能按钮 $div.find('.fy .thr').on('click',function(){ init(parseInt($div.find('.page .button').attr('data_num'))+1) disa() }) $div.find('.fy .one').on('click',function(){ if($div.find('.page .button').attr('data_num')==0){ }else{ init(parseInt($div.find('.page .button').attr('data_num'))-1) } disa() }) //判断是否首页 尾页 function disa(){ window.scrollTo(0,0); if($div.find('.page .button').attr('data_num')==0){ $div.find('.fy .one').html('首页').css('color','#ababab') }else{ $div.find('.fy .one').html('上一页').css('color','#333'); } if($div.find('.page .button').attr('data_num')==li_len){ $div.find('.fy .thr').html('尾页').css('color','#ababab') }else{ $div.find('.fy .thr').html('下一页').css('color','#333') } } } //参数:class名/显示数量 jiazaiELMT1658970613940634('.ELMT1658970613940634',20) </script> </div> </div> </div> <div class="column_wrapper_360"> <div id="SUBD1656898217782414"> <div class="dyw769_search"> <div class="input"> <div class="inp" style="display: block;"> <div class="box"> <input type="text" autocomplete="off" value="请输入关键字" onfocus="if(value=='请输入关键字') {value='';$('.inp input').css('color','#292929')}" onblur="if (value=='') {value='请输入关键字';$('.inp input').css('color','#cccccc')}" name="keyword" size="30" id="val1" style="color: rgb(204, 204, 204);"> <div class="button" onclick="preDoSearch()"></div> <div class="clear"></div> </div> <div class="clear"></div> </div> </div> </div> <script> $(function(){ if(/Android|webOS|iPhone|iPad|BlackBerry/i.test(navigator.userAgent)) { $('.input .choes a').click(function(){ var ids = $(this).attr('id'); $(this).addClass('cur').siblings().removeClass('cur'); }) }else{ $('.input .posi .show').click(function(){ //$('.input .inp').show(); $('.input .inp').show(); $('.input .posi .hide').show().siblings().hide(); }) $('.input .posi .hide').click(function(){ //$('.input .inp').hide(); $('.input .inp').hide(); $('.input .posi .show').show().siblings().hide(); }) $('.input .choes a').click(function(){ var ids = $(this).attr('id'); var titles = $(this).html(); $(this).addClass('cur').siblings().removeClass('cur'); $('.input .choes').toggle(); $(".input .downchoes .down").css('background-image','url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw742_pc_up.png)'); $('.input .title').html(titles); $('.input .title').attr('id',ids); }) } }) </script> <script type="text/javascript"> // var pageid = $('.inp .box .carte .left .choes a.cur').attr('pageids'); function preDoSearch() { var searchbox = document.getElementById('val1'); if ((searchbox.value != searchbox.defaultValue) && (searchbox.value != '')) { // pageid = $('.inp .box .carte .left .choes a.cur').attr('pageids'); // window.open('https://www.12371.cn/special/falv/search/index.shtml?keyword=' + encodeURIComponent(searchbox.value)+'&pageids='+pageid + ''); window.open('https://www.12371.cn/special/falv/search/index.shtml?keyword=' + encodeURIComponent(searchbox.value)+''); } } document.getElementById('val1').addEventListener('keypress', function(e) { if (e.key === 'Enter') { preDoSearch(); } }); function fireFoxHandler(evt) { if (evt.keyCode == 13) { Info = document.getElementById("inputbox20120619").value; if (Info == "" || Info.substring(0, 6) == "请输入关键词") { document.getElementById("inputbox20120619").focus(); return false; } else { searchbox20120619(); } } } function ieHandler(evt) { if (evt.keyCode == 13) { Info = document.getElementById("inputbox20120619").value; if (Info == "" || Info.substring(0, 6) == "请输入关键词") { document.getElementById("inputbox20120619").focus(); return false; } else { searchbox20120619(); } } } </script> <style type="text/css"> .dyw769_search input{float: left;width: 299px;height: 48px;border-left: 1px solid #cccccc;border-top: 1px solid #cccccc;border-bottom: 1px solid #cccccc;border-right: 0;color: #333333;font-size: 14px;line-height: 48px;padding-left: 10px;} .dyw769_search .button{background:url(//p2.img.cctvpic.com/photoAlbum/templet/common/DEPA1457510958309619/dyw769_search.jpg) right center no-repeat;width: 50px;height: 50px;float: left;cursor: pointer;} @media only screen and (min-width: 240px) and (max-width: 768px) { .dyw769_search {display: none;} } </style> <div class="dyw1015_jqgx"> <div class="tit"><cf:header><p><a href="https://www.12371.cn/special/xxzd/hxnr/fz/" target="_blank">习近平法治思想</a></p></cf:header></div> <ul> <li><a href="https://www.12371.cn/2020/11/23/ARTI1606118137106118.shtml" target=_blank>中央全面依法治国工作会议(2020年)</a> <span></span></li> <li><a href="https://www.12371.cn/2021/11/16/ARTI1637063220379395.shtml" target=_blank>《习近平法治思想学习纲要》</a> <span></span></li> <li><a href="https://www.12371.cn/2021/12/07/ARTI1638861095100903.shtml" target=_blank>学习贯彻习近平法治思想需要把握好十大关系</a> <span></span></li> <li><a href="https://www.12371.cn/2022/04/20/ARTI1650418708691712.shtml" target=_blank>为全面推进依法治国指明前进方向</a> <span></span></li> </ul></div> <div class="dyw1015_jqgx"> <div class="tit"><cf:header>近期更新</cf:header></div> <ul> <li><a href="https://www.12371.cn/2024/11/09/ARTI1731116665738114.shtml" target=_blank>中华人民共和国反洗钱法</a> <span></span></li> <li><a href="https://www.12371.cn/2024/11/09/ARTI1731116577390993.shtml" target=_blank>中华人民共和国能源法</a> <span></span></li> <li><a href="https://www.12371.cn/2024/11/09/ARTI1731116486031974.shtml" target=_blank>中华人民共和国矿产资源法</a> <span></span></li> <li><a href="https://www.12371.cn/2024/11/09/ARTI1731116396145955.shtml" target=_blank>中华人民共和国学前教育法</a> <span></span></li> <li><a href="https://www.12371.cn/2024/11/09/ARTI1731116242191936.shtml" target=_blank>中华人民共和国文物保护法</a> <span></span></li> </ul></div> <style> .dyw1018_imgTxt{ background: #fff; width: 306px; padding: 20px 19px 25px 35px; margin-top: 15px; } .dyw1018_imgTxt .tit { font: 18px '微软雅黑'; color: #c41909; margin-bottom: 13px; } .dyw1018_imgTxt li{ width: 147px; font:0px '微软雅黑'; margin-bottom: 22px; } .dyw1018_imgTxt li img{ width: 147px; } .dyw1018_imgTxt li span{ display: block; font:12px '微软雅黑'; color: #333; width: 150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding: 0 6px; line-height: 40px; background: #f8f8f8; }@media only screen and (min-width: 240px) and (max-width: 768px){ .column_wrapper_360{ width: 7rem; margin: 0 auto; float: unset; } .dyw1018_imgTxt{ background: #fff; width: 6.4rem; padding: 0.3rem; margin: 0.6rem 0; } .dyw1018_imgTxt .tit { font: 0.36rem '微软雅黑'; color: #c41909; margin-bottom: 0.26rem; } .dyw1018_imgTxt li{ width: 3rem; font:0px '微软雅黑'; margin-bottom: 0.44rem; } .dyw1018_imgTxt li img{ width: 3rem; } .dyw1018_imgTxt li span{ display: block; font:0.24rem '微软雅黑'; color: #333; width: 3rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding: 0 0.12rem; line-height: 0.8rem; background: #f8f8f8; } } </style> <div class="dyw1018_imgTxt"> <div class="tit"><cf:header>热门专题</cf:header></div> <ul> <li class="left"> <a href="https://www.12371.cn/special/xfxza/" target="_blank"> <img src="//p5.img.cctvpic.com/photoAlbum/page/performance/img/2022/7/13/1657677211165_761.jpg" > <span></span> </a> </li> <li class="right"> <a href="https://www.12371.cn/special/mfd/" target="_blank"> <img src="//p3.img.cctvpic.com/photoAlbum/page/performance/img/2022/7/13/1657677199834_575.jpg" > <span></span> </a> </li> </ul> </div><div class="dyw1015_xgtj"> <div class="tit"><cf:header>相关推荐</cf:header></div> <ul> <li><a href="https://www.12371.cn/special/sxll/" target=_blank> <img src="//p1.img.cctvpic.com/photoAlbum/page/performance/img/2024/5/8/1715136618588_233.png" <span>思想理论</span></span></a></li> <li><a href="https://www.12371.cn/special/dnfg/" target=_blank> <img src="//p1.img.cctvpic.com/photoAlbum/page/performance/img/2022/2/24/1645671617454_789.png" <span>党章党规</span></span></a></li> <li class="marR0"><a href="https://www.12371.cn/special/dzby/" target=_blank> <img src="//p4.img.cctvpic.com/photoAlbum/page/performance/img/2022/2/24/1645671606810_977.png" <span>先进典型</span></span></a></li> <li><a href="https://www.12371.cn/special/falv/" target=_blank> <img src="//p2.img.cctvpic.com/photoAlbum/page/performance/img/2022/2/24/1645671589134_728.png" <span>宪法法律</span></span></a></li> <li><a href="https://www.12371.cn/special/zcwj/" target=_blank> <img src="//p3.img.cctvpic.com/photoAlbum/page/performance/img/2022/2/24/1645671566657_444.png" <span>文件汇编</span></span></a></li> <li class="marR0"><a href="https://fuwu.12371.cn/dwwd/" target=_blank> <img src="//p3.img.cctvpic.com/photoAlbum/page/performance/img/2022/2/24/1645671553611_639.png" <span>党务知识</span></span></a></li> <li><a href="https://www.12371.cn/kjjm/" target=_blank> <img src="//p5.img.cctvpic.com/photoAlbum/page/performance/img/2022/2/24/1645671508528_229.png" <span>课件节目</span></span></a></li> <li><a href="https://www.12371.cn/special/zt/" target=_blank> <img src="//p3.img.cctvpic.com/photoAlbum/page/performance/img/2022/2/24/1645671383224_291.png" <span>专题荟萃</span></span></a></li> <li class="marR0"><a href="https://www.12371.cn/special/xz/" target=_blank> <img src="//p2.img.cctvpic.com/photoAlbum/page/performance/img/2022/2/24/1645671370168_806.png" <span>下载中心</span></span></a></li> </ul></div> </div> </div> <div style='clear'></div></div><script> if(location.href.indexOf('cms.')==-1){ if(location.href.indexOf('https')==-1){ window.location.href='https'+location.href.substring(4,location.href.length) } } </script> <script> if(deviceWidth>750){ $('.dyw1015_nav li a').on('click',function(e){ e.preventDefault(); $('.dyw1015_nav li').removeClass('cur'); $(this).parent('li').addClass('cur'); var nav_0629=$('.dyw1015_nav li').index($(this).parent('li')); $('.dyw1015_list').hide().siblings('.turn_page_box_1015').hide(); $('.dyw1015_list').eq(nav_0629).show().siblings('.turn_page_box_1015').show(); $('.dyw1015_list').eq(nav_0629).find('li').show(); }) $('.dyw1015_nav li a').eq(0).click(); }else{ for(var i=0;i<$('.dyw1015_list').length;i++){ if(i!=0){ $('.fy').eq(i).hide(); } } $('.dyw1019_yd_nav .nav_list li a').on('click',function(e){ e.preventDefault(); $('.dyw1019_yd_nav .nav_list li').removeClass('cur'); $(this).parent('li').addClass('cur'); var nav_0629=$('.dyw1019_yd_nav .nav_list li').index($(this).parent('li')); $('.dyw1015_list').hide(); $('.dyw1015_list').eq(nav_0629).show(); $('.fy').hide() $('.fy').eq(nav_0629).show() }) $('.dyw1019_yd_nav .nav_list li a').eq(0).click(); $('.dyw1019_yd_nav .list .dzdg li').on('click',function(e){ e.preventDefault(); $('.dyw1019_yd_nav .list .big_title .close_btn').click(); $('.dyw1019_yd_nav .nav_list li a').eq( $('.dyw1019_yd_nav .list .dzdg li').index($(this)) ).click(); swiper.swipeTo( $('.dyw1019_yd_nav .list .dzdg li').index($(this)) ); }) } </script> <script type="text/javascript"> var pageId = "PAGE1656898217746380"; </script><!-- END SiteAS v1.0 --> <script type="text/javascript"> $.get('//liuyan.12371.cn/jssdk.php?url='+encodeURIComponent(window.location.href), function(data,status){ var data = $.parseJSON(data); wx.config({ debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId: data.appId, // 必填,公众号的唯一标识 timestamp: data.timestamp, // 必填,生成签名的时间戳 nonceStr: data.nonceStr, // 必填,生成签名的随机串 signature: data.signature,// 必填,签名,见附录1 jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage'] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 }); wx.ready(function(){ // config信息验证后会执行ready方法,所有接口调用都必须在config接口获得结果之后,config是一个客户端的异步操作,所以如果需要在页面加载时就调用相关接口,则须把相关接口放在ready函数中调用来确保正确执行。对于用户触发时才调用的接口,则可以直接调用,不需要放在ready函数中。 //分享到朋友圈 wx.onMenuShareTimeline({ title: '', // 分享标题 link: window.location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: 'https:'+'//p1.img.cctvpic.com/photoAlbum/page/performance/img/2024/1/26/1706240438689_735.jpg', // 分享图标 success: function () { // 用户确认分享后执行的回调函数 }, cancel: function () { // 用户取消分享后执行的回调函数 } }); //分享给朋友 wx.onMenuShareAppMessage({ title: '', // 分享标题 desc: '', // 分享描述 link: window.location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: 'https:'+'//p1.img.cctvpic.com/photoAlbum/page/performance/img/2024/1/26/1706240438689_735.jpg', // 分享图标 type: 'link', // 分享类型,music、video或link,不填默认为link dataUrl: '', // 如果type是music或video,则要提供数据链接,默认为空 success: function () { // 用户确认分享后执行的回调函数 }, cancel: function () { // 用户取消分享后执行的回调函数 } }); }); }); </script> </div> <div class="bottom_bg_box"></div> <script> if(location.href.indexOf('cms.')==-1){ if(location.href.indexOf('https')==-1){ window.location.href='https'+location.href.substring(4,location.href.length) } } </script> <!-- 专题通用页尾 --> <link type="text/css" rel="stylesheet" href="//r.img.cctvpic.com/dystudy/include/general/1214/pddcydt/ditong/style/style.css?f187201b3b8d99479d7c359fddf74255"/> <div class="ELMT1459240001770812"> <div class="page_bottom_dyw357"> <div class="sub_pg_bottom"> <p class="left"> <span><a href="https://www.12371.cn/about/" target="_blank">关于我们</a></span> <span><a href="https://www.12371.cn/gjgx/" target="_blank">联系我们</a></span> <span><a href="https://www.12371.cn/map/" target="_blank">网站地图</a></span> <span><a href="https://www.12371.cn/special/yhdc/" target="_blank">用户调查</a></span> </p> <p class="right"> <span>共产党员网 版权所有</span> <span><a href="https://beian.miit.gov.cn" target="_blank">京ICP备12024993号-1</a></span> </p> </div> </div> </div> </div> </div> </div> </div> </div> <script> if(deviceWidth<=750){ $('#page_body').on('click','.xiazaikz',function(e){ e.preventDefault() alert('该视频文件较大,建议通过电脑访问本页下载') }) } </script> <style type="text/css"> @media screen and (max-width:767px) { html {-webkit-text-size-adjust:none;}/* 禁用iPhone中Safari的字号自动调整 */ /* 设置HTML5元素为块 */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;} /* 设置图片视频等自适应调整 */ img { max-width: 100%; height: auto; width: auto\9;/*ie8*/} img, object { max-width: 100%;} body{ font-size: auto;} a:active{ color:#D90000;} .dyw575_topmenu{display: none; } .column_wrapper_1200{ width: 100%; float: none; } .column_wrapper{ width: 100%; } .sub_638{ width: 100%; float: none; } .sub_315{ width: 100%; float: none; } /*顶部导航隐藏*/ .top_x_xq7587{ display: none; } /*面包屑隐藏*/ .sub_main1_289{ display: none; } /*底通隐藏*/ #page_bottom .copyright{ display: none; } /*左侧隐藏*/ .col_320_dyw353{ display: block; } .demo_dyw353{ display:none; } /*右侧内容*/ .col_840_dyw353{ width: 100%; float: none; padding-top: 17%; } .page_bottom_dyw357{display: none;} } </style> <script type="text/javascript"> (function () { var showMoreNChildren = function ($children, n) { //显示某jquery元素下的前n个隐藏的子元素 var $hiddenChildren = $children.filter(":hidden"); var cnt = $hiddenChildren.length; for (var i = 0; i < n && i < cnt ; i++) { $hiddenChildren.eq(i).show(); } return cnt - n;//返回还剩余的隐藏子元素的数量 } jQuery.showMore = function (selector) { if (selector == undefined) { selector = ".showMoreNChildren" } //对页中现有的class=showMorehandle的元素,在之后添加显示更多条,并绑定点击行为 $(selector).each(function () { var pagesize = $(this).attr("pagesize") || 5; var $children = $(this).children(); if ($children.length > pagesize) { for (var i = pagesize; i < $children.length; i++) { $children.eq(i).hide(); } $("<div class='clear'></div><div class='showMorehandle' >加载更多</div>").insertAfter($(this)).click(function () { if (showMoreNChildren($children, pagesize) <= 0) { //如果目标元素已经没有隐藏的子元素了,就隐藏"点击更多的按钮条" $(this).hide(); }; }); } }); } })(); </script> <script type="text/javascript"> $.showMore(".showMoreNChildren, .text01"); </script> <!-- START SiteAS v1.0 --> <script type="text/javascript"> var pagecode="C-012-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> <script> (function() { if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") { handleFontSize(); } else { if (document.addEventListener) { document.addEventListener("WeixinJSBridgeReady", handleFontSize, false); } else if (document.attachEvent) { document.attachEvent("WeixinJSBridgeReady", handleFontSize); document.attachEvent("onWeixinJSBridgeReady", handleFontSize); } } function handleFontSize() { // 设置网页字体为默认大小 WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize' : 0 }); // 重写设置网页字体大小的事件 WeixinJSBridge.on('menu:setfont', function() { WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize' : 0 }); }); } })(); </script> <style type="text/css"> body { /* IOS禁止微信调整字体大小 */ -webkit-text-size-adjust: 100% !important; text-size-adjust: 100% !important; -moz-text-size-adjust: 100% !important; } </style> </body> </html>

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