index.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. .main {
  2. width: 980px;
  3. height: 455px;
  4. margin-left: 220px;
  5. margin-top: 10px;
  6. }
  7. .focus {
  8. float: left;
  9. width: 721px;
  10. height: 455px;
  11. background-color: purple;
  12. }
  13. .newsflash {
  14. float: right;
  15. width: 250px;
  16. height: 455px;
  17. }
  18. .news {
  19. height: 165px;
  20. border: 1px solid #e4e4e4;
  21. }
  22. .news-hd {
  23. height: 33px;
  24. line-height: 33px;
  25. border-bottom: 1px dotted #e4e4e4;
  26. padding: 0 15px;
  27. }
  28. .news-hd h5 {
  29. float: left;
  30. font-size: 14px;
  31. }
  32. .news-hd .more {
  33. float: right;
  34. }
  35. .news-hd .more::after {
  36. font-family: 'icomoon';
  37. content: '\e920';
  38. }
  39. .news-bd {
  40. padding: 5px 15px 0;
  41. }
  42. .news-bd ul li {
  43. height: 24px;
  44. line-height: 24px;
  45. overflow: hidden;
  46. white-space: nowrap;
  47. text-overflow: ellipsis;
  48. }
  49. .lifeservice {
  50. overflow: hidden;
  51. height: 209px;
  52. /* background-color: purple; */
  53. border: 1px solid #e4e4e4;
  54. border-top: 0;
  55. }
  56. .lifeservice ul {
  57. width: 252px;
  58. }
  59. .lifeservice ul li {
  60. float: left;
  61. width: 63px;
  62. height: 71px;
  63. border-right: 1px solid #e4e4e4;
  64. border-bottom: 1px solid #e4e4e4;
  65. text-align: center;
  66. }
  67. .lifeservice ul li i {
  68. display: inline-block;
  69. width: 24px;
  70. height: 28px;
  71. background-color: pink;
  72. margin-top: 12px;
  73. background: url(../images/icons.png) no-repeat -19px -15px;
  74. }
  75. .bargain {
  76. margin-top: 5px;
  77. }
  78. /* 推荐模块 */
  79. .recom {
  80. height: 163px;
  81. background-color: #ebebeb;
  82. margin-top: 12px;
  83. }
  84. .recom_hd {
  85. float: left;
  86. height: 163px;
  87. width: 205px;
  88. background-color: #5c5251;
  89. text-align: center;
  90. padding-top: 30px;
  91. }
  92. .recom_bd {
  93. float: left;
  94. }
  95. .recom_bd ul li {
  96. position: relative;
  97. float: left;
  98. }
  99. .recom_bd ul li img {
  100. width: 248px;
  101. height: 163px;
  102. }
  103. .recom_bd ul li:nth-child(-n+3)::after {
  104. content: '';
  105. position: absolute;
  106. right: 0;
  107. top: 10px;
  108. width: 1px;
  109. height: 145px;
  110. background-color: #ddd;
  111. }
  112. /* 家用电梯模块 */
  113. .box_hd {
  114. height: 30px;
  115. border-bottom: 2px solid #c81623;
  116. }
  117. .box_hd h3 {
  118. float: left;
  119. font-size: 18px;
  120. color: #c81623;
  121. font-weight: 400;
  122. }
  123. .tab_list {
  124. float: right;
  125. line-height: 30px;
  126. }
  127. .tab_list ul li {
  128. float: left;
  129. }
  130. .tab_list ul li a {
  131. margin: 0 15px;
  132. }
  133. .floor .w {
  134. margin-top: 30px;
  135. }
  136. .box_bd {
  137. height: 361px;
  138. }
  139. .tab_list_item>div {
  140. float: left;
  141. height: 361px;
  142. }
  143. .col_210 {
  144. width: 210px;
  145. background-color: #f9f9f9;
  146. text-align: center;
  147. }
  148. .col_210 ul li {
  149. float: left;
  150. width: 85px;
  151. height: 34px;
  152. border-bottom: 1px solid #ccc;
  153. text-align: center;
  154. line-height: 33px;
  155. margin-right: 10px;
  156. }
  157. .col_210 ul {
  158. padding-left: 12px;
  159. }
  160. .col_329 {
  161. width: 329px;
  162. }
  163. .col_221 {
  164. width: 221px;
  165. border-right: 1px solid #ccc;
  166. }
  167. .col_219 {
  168. width: 219px;
  169. }
  170. .bb {
  171. /* 一般情况下,a如果包含有宽度的盒子,a需要转为块级元素 */
  172. display: block;
  173. border-bottom: 1px solid #ccc;
  174. }
  175. .fixedtool {
  176. position: fixed;
  177. top: 100px;
  178. left: 50%;
  179. margin-left: -676px;
  180. width: 66px;
  181. background-color: #fff;
  182. }
  183. .fixedtool li {
  184. height: 32px;
  185. line-height: 32px;
  186. text-align: center;
  187. font-size: 12px;
  188. border-bottom: 1px solid #ccc;
  189. cursor: pointer;
  190. }
  191. .fixedtool .current {
  192. background-color: #c81623;
  193. color: #fff;
  194. }