homevideo.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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:left;}
  65. .m_videolist_text p span:nth-child(2){float:right;}
  66. .m_videolist_text p span img{width:13px;margin-top:-3px;margin-right:2px;}
  67. .m_videolist li .text{padding:12px 8px;}
  68. .m_videolist li .text .name{font-size:0.95rem;color:#333;font-weight:600;text-overflow:ellipsis;white-space:nowrap;overflow:hidden; }
  69. .m_videolist li .text .jg{font-size:0.9rem;color:#E84138;margin-top:4px;font-weight:600;}
  70. .m_videolist li .text .jg i{font-size:1.0625rem;font-weight:600;}
  71. .m_videolist li .text .yxq{font-size:0.6875rem;color:#CCC;margin-top:4px;}
  72. .dropload-up,.dropload-down{
  73. position: relative;
  74. height: 0;
  75. overflow: hidden;
  76. font-size: 12px;
  77. /* 开启硬件加速 */
  78. -webkit-transform:translateZ(0);
  79. transform:translateZ(0);
  80. }
  81. .dropload-down{
  82. height: 75px;
  83. }
  84. .dropload-refresh,.dropload-update,.dropload-load,.dropload-noData{
  85. height: 50px;
  86. line-height: 50px;
  87. text-align: center;
  88. }
  89. .dropload-load .loading{
  90. display: inline-block;
  91. height: 15px;
  92. width: 15px;
  93. border-radius: 100%;
  94. margin: 6px;
  95. border: 2px solid #666;
  96. border-bottom-color: transparent;
  97. vertical-align: middle;
  98. -webkit-animation: rotate 0.75s linear infinite;
  99. animation: rotate 0.75s linear infinite;
  100. }
  101. @-webkit-keyframes rotate {
  102. 0% {
  103. -webkit-transform: rotate(0deg);
  104. }
  105. 50% {
  106. -webkit-transform: rotate(180deg);
  107. }
  108. 100% {
  109. -webkit-transform: rotate(360deg);
  110. }
  111. }
  112. @keyframes rotate {
  113. 0% {
  114. transform: rotate(0deg);
  115. }
  116. 50% {
  117. transform: rotate(180deg);
  118. }
  119. 100% {
  120. transform: rotate(360deg);
  121. }
  122. }