homerelevant.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. .m_top {height:50px;background:#fff;position:fixed;top:0;left:0;width:100%;z-index:9999;box-shadow:0px 0px 2px 0px rgba(191, 190, 190, 0.2);display:flex;align-items:center;}
  2. .header_back {position:absolute;top: 13px;width: 18px;right: 15px;}
  3. .header_menu{position:relative;margin-left:4%;}
  4. .header_menu a{ width:11px;display:block;float: left;position:relative;top:1px;}
  5. .header_menu img {display:inline-block;width:100%;height:auto;}
  6. .y_input {width:55%;border-radius:100px;background:#F7F5F6;float: left;margin-left:4%;}
  7. .y_input input {display:inline-block;width:81%;height:30px;line-height:33px;background:#F7F5F6;border:none;border-radius:50px;font-size:0.7rem;color:#666;padding-left:5px;}
  8. .y_input input::-ms-input-placeholder{color:#ccc}
  9. .y_input input::-webkit-input-placeholder{ color:#ccc}
  10. .y_input input::-moz-placeholder{color:#ccc}
  11. .y_input i{display:inline-block;width:12px;margin-left:15px;}
  12. .xm_toplogo{width:70px;float: left;margin-left:10px;}
  13. .xm_toplogo img{width:100%;height:100%;}
  14. /*头部*/
  15. .m_videohead_box{padding:0 0px;}
  16. .m_videohead{border-bottom:1px solid #EEE;}
  17. .m_videohead_box a{display:block;width:25%;float:left;text-align:center;height:40px;line-height:40px;}
  18. .m_videohead_box span{width:60%;display:inline-block;position:relative;font-size:0.875rem;color:#999;}
  19. .m_videohead_box span:before {content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:rgba(0,0,0,0);}
  20. .m_videohead_box a.on span:before{background:#E03700;}
  21. .m_videohead_box a.on span{font-weight:600;color:#333;}
  22. /*轮播*/
  23. .m_swiper_box{margin-top:20px;padding:0 15px;}
  24. .m_swiper{width:100%;overflow:hidden;position:relative;;border-radius:5px;}
  25. .m_swiper ul{width:100%;}
  26. .m_swiper ul li{width:100%;height:188px;border-radius:5px;overflow:hidden;position:relative;}
  27. .m_swiper ul li img{width:100%;height:100%;}
  28. .m_swiper ul li .text{width:100%;position:absolute;bottom:0;left:0;padding:69px 0 10px 0;
  29. background:-webkit-gradient(linear, 0 0, 0 bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.56)));
  30. -moz-linear-gradient(linear, 0 0, 0 bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.56)));
  31. -o-linear-gradient(linear, 0 0, 0 bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.56)));
  32. }
  33. .m_swiper ul li .text p{padding:0 10px;}
  34. .m_swiper ul li .text p span{font-size:1rem;color:#FFF;display:block;width:80%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}
  35. .m_swiper_box #swiper-pagination2{left:auto;right:10px;width:auto;}
  36. .m_swiper_box #swiper-pagination2 .swiper-pagination-bullet{margin:0 2px;background:#F6FBF6;opacity:1;width:4px;height:4px;border-radius:10px;}
  37. .m_swiper_box #swiper-pagination2 .swiper-pagination-bullet-active{background:#FFF;width:8px;}
  38. /*各国优质房产*/
  39. .m_video_box{margin-top:25px;padding:0 15px;}
  40. .m_video_box .title{font-size:1.0625rem;color:#333;font-weight:600;}
  41. /*导航*/
  42. .m_videonav{margin-top:20px;overflow:hidden;}
  43. .wrapper02 {position:relative;height:30px;margin:0 auto;}
  44. .wrapper02 .scroller {position:absolute;}
  45. .wrapper02 .scroller ul{width:100%;}
  46. .wrapper02 .scroller li {position:relative;float:left;width:77px;}
  47. .wrapper02 .scroller li a{border:1px solid #CCC;width:68px;height:30px;line-height:29px;text-align:center;font-size:0.75rem;color:#666;display:block;border-radius:3px;}
  48. .wrapper02 .scroller li.cur a{color:#FFF;border:1px solid #E03700;background:#E03700;}
  49. /*列表*/
  50. .m_videolist_box{margin-top:25px;background:#F8F8F8;padding:20px 15px;}
  51. .m_videolist{}
  52. .m_videolist li{width:48%;float:left;border-radius:5px;box-shadow :0px 0px 7px 0px #efefef;overflow:hidden;background:#FFF;margin-bottom:15px;}
  53. .m_videolist li:nth-child(2n){float:right;}
  54. .m_videolist_img{height:112px;position:relative;}
  55. .m_videolist_img .img{width:100%;height:100%;}
  56. .m_videolist_img i{font-size:0.6875rem;color:#FFF;background:rgba(0, 0, 0, 0.7);padding:7px 6px;position:absolute;top:6px;left:6px;border-radius:50px;}
  57. .m_videolist_img i img{width:8px;margin-top:-3px;margin-right:2px;}
  58. .m_videolist_text{position:absolute;bottom:0;left:0;width:100%;padding:22px 0 7px 0;
  59. background:-webkit-gradient(linear, 0 0, 0 bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.56)));
  60. -moz-linear-gradient(linear, 0 0, 0 bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.56)));
  61. -o-linear-gradient(linear, 0 0, 0 bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.56)));
  62. }
  63. .m_videolist_text p{padding:0 7px;}
  64. .m_videolist_text p span{font-size:0.625rem;color:#eee;float:right;}
  65. .m_videolist li .text{padding:12px 8px;}
  66. .m_videolist li .text .title{font-size:0.875rem;color:#333;line-height:20px;font-weight:600;height:40px;overflow:hidden;}
  67. .m_videolist li .text .dj{margin-top:11px;}
  68. .m_videolist li .text .dj span{font-size:0.625rem;color:#999;float:right}
  69. .m_videolist li .text .dj span img{width:13px;margin-right:2px;margin-top:-2px;}
  70. .dropload-up,.dropload-down{
  71. position: relative;
  72. height: 0;
  73. overflow: hidden;
  74. font-size: 12px;
  75. /* 开启硬件加速 */
  76. -webkit-transform:translateZ(0);
  77. transform:translateZ(0);
  78. }
  79. .dropload-down{
  80. height: 75px;
  81. }
  82. .dropload-refresh,.dropload-update,.dropload-load,.dropload-noData{
  83. height: 50px;
  84. line-height: 50px;
  85. text-align: center;
  86. }
  87. .dropload-load .loading{
  88. display: inline-block;
  89. height: 15px;
  90. width: 15px;
  91. border-radius: 100%;
  92. margin: 6px;
  93. border: 2px solid #666;
  94. border-bottom-color: transparent;
  95. vertical-align: middle;
  96. -webkit-animation: rotate 0.75s linear infinite;
  97. animation: rotate 0.75s linear infinite;
  98. }
  99. @-webkit-keyframes rotate {
  100. 0% {
  101. -webkit-transform: rotate(0deg);
  102. }
  103. 50% {
  104. -webkit-transform: rotate(180deg);
  105. }
  106. 100% {
  107. -webkit-transform: rotate(360deg);
  108. }
  109. }
  110. @keyframes rotate {
  111. 0% {
  112. transform: rotate(0deg);
  113. }
  114. 50% {
  115. transform: rotate(180deg);
  116. }
  117. 100% {
  118. transform: rotate(360deg);
  119. }
  120. }