style:新闻动态详情
Showing
2 changed files
with
5 additions
and
2 deletions
... | @@ -15,6 +15,9 @@ | ... | @@ -15,6 +15,9 @@ |
15 | margin: 0 auto; | 15 | margin: 0 auto; |
16 | padding-top: 41px; | 16 | padding-top: 41px; |
17 | } | 17 | } |
18 | .mainbody .left { | ||
19 | width: 80%; | ||
20 | } | ||
18 | .navigation_crumbs { | 21 | .navigation_crumbs { |
19 | width: 100%; | 22 | width: 100%; |
20 | padding: 10px 0; | 23 | padding: 10px 0; | ... | ... |
... | @@ -44,8 +44,8 @@ function HotArticle() { | ... | @@ -44,8 +44,8 @@ function HotArticle() { |
44 | if (result.code == 200 && result.data != null) { | 44 | if (result.code == 200 && result.data != null) { |
45 | for (var i = 0; i < result.data.length; i++) { | 45 | for (var i = 0; i < result.data.length; i++) { |
46 | li = '<li class="tj">'; | 46 | li = '<li class="tj">'; |
47 | if (result.data[i].cover) { | 47 | if (result.data[i].preViewUrl) { |
48 | li += '<img src="' + result.data[i].cover + '">'; | 48 | li += '<img src="' + result.data[i].preViewUrl + '">'; |
49 | } | 49 | } |
50 | li += '<span class="tj-title">'+result.data[i].headline+'</span>'; | 50 | li += '<span class="tj-title">'+result.data[i].headline+'</span>'; |
51 | li += '<span class="tj-date">'+result.data[i].deadtime+'</span>'; | 51 | li += '<span class="tj-date">'+result.data[i].deadtime+'</span>'; | ... | ... |
-
Please register or sign in to post a comment