style:法律法规
Showing
5 changed files
with
56 additions
and
80 deletions
| ... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
| 41 | <dl class='layui-nav-child'> | 41 | <dl class='layui-nav-child'> |
| 42 | <dd><a href='/staticViews/policyList/1.html'>相应政策</a></dd> | 42 | <dd><a href='/staticViews/policyList/1.html'>相应政策</a></dd> |
| 43 | <dd><a href='/staticViews/lawList/1.html'>法律法规</a></dd> | 43 | <dd><a href='/staticViews/lawList/1.html'>法律法规</a></dd> |
| 44 | <dd><a href='/staticViews/gsgg.html'>公示公告</a></dd> | 44 | <dd><a href='/staticViews/noticeList/1.html'>公示公告</a></dd> |
| 45 | </dl> | 45 | </dl> |
| 46 | </li> | 46 | </li> |
| 47 | <li id='bszn' class='layui-nav-item'><a href='/staticViews/bszn.html' | 47 | <li id='bszn' class='layui-nav-item'><a href='/staticViews/bszn.html' | ... | ... |
| ... | @@ -3,7 +3,7 @@ $(function () { | ... | @@ -3,7 +3,7 @@ $(function () { |
| 3 | let element = layui.element; | 3 | let element = layui.element; |
| 4 | }); | 4 | }); |
| 5 | addTabs('#zwgk') | 5 | addTabs('#zwgk') |
| 6 | getLawsArticleList() | 6 | // getLawsArticleList() |
| 7 | getPolicyHotArticleList() | 7 | getPolicyHotArticleList() |
| 8 | HotArticle() | 8 | HotArticle() |
| 9 | }) | 9 | }) |
| ... | @@ -104,29 +104,29 @@ function HotArticle() { | ... | @@ -104,29 +104,29 @@ function HotArticle() { |
| 104 | 104 | ||
| 105 | 105 | ||
| 106 | 106 | ||
| 107 | layui.use('laypage', function () { | 107 | // layui.use('laypage', function () { |
| 108 | var laypage = layui.laypage; | 108 | // var laypage = layui.laypage; |
| 109 | //执行一个laypage实例 | 109 | // //执行一个laypage实例 |
| 110 | laypage.render({ | 110 | // laypage.render({ |
| 111 | elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号 | 111 | // elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号 |
| 112 | , count: data.total //数据总数,从服务端得到 | 112 | // , count: data.total //数据总数,从服务端得到 |
| 113 | , limit: data.pageSize | 113 | // , limit: data.pageSize |
| 114 | , prev: '<' | 114 | // , prev: '<' |
| 115 | , next: '>' | 115 | // , next: '>' |
| 116 | , theme: '#0091FF' | 116 | // , theme: '#0091FF' |
| 117 | , jump: function (obj, first) { | 117 | // , jump: function (obj, first) { |
| 118 | data.currentPage = obj.curr | 118 | // data.currentPage = obj.curr |
| 119 | if (!first) { | 119 | // if (!first) { |
| 120 | getLawsArticleList(); | 120 | // getLawsArticleList(); |
| 121 | } | 121 | // } |
| 122 | } | 122 | // } |
| 123 | }); | 123 | // }); |
| 124 | if (data.total == 0) { | 124 | // if (data.total == 0) { |
| 125 | $('#page').hide(); | 125 | // $('#page').hide(); |
| 126 | }else { | 126 | // }else { |
| 127 | $('#page').show(); | 127 | // $('#page').show(); |
| 128 | } | 128 | // } |
| 129 | }); | 129 | // }); |
| 130 | var data = { //数据 | 130 | var data = { //数据 |
| 131 | "list": [], | 131 | "list": [], |
| 132 | total: undefined, | 132 | total: undefined, | ... | ... |
| 1 | $(function () { | 1 | $(function () { |
| 2 | newsCenterData(); | 2 | newsCenterData(); |
| 3 | // | 3 | // |
| 4 | fetchNewsData(); | 4 | fetchNewsData(getItem('myCookie').username); |
| 5 | }) | 5 | }) |
| 6 | function newsCenterData() { | 6 | function newsCenterData() { |
| 7 | $(document).on("mouseover", ".sysNewsList .newsDetail", function (e) { | 7 | $(document).on("mouseover", ".sysNewsList .newsDetail", function (e) { | ... | ... |
| ... | @@ -3,7 +3,7 @@ $(function () { | ... | @@ -3,7 +3,7 @@ $(function () { |
| 3 | let element = layui.element; | 3 | let element = layui.element; |
| 4 | }); | 4 | }); |
| 5 | addTabs('#zwgk'); | 5 | addTabs('#zwgk'); |
| 6 | getLawsArticleList(); | 6 | // getLawsArticleList(); |
| 7 | getPolicyHotArticleList(); | 7 | getPolicyHotArticleList(); |
| 8 | HotArticle(); | 8 | HotArticle(); |
| 9 | }) | 9 | }) |
| ... | @@ -106,29 +106,29 @@ function HotArticle() { | ... | @@ -106,29 +106,29 @@ function HotArticle() { |
| 106 | 106 | ||
| 107 | 107 | ||
| 108 | 108 | ||
| 109 | layui.use('laypage', function () { | 109 | // layui.use('laypage', function () { |
| 110 | var laypage = layui.laypage; | 110 | // var laypage = layui.laypage; |
| 111 | //执行一个laypage实例 | 111 | // //执行一个laypage实例 |
| 112 | laypage.render({ | 112 | // laypage.render({ |
| 113 | elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号 | 113 | // elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号 |
| 114 | , count: data.total //数据总数,从服务端得到 | 114 | // , count: data.total //数据总数,从服务端得到 |
| 115 | , limit: data.pageSize | 115 | // , limit: data.pageSize |
| 116 | , prev: '<' | 116 | // , prev: '<' |
| 117 | , next: '>' | 117 | // , next: '>' |
| 118 | , theme: '#0091FF' | 118 | // , theme: '#0091FF' |
| 119 | , jump: function (obj, first) { | 119 | // , jump: function (obj, first) { |
| 120 | data.currentPage = obj.curr | 120 | // data.currentPage = obj.curr |
| 121 | if (!first) { | 121 | // if (!first) { |
| 122 | getLawsArticleList(); | 122 | // getLawsArticleList(); |
| 123 | } | 123 | // } |
| 124 | } | 124 | // } |
| 125 | }); | 125 | // }); |
| 126 | if (data.total ==0 ) { | 126 | // if (data.total ==0 ) { |
| 127 | $('#page').hide(); | 127 | // $('#page').hide(); |
| 128 | }else { | 128 | // }else { |
| 129 | $('#page').show(); | 129 | // $('#page').show(); |
| 130 | } | 130 | // } |
| 131 | }); | 131 | // }); |
| 132 | var data = { //数据 | 132 | var data = { //数据 |
| 133 | "list": [], | 133 | "list": [], |
| 134 | total: 0, | 134 | total: 0, | ... | ... |
| ... | @@ -6,15 +6,15 @@ | ... | @@ -6,15 +6,15 @@ |
| 6 | </style> | 6 | </style> |
| 7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 8 | <title>公示公告</title> | 8 | <title>公示公告</title> |
| 9 | <script type="text/javascript" src="../staticJs/head.js"></script> | 9 | <script type="text/javascript" src="../../staticJs/head.js"></script> |
| 10 | <link rel="stylesheet" type="text/css" href="../staticCss/gsgg.css"> | 10 | <link rel="stylesheet" type="text/css" href="../../staticCss/gsgg.css"> |
| 11 | </head> | 11 | </head> |
| 12 | 12 | ||
| 13 | <body> | 13 | <body> |
| 14 | <div class="navigation_crumbs"> | 14 | <div class="navigation_crumbs"> |
| 15 | <div class="contentBox"> | 15 | <div class="contentBox"> |
| 16 | <span class="layui-breadcrumb"> | 16 | <span class="layui-breadcrumb"> |
| 17 | <a href="../index.html">首页</a> | 17 | <a href="../../index.html">首页</a> |
| 18 | <a>政务公开</a> | 18 | <a>政务公开</a> |
| 19 | <a><cite>公示公告</cite></a> | 19 | <a><cite>公示公告</cite></a> |
| 20 | </span> | 20 | </span> |
| ... | @@ -52,31 +52,7 @@ | ... | @@ -52,31 +52,7 @@ |
| 52 | </div> | 52 | </div> |
| 53 | </div> | 53 | </div> |
| 54 | </body> | 54 | </body> |
| 55 | <script type="text/javascript" src="../staticJs/common.js"></script> | 55 | <script type="text/javascript" src="../../staticJs/common.js"></script> |
| 56 | <script type="text/javascript" src="../staticJs/down.js"></script> | 56 | <script type="text/javascript" src="../../staticJs/down.js"></script> |
| 57 | <script type="text/javascript" src="../staticJs/gsgg.js"></script> | 57 | <script type="text/javascript" src="../../staticJs/gsgg.js"></script> |
| 58 | <script id="demo" type="text/html"> | ||
| 59 | {{# layui.each(d.list, function(index, item){ }} | ||
| 60 | <li> | ||
| 61 | <a href='./notice/{{item.id}}.html' target="_blank"> | ||
| 62 | <div class="gg"> | ||
| 63 | {{# if(item.noticeType == 1){ }} | ||
| 64 | <svg class="icon svg-icon" aria-hidden="true"> | ||
| 65 | <use xlink:href="#icongongshi"></use> | ||
| 66 | </svg> | ||
| 67 | {{# } }} | ||
| 68 | {{# if(item.noticeType == 2){ }} | ||
| 69 | <svg class="icon svg-icon" aria-hidden="true"> | ||
| 70 | <use xlink:href="#icongonggao1"></use> | ||
| 71 | </svg> | ||
| 72 | {{# } }} | ||
| 73 | <p class="item_list"> | ||
| 74 | {{item.title}} | ||
| 75 | </p> | ||
| 76 | </div> | ||
| 77 | </a> | ||
| 78 | </li> | ||
| 79 | {{# }); }} | ||
| 80 | </script> | ||
| 81 | |||
| 82 | </html> | 58 | </html> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment