7b17b25e by 任超

style:首页

1 parent 2a761230
...@@ -300,11 +300,18 @@ div.c_five ul li a img { ...@@ -300,11 +300,18 @@ div.c_five ul li a img {
300 overflow: hidden; 300 overflow: hidden;
301 text-overflow:ellipsis; 301 text-overflow:ellipsis;
302 white-space: nowrap; 302 white-space: nowrap;
303 width: 373px; 303 width: 430px;
304 text-align: left; 304 text-align: left;
305 position: relative; 305 position: relative;
306 padding-left: 10px; 306 padding-left: 10px;
307 } 307 }
308 .item-list li img {
309 width: 30px;
310 height: 18px;
311 float: right;
312 position: relative;
313 top: 13px;
314 }
308 .item-list li .newest { 315 .item-list li .newest {
309 width: 325px; 316 width: 325px;
310 } 317 }
...@@ -623,6 +630,13 @@ div.c_five ul li a img { ...@@ -623,6 +630,13 @@ div.c_five ul li a img {
623 padding-left: 10px; 630 padding-left: 10px;
624 line-height: 45px; 631 line-height: 45px;
625 } 632 }
633 .public-announcement ul:nth-of-type(2) li span {
634 font-size: 16px;
635 color: #9B9B9B;
636 float: right;
637 position: relative;
638 top: 15px;
639 }
626 .public-announcement ul:nth-of-type(2) li a:hover { 640 .public-announcement ul:nth-of-type(2) li a:hover {
627 color: #0091FF; 641 color: #0091FF;
628 } 642 }
......
...@@ -49,7 +49,7 @@ function initData() { ...@@ -49,7 +49,7 @@ function initData() {
49 } else { 49 } else {
50 $('.news-img').attr('src', '/staticImages/default-news.png'); 50 $('.news-img').attr('src', '/staticImages/default-news.png');
51 } 51 }
52 $(document).on("mouseover", ".news-module-box .item-list li", function (e) { 52 $(document).on("mouseover", ".news-module-box ..hotspot-list li", function (e) {
53 if ($(this).attr('url')) { 53 if ($(this).attr('url')) {
54 $('.news-img').attr('src', $(this).attr('url')); 54 $('.news-img').attr('src', $(this).attr('url'));
55 } else { 55 } else {
......