style:新闻动态
Showing
4 changed files
with
42 additions
and
23 deletions
... | @@ -166,4 +166,5 @@ div.navigation { | ... | @@ -166,4 +166,5 @@ div.navigation { |
166 | } | 166 | } |
167 | .download-attachment a:hover { | 167 | .download-attachment a:hover { |
168 | color: #006cff; | 168 | color: #006cff; |
169 | text-decoration:underline; | ||
169 | } | 170 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -93,27 +93,29 @@ function PolicyHotArticle() { | ... | @@ -93,27 +93,29 @@ function PolicyHotArticle() { |
93 | } | 93 | } |
94 | 94 | ||
95 | 95 | ||
96 | layui.use('laypage', function () { | 96 | // layui.use('laypage', function () { |
97 | let laypage = layui.laypage; | 97 | // let laypage = layui.laypage; |
98 | laypage.render({ | 98 | // laypage.render({ |
99 | elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号 | 99 | // elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号 |
100 | , count: data.total //数据总数,从服务端得到 | 100 | // , count: 100 //数据总数,从服务端得到 |
101 | , limit: 5 | 101 | // , limit: 5 |
102 | , prev: '<' | 102 | // , prev: '<' |
103 | , next: '>' | 103 | // , next: '>' |
104 | , theme: '#0091FF' | 104 | // , theme: '#0091FF' |
105 | , jump: function (obj, first) { | 105 | // ,first: '首页' |
106 | if (!first) { | 106 | // ,last: '尾页' |
107 | LoadNewsData(obj.curr); | 107 | // , jump: function (obj, first) { |
108 | } | 108 | // if (!first) { |
109 | } | 109 | // LoadNewsData(obj.curr); |
110 | }); | 110 | // } |
111 | if(data.total ==0) { | 111 | // } |
112 | $('#page').hide(); | 112 | // }); |
113 | }else { | 113 | // if(data.total ==0) { |
114 | $('#page').show(); | 114 | // $('#page').hide(); |
115 | } | 115 | // }else { |
116 | }) | 116 | // $('#page').show(); |
117 | // } | ||
118 | // }) | ||
117 | var data = { //数据 | 119 | var data = { //数据 |
118 | "list": [], | 120 | "list": [], |
119 | total: 0 | 121 | total: 0 | ... | ... |
... | @@ -33,6 +33,7 @@ | ... | @@ -33,6 +33,7 @@ |
33 | <div class="notice_content" id="newsDetail"> | 33 | <div class="notice_content" id="newsDetail"> |
34 | </div> | 34 | </div> |
35 | <div class="download-attachment"> | 35 | <div class="download-attachment"> |
36 | <span>附件:</span> | ||
36 | <a href="" title = "中文开放目录">下载</a><a title = "中文开放目录" href="">下载</a> | 37 | <a href="" title = "中文开放目录">下载</a><a title = "中文开放目录" href="">下载</a> |
37 | </div> | 38 | </div> |
38 | </div> | 39 | </div> |
... | @@ -40,5 +41,4 @@ | ... | @@ -40,5 +41,4 @@ |
40 | <script type="text/javascript" src="../staticJs/common.js"></script> | 41 | <script type="text/javascript" src="../staticJs/common.js"></script> |
41 | <script type="text/javascript" src="../staticJs/down.js"></script> | 42 | <script type="text/javascript" src="../staticJs/down.js"></script> |
42 | <script type="text/javascript" src="../staticJs/businessGuideDeatil.js"></script> | 43 | <script type="text/javascript" src="../staticJs/businessGuideDeatil.js"></script> |
43 | |||
44 | </html> | 44 | </html> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!DOCTYPE html | 1 | <!DOCTYPE html |
2 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 2 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 | <html xmlns="http://www.w3.org/1999/xhtml"> | 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
4 | |||
4 | <head> | 5 | <head> |
5 | <style> | 6 | <style> |
6 | </style> | 7 | </style> |
... | @@ -9,6 +10,7 @@ | ... | @@ -9,6 +10,7 @@ |
9 | <script type="text/javascript" src="../staticJs/head.js"></script> | 10 | <script type="text/javascript" src="../staticJs/head.js"></script> |
10 | <link rel="stylesheet" type="text/css" href="../staticCss/xwdt.css"> | 11 | <link rel="stylesheet" type="text/css" href="../staticCss/xwdt.css"> |
11 | </head> | 12 | </head> |
13 | |||
12 | <body> | 14 | <body> |
13 | <div class="navigation_crumbs"> | 15 | <div class="navigation_crumbs"> |
14 | <div class="contentBox"> | 16 | <div class="contentBox"> |
... | @@ -22,7 +24,21 @@ | ... | @@ -22,7 +24,21 @@ |
22 | <div class="left"> | 24 | <div class="left"> |
23 | <ul class="leftContainer" id='ulNews'> | 25 | <ul class="leftContainer" id='ulNews'> |
24 | </ul> | 26 | </ul> |
25 | <div id="page"></div> | 27 | <div id="page"> |
28 | <div class="layui-box layui-laypage layui-laypage-molv"> | ||
29 | <a href="javascript:;" class="layui-laypage-prev"><</a> | ||
30 | <a href="javascript:;" class="layui-laypage-first" title="首页">首页</a> | ||
31 | <a href="javascript:;">1</a> | ||
32 | <span class="layui-laypage-curr"> | ||
33 | <em class="layui-laypage-em" style="background-color:#0091FF;"></em> | ||
34 | <em>2</em> | ||
35 | </span> | ||
36 | <a href="javascript:;" >3</a> | ||
37 | <a href="javascript:;" class="layui-laypage-last" title="尾页">尾页</a> | ||
38 | <a href="javascript:;" class="layui-laypage-next">></a> | ||
39 | </div> | ||
40 | </div> | ||
41 | |||
26 | </div> | 42 | </div> |
27 | <div class="right"> | 43 | <div class="right"> |
28 | <div class="right"> | 44 | <div class="right"> | ... | ... |
-
Please register or sign in to post a comment