news.css 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. body {background-color:#F5F7FA;}
  2. /* 顶部轮播 */
  3. .news_banner {padding:15px 0;position:relative;overflow:hidden;width:95%;margin:0 auto;}
  4. .news_banner .baner {position:relative;}
  5. .news_banner .baner img{display:block;width:100%;height:190px;}
  6. .news_banner .baner .font_box {font-size:0.95rem; background-color:rgba(0,0,0,0.5);padding:9px 8px;position:absolute;left:0;bottom:0;color:#fff;width:100%;}
  7. .y_lphomepc_swip{overflow: hidden; width: 100%; height: auto; position: relative;}
  8. .y_centerpc{height: 210px; position: relative;}
  9. .y_longhr{ width: 20%; margin: 0px auto; position:absolute; height: 40px;right:0;bottom:15px;}
  10. .y_lphomepc_swip .swiper-pagination{bottom: 24%;width: 50%; left: 50%; margin-left: -25%;}
  11. .swiper-pagination-bullet{ width: 10px; height: 10px; margin: 0 3px;}
  12. .y_lphomepc_swip .swiper-button-next, .y_lphomepc_swip .swiper-button-prev{ width: 40px; height: 40px; bottom: 0px; top: auto; position: absolute;background: none;}
  13. .swiper-pagination {top:10px;right:5px;}
  14. /*列表导航*/
  15. .find_nav {width: 100%; height:50px;background-color: #fff;border-bottom: 1px solid #ddd;display: -moz-box;display: -webkit-box;display: box;}
  16. .find_nav_left {height: 46px;position: relative;overflow: hidden;-moz-box-flex: 1;-webkit-box-flex: 1;box-flex: 1;}
  17. .find_nav_list {position: absolute;left: 0;top:10px;}
  18. .find_nav_list ul {position: relative;white-space: nowrap;font-size: 0;}
  19. .find_nav_list ul li {display: inline-block;padding: 0 10px;}
  20. .find_nav_list ul li a { display: block;width: 100%;height: 100%;line-height: 25px;font-size: 1rem;text-align: center;color: #333;}
  21. .find_nav_cur a {font-size:0.98rem;padding:1px 10px;}
  22. .find_nav_cur a.on {background-color:#EED076;color:#B79328;border-radius:15px;}
  23. .sideline { display: block;position: absolute;border: 0;height: 2px;background-color: #48a5f4;left: 0;top: 43px;pointer-events: none;}
  24. .search_logo {display: block;width: 44px;height: 45px;line-height: 45px;text-align: center;font-size: 14px;color: #48a5f4;}
  25. /* 列表 */
  26. .news_list {padding:0px 10px 40px;}
  27. .news_list > div + div {margin-top:10px;}
  28. /*方案一*/
  29. .plan_one,.plan_two,.plan_three {background-color:#fff;padding:15px 10px;border:1px solid #EDEEEF;}
  30. .plan_one > a {display:block;}
  31. .plan_one .plan_one_title {display:inline-block;vertical-align:top;width:58%;height:95px;position:relative;}
  32. .plan_one .plan_one_title p:first-child {font-size:0.95rem;line-height:23px;font-weight:600;}
  33. .plan_one .plan_one_title p:last-child {font-size:0.7rem;line-height:30px;color:#979797;width:100%;position:absolute;bottom:0;}
  34. .plan_one .plan_one_title p:last-child span.data {position:relative;left:4px;}
  35. .plan_one .plan_one_title p:last-child span.see {float:right;position:relative;right:15px;}
  36. .plan_one .plan_one_title p:last-child span.see img {display:inline-block;width:15px;position:relative;right:5px;}
  37. .plan_one .plan_one_img {display:inline-block;vertical-align:top;width:38%;border-radius:5px;height:95px;margin-left:10px;}
  38. .plan_one .plan_one_img img {display:block;width:100%;height:100%;}
  39. .guis{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:35%;float:left;}
  40. /*方案二*/
  41. .plan_two > a {display:block;}
  42. .plan_two_title {font-size:1rem;font-weight:600;line-height:23px;}
  43. .plan_two_img {padding:10px 0;}
  44. .plan_two_img ul li {display:inline-block;width:32%;}
  45. .plan_two_img ul li img {display:block;width:100%;height:80px;}
  46. .plan_two_img ul li + li {margin-left:1%;}
  47. .plan_two_label {font-size:0.7rem;color:#979797;}
  48. .plan_two_label span.data {position:relative;left:20px;}
  49. .plan_two_label span.see {float:right;position:relative;right:15px;}
  50. .plan_two_label span.see img {display:inline-block;width:15px;position:relative;right:5px;}
  51. /* 方案三 */
  52. .plan_three_img {padding:10px 0;}
  53. .plan_three_img img {display:block;width:100%;height:183px;}
  54. /* 加载更多 */
  55. .dropload-down {position:fixed;top:56px;left:0px;width:100%;text-align:center;padding:8px 0;color:#fff;background:rgba(0,0,0,0.4);z-index:1000;}
  56. /* 特殊要求 */
  57. .my_needs ,.my_needs_tit,.my_needs_note,.my_needs_icon,.home_module_channel,.channel_list{display:none;}
  58. /*媒体查询*/
  59. @media screen and (min-width: 320px) and (max-width: 374px) {
  60. .plan_one .plan_one_title p:first-child {font-size:0.85rem;}
  61. .guis{width:27%;}
  62. }