index.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. /*这个文件里面放的是 首页的样式*/
  2. .main {
  3. width: 980px;
  4. height: 455px;
  5. margin-left: 219px;
  6. margin-top: 10px;
  7. }
  8. .focus {
  9. position: relative;
  10. width: 721px;
  11. height: 455px;
  12. background-color: purple;
  13. overflow: hidden;
  14. }
  15. .focus ul {
  16. position: absolute;
  17. top: 0;
  18. left: 0;
  19. width: 600%;
  20. }
  21. .focus ul li {
  22. float: left;
  23. }
  24. .arrow-l,
  25. .arrow-r {
  26. display: none;
  27. position: absolute;
  28. top: 50%;
  29. margin-top: -20px;
  30. width: 24px;
  31. height: 40px;
  32. background: rgba(0, 0, 0, .3);
  33. text-align: center;
  34. line-height: 40px;
  35. color: #fff;
  36. font-family: 'icomoon';
  37. font-size: 18px;
  38. z-index: 2;
  39. }
  40. .arrow-r {
  41. right: 0;
  42. }
  43. .circle {
  44. position: absolute;
  45. bottom: 10px;
  46. left: 50px;
  47. }
  48. .circle li {
  49. float: left;
  50. width: 8px;
  51. height: 8px;
  52. /*background-color: #fff;*/
  53. border: 2px solid rgba(255, 255, 255, 0.5);
  54. margin: 0 3px;
  55. border-radius: 50%;
  56. /*鼠标经过显示小手*/
  57. cursor: pointer;
  58. }
  59. .current {
  60. background-color: #fff;
  61. }
  62. .newsflash {
  63. width: 250px;
  64. height: 455px;
  65. }
  66. .news {
  67. height: 163px;
  68. border: 1px solid #ccc;
  69. }
  70. .news-hd {
  71. height: 32px;
  72. /*dotted 点线 dashed 虚线*/
  73. border-bottom: 1px dotted #ccc;
  74. padding: 0 15px;
  75. font-size: 14px;
  76. line-height: 32px;
  77. }
  78. .news-hd a {
  79. float: right;
  80. font-size: 12px;
  81. font-family: 'icomoon';
  82. }
  83. .news-bd {
  84. padding: 10px 0 0 15px;
  85. }
  86. .news-bd li {
  87. height: 23px;
  88. }
  89. .lifeservice {
  90. overflow: hidden;
  91. height: 208px;
  92. border: 1px solid #ccc;
  93. border-top: none;
  94. }
  95. .lifeservice ul {
  96. width: 252px;
  97. }
  98. .lifeservice li {
  99. position: relative;
  100. float: left;
  101. width: 62px;
  102. height: 70px;
  103. border-right: 1px solid #ccc;
  104. border-bottom: 1px solid #ccc;
  105. }
  106. .lifeservice li a {
  107. display: block;
  108. /* overflow: hidden; 解决i 引起的 外边距塌陷合并的问题*/
  109. overflow: hidden;
  110. height: 100%;
  111. }
  112. .lifeservice li p {
  113. text-align: center;
  114. }
  115. .hot {
  116. position: absolute;
  117. right: 0;
  118. top: 0;
  119. width: 12px;
  120. height: 15px;
  121. background: url(../img/jian.jpg) no-repeat;
  122. }
  123. .service_ico {
  124. display: block;
  125. width: 24px;
  126. height: 24px;
  127. background: url(../img/icons.png) no-repeat;
  128. margin: 10px auto;
  129. }
  130. .service_ico_huafei {
  131. background-position: -17px -16px;
  132. }
  133. .service_ico_feiji {
  134. width: 26px;
  135. background-position: -78px -16px;
  136. }
  137. .bargain {
  138. height: 75px;
  139. margin-top: 5px;
  140. }
  141. /*推荐模块*/
  142. .recommend {
  143. height: 163px;
  144. margin-top: 10px;
  145. }
  146. .recom-hd {
  147. width: 200px;
  148. height: 163px;
  149. background-color: #5c5251;
  150. text-align: center;
  151. }
  152. .recom-hd img {
  153. margin: 30px 0 10px 0;
  154. }
  155. .recom-hd h3 {
  156. font-size: 18px;
  157. color: #fff;
  158. font-weight: normal;
  159. }
  160. .recom-bd {
  161. width: 1000px;
  162. height: 163px;
  163. background-color: #ebebeb;
  164. }
  165. .recom-bd li {
  166. float: left;
  167. width: 249px;
  168. height: 145px;
  169. border-right: 1px solid #ccc;
  170. margin-top: 10px;
  171. }
  172. .recom-bd .last {
  173. border-right: 0;
  174. }
  175. /*floor 楼层区*/
  176. .box-hd {
  177. height: 30px;
  178. border-bottom: 2px solid #c81623;
  179. margin-top: 25px;
  180. }
  181. .box-hd h3 {
  182. float: left;
  183. font-size: 18px;
  184. color: #c81623;
  185. }
  186. .tab-list {
  187. float: right;
  188. line-height: 30px;
  189. }
  190. .tab-list li {
  191. float: left;
  192. }
  193. .tab-list li a {
  194. margin: 0 15px;
  195. }
  196. .box-bd {
  197. height: 360px;
  198. }
  199. .w209 {
  200. width: 209px;
  201. background-color: #f9f9f9;
  202. }
  203. .w329 {
  204. width: 329px;
  205. }
  206. .w219 {
  207. width: 219px;
  208. border-right: 1px solid #ccc;
  209. }
  210. .w220 {
  211. width: 220px;
  212. border-right: 1px solid #ccc;
  213. }
  214. .tab-con li {
  215. float: left;
  216. height: 360px;
  217. }
  218. .tab-con-item {
  219. border-bottom: 1px solid #ccc;
  220. }
  221. .tab-con-list {
  222. overflow: hidden;
  223. margin-bottom: 15px;
  224. }
  225. .tab-con-list li {
  226. width: 86px;
  227. height: 32px;
  228. line-height: 32px;
  229. border-bottom: 1px solid #ccc;
  230. margin-left: 10px;
  231. text-align: center;
  232. }
  233. .box-bd li {
  234. overflow: hidden;
  235. }
  236. .box-bd img {
  237. /*过渡写到本身上, 谁做动画,给谁加*/
  238. transition: all .2s;
  239. }
  240. /*我们鼠标经过图片 往右走 8px*/
  241. .box-bd img:hover {
  242. margin-left: 8px;
  243. }
  244. /*电梯导航*/
  245. .fixedtool {
  246. position: fixed;
  247. top: 100px;
  248. left: 50%;
  249. margin-left: -676px;
  250. width: 66px;
  251. background-color: #fff;
  252. display: none;
  253. }
  254. .fixedtool li {
  255. height: 32px;
  256. line-height: 32px;
  257. text-align: center;
  258. font-size: 12px;
  259. border-bottom: 1px solid #ccc;
  260. cursor: pointer;
  261. }
  262. .fixedtool .current {
  263. background-color: #c81623;
  264. color: #fff;
  265. }