style:新闻动态
Showing
3 changed files
with
13 additions
and
14 deletions
... | @@ -139,7 +139,7 @@ div.subject { | ... | @@ -139,7 +139,7 @@ div.subject { |
139 | .leftContainer{ | 139 | .leftContainer{ |
140 | border-right: 1px solid #DEDEDE; | 140 | border-right: 1px solid #DEDEDE; |
141 | margin-top: 41px; | 141 | margin-top: 41px; |
142 | padding-bottom: 20px; | 142 | padding-bottom: 60px; |
143 | } | 143 | } |
144 | .leftContainer li { | 144 | .leftContainer li { |
145 | border-bottom: 1px solid #EAEAEA; | 145 | border-bottom: 1px solid #EAEAEA; |
... | @@ -150,11 +150,10 @@ div.subject { | ... | @@ -150,11 +150,10 @@ div.subject { |
150 | } | 150 | } |
151 | .left-top { | 151 | .left-top { |
152 | width: 408px; | 152 | width: 408px; |
153 | height: 18px; | ||
154 | font-size: 18px; | 153 | font-size: 18px; |
155 | font-weight: bold; | 154 | font-weight: bold; |
156 | color: #686666; | 155 | color: #686666; |
157 | line-height: 18px; | 156 | line-height: 21px; |
158 | cursor: pointer; | 157 | cursor: pointer; |
159 | } | 158 | } |
160 | .left-top:hover { | 159 | .left-top:hover { |
... | @@ -201,15 +200,15 @@ div.subject { | ... | @@ -201,15 +200,15 @@ div.subject { |
201 | } | 200 | } |
202 | 201 | ||
203 | #page { | 202 | #page { |
204 | margin-top: 20px; | 203 | margin-top: -35px; |
205 | text-align: center; | 204 | text-align: center; |
206 | margin-bottom: 50px; | 205 | margin-bottom: 60px; |
207 | } | 206 | } |
208 | 207 | ||
209 | .right { | 208 | .right { |
210 | width: 200px; | 209 | width: 200px; |
211 | margin-top: 36px; | 210 | margin-top: 20px; |
212 | margin-left: 15px; | 211 | margin-left: 10px; |
213 | } | 212 | } |
214 | 213 | ||
215 | .right-top { | 214 | .right-top { | ... | ... |
... | @@ -37,7 +37,7 @@ $(function () { | ... | @@ -37,7 +37,7 @@ $(function () { |
37 | function LoadNewsData() { | 37 | function LoadNewsData() { |
38 | $.ajax({ | 38 | $.ajax({ |
39 | type: "get", //提交方式 | 39 | type: "get", //提交方式 |
40 | url: portal.api_url + "/hlwj/Mh/getNewsArticleList",//路径 | 40 | url: portal.api_url + "/hlwj/MhNews/getNewsArticleList",//路径 |
41 | data:{ | 41 | data:{ |
42 | "currentPage":1, | 42 | "currentPage":1, |
43 | "pageSize":10 | 43 | "pageSize":10 | ... | ... |
... | @@ -23,14 +23,10 @@ | ... | @@ -23,14 +23,10 @@ |
23 | <div class="leftandright"> | 23 | <div class="leftandright"> |
24 | <div class="left"> | 24 | <div class="left"> |
25 | <ul class="leftContainer" id='ulNews'> | 25 | <ul class="leftContainer" id='ulNews'> |
26 | |||
27 | </ul> | 26 | </ul> |
28 | <div id="page"></div> | 27 | <div id="page"></div> |
29 | </div> | 28 | </div> |
30 | <div class="right"> | 29 | <div class="right"> |
31 | <div class="right-top"> | ||
32 | <h2>新闻推荐</h2> | ||
33 | </div> | ||
34 | <div class="right"> | 30 | <div class="right"> |
35 | <div class="right-top"> | 31 | <div class="right-top"> |
36 | <h2>新闻推荐</h2> | 32 | <h2>新闻推荐</h2> |
... | @@ -99,8 +95,12 @@ | ... | @@ -99,8 +95,12 @@ |
99 | </a> | 95 | </a> |
100 | <a class="xw" href="./news/xwxq.html" target="_blank"> | 96 | <a class="xw" href="./news/xwxq.html" target="_blank"> |
101 | <div class="xw-left"> | 97 | <div class="xw-left"> |
102 | <img | 98 | {{# if(item.cover != null){ }} |
103 | src="{{ item.cover }}"> | 99 | <img src="{{ item.cover }}"> |
100 | {{# } }} | ||
101 | {{# if(item.cover == null){ }} | ||
102 | <img src="../staticImages/news_demo.jpg"> | ||
103 | {{# } }} | ||
104 | </div> | 104 | </div> |
105 | <div class="xw-right"> | 105 | <div class="xw-right"> |
106 | <div class="left-body"> | 106 | <div class="left-body"> | ... | ... |
-
Please register or sign in to post a comment