index.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. list-style: none;
  5. text-decoration: none;
  6. box-sizing: border-box;
  7. }
  8. /* 头部排版 */
  9. #header {
  10. width: 100%;
  11. height: 72px;
  12. /* border-bottom: 2px solid #000; */
  13. box-shadow: 0px 2px 16px rgba(220, 220, 220, 0.5);
  14. }
  15. #header .container {
  16. width: 1200px;
  17. height: 100%;
  18. margin: 0 auto;
  19. }
  20. #header .container .left {
  21. width: 333px;
  22. height: 100%;
  23. float: left;
  24. line-height: 72px;
  25. }
  26. #header .container .left img {
  27. width: 92px;
  28. height: 42px;
  29. float: left;
  30. margin-top: 15px;
  31. }
  32. #header .container .left .address {
  33. width: 62px;
  34. height: 100%;
  35. float: left;
  36. margin-left: 54px;
  37. }
  38. #header .container .left .address .iconfont {
  39. font-size: 14px;
  40. float: left;
  41. }
  42. #header .container .left .address .city {
  43. font-size: 16px;
  44. color: #2d2d2d;
  45. float: left;
  46. margin-left: 3px;
  47. }
  48. #header .container .left .address img {
  49. width: 9px;
  50. height: 6px;
  51. float: left;
  52. margin-left: 3px;
  53. margin-top: 34px;
  54. }
  55. #header .container .left .nav {
  56. width: 100px;
  57. height: 100%;
  58. float: left;
  59. margin-left: 24px;
  60. }
  61. #header .container .left .nav a {
  62. font-size: 16px;
  63. color: #000;
  64. }
  65. #header .container .left .nav a:nth-child(1) {
  66. color: #ff1268;
  67. }
  68. #header .container .left .nav a:nth-child(2) {
  69. margin-left: 12px;
  70. }
  71. #header .container .left .nav a:nth-child(2):hover {
  72. color: #ff1268;
  73. }
  74. #header .container .right {
  75. width: 586px;
  76. height: 100%;
  77. float: right;
  78. }
  79. #header .container .right .search {
  80. width: 401px;
  81. height: 46px;
  82. background: #f8f8f8;
  83. margin-top: 13px;
  84. border-radius: 30px;
  85. float: left;
  86. }
  87. #header .container .right .search .logo {
  88. float: left;
  89. margin-left: 19px;
  90. margin-top: 11px;
  91. }
  92. #header .container .right .search .logo img {
  93. width: 17px;
  94. height: 18px;
  95. }
  96. #header .container .right .search input {
  97. float: left;
  98. width: 283px;
  99. height: 100%;
  100. border: none;
  101. padding: 0 13px;
  102. font-size: 16px;
  103. outline: none;
  104. background: #f8f8f8;
  105. }
  106. #header .container .right .search .btn {
  107. float: left;
  108. width: 82px;
  109. height: 100%;
  110. color: #fff;
  111. font-size: 16px;
  112. text-align: center;
  113. line-height: 46px;
  114. background-color: #ff1268;
  115. border-top-right-radius: 30px;
  116. border-bottom-right-radius: 30px;
  117. }
  118. #header .container .right .user {
  119. width: 164px;
  120. height: 100%;
  121. float: right;
  122. line-height: 72px;
  123. color: #000;
  124. font-size: 16px;
  125. }
  126. #header .container .right .user .my {
  127. float: left;
  128. margin-left: 33px;
  129. }
  130. #header .container .right .user .download {
  131. float: right;
  132. }
  133. #header .container .right .user .my span:nth-child(2):hover,
  134. .download span:nth-child(2):hover {
  135. color: #ff1268;
  136. }
  137. /* 主体样式 */
  138. #main {
  139. width: 100%;
  140. height: auto;
  141. }
  142. #main .container {
  143. width: 1200px;
  144. height: 1800px;
  145. margin: 0 auto;
  146. }
  147. #main .container .banner {
  148. width: 100%;
  149. height: 320px;
  150. }
  151. #main .container .type {
  152. width: 100%;
  153. height: 118px;
  154. margin-top: 15px;
  155. border: 1px solid #ebebeb;
  156. /* background: #fff; */
  157. }
  158. #main .container .type ul {
  159. overflow: hidden;
  160. }
  161. #main .container .type ul li {
  162. width: 119.8px;
  163. height: 72px;
  164. float: left;
  165. margin-top: 25px;
  166. text-align: center;
  167. }
  168. #main .container .type ul li div {
  169. width: 48px;
  170. height: 48px;
  171. margin: 0 auto;
  172. }
  173. #main .container .type ul li:nth-child(1) div {
  174. background: url("./images/type.png") 96px -8px;
  175. background-size: cover;
  176. }
  177. #main .container .type ul li:nth-child(2) div {
  178. background: url("./images/type.png") 96px -72px;
  179. background-size: cover;
  180. }
  181. #main .container .type ul li:nth-child(3) div {
  182. background: url("./images/type.png") 96px -131px;
  183. background-size: cover;
  184. }
  185. #main .container .type ul li:nth-child(4) div {
  186. background: url("./images/type.png") 96px -191px;
  187. background-size: cover;
  188. }
  189. #main .container .type ul li:nth-child(5) div {
  190. background: url("./images/type.png") 96px -247px;
  191. background-size: cover;
  192. }
  193. #main .container .type ul li:nth-child(6) div {
  194. background: url("./images/type.png") 96px -305px;
  195. background-size: cover;
  196. }
  197. #main .container .type ul li:nth-child(7) div {
  198. background: url("./images/type.png") 96px -364px;
  199. background-size: cover;
  200. }
  201. #main .container .type ul li:nth-child(8) div {
  202. background: url("./images/type.png") 96px -425px;
  203. background-size: cover;
  204. }
  205. #main .container .type ul li:nth-child(9) div {
  206. background: url("./images/type.png") 96px -483px;
  207. background-size: cover;
  208. }
  209. #main .container .type ul li:nth-child(10) div {
  210. background: url("./images/type.png") 96px -540px;
  211. background-size: cover;
  212. }
  213. #main .container .type ul li a {
  214. color: #000;
  215. font-size: 16px;
  216. }
  217. #main .container .type ul li a:hover {
  218. color: #ff1268;
  219. }
  220. #main .container .concert {
  221. width: 100%;
  222. height: 457px;
  223. margin-top: 15px;
  224. border: 1px solid #ebebeb;
  225. }
  226. #main .container .concert .content{
  227. width: 1160px;
  228. margin: 10px auto 0;
  229. }
  230. #main .container .concert .content .top {
  231. width: 100%;
  232. height: 40px;
  233. line-height: 40px;
  234. }
  235. #main .container .concert .content .top .title {
  236. float: left;
  237. font-size: 24px;
  238. color: #111;
  239. }
  240. #main .container .concert .content .top .more {
  241. float: right;
  242. font-size: 14px;
  243. color: #9B9B9B;
  244. }
  245. #main .container .concert .content .top .more:hover {
  246. color: #ff1268;
  247. }
  248. #main .container .concert .content .bottom {
  249. width: 100%;
  250. height: 360px;
  251. margin-top: 15px;
  252. }
  253. #main .container .concert .content .bottom .left {
  254. width: 270px;
  255. height: 360px;
  256. float: left;
  257. }
  258. #main .container .concert .content .bottom .left img {
  259. width: 100%;
  260. height: 100%;
  261. }
  262. #main .container .concert .content .bottom .right {
  263. width: 870px;
  264. height: 100%;
  265. float: right;
  266. }
  267. #main .container .concert .content .bottom .right .listItems {
  268. width: 273px;
  269. height: 160px;
  270. float: left;
  271. margin-left: 25px;
  272. }
  273. #main .container .concert .content .bottom .right .listItems:nth-child(1){
  274. margin-left: 0;
  275. }
  276. #main .container .concert .content .bottom .right .listItems:nth-child(4){
  277. margin-left: 0;
  278. margin-top: 40px;
  279. }
  280. #main .container .concert .content .bottom .right .listItems:nth-child(5){
  281. margin-top: 40px;
  282. }
  283. #main .container .concert .content .bottom .right .listItems:nth-child(6){
  284. margin-top: 40px;
  285. }
  286. #main .container .concert .content .bottom .right .listItems .pictures {
  287. width: 120px;
  288. height: 160px;
  289. float: left;
  290. }
  291. #main .container .concert .content .bottom .right .listItems .pictures img {
  292. width: 100%;
  293. height: 100%;
  294. }
  295. #main .container .concert .content .bottom .right .listItems .word {
  296. width: 138px;
  297. height: 160px;
  298. float: right;
  299. }
  300. #main .container .concert .content .bottom .right .listItems .word .tips {
  301. font-size: 14px;
  302. color: #4a4a4a;
  303. line-height: 20px;
  304. /* 强制不换行 */
  305. /* white-space: nowrap; */
  306. /* 溢出隐藏 */
  307. overflow: hidden;
  308. text-overflow: ellipsis;
  309. display: -webkit-box;
  310. -webkit-box-orient: vertical;
  311. -webkit-line-clamp: 2;
  312. }
  313. #main .container .concert .content .bottom .right .listItems .word .tips:hover {
  314. color: #FF1268;
  315. }
  316. #main .container .concert .content .bottom .right .listItems .word .desc {
  317. margin-top: 14px;
  318. font-size: 12px;
  319. color: #9B9B9B;
  320. }
  321. #main .container .concert .content .bottom .right .listItems .word .desc:hover {
  322. color: #FF1268;
  323. }
  324. #main .container .concert .content .bottom .right .listItems .word .date {
  325. margin-top: 4px;
  326. font-size: 12px;
  327. color: #9B9B9B;
  328. }
  329. #main .container .concert .content .bottom .right .listItems .word .date:hover {
  330. color: #FF1268;
  331. }
  332. #main .container .concert .content .bottom .right .listItems .word .price {
  333. margin-top: 40px;
  334. font-size: 16px;
  335. color: #FF1268;
  336. }
  337. #main .container .concert .content .bottom .right .listItems .word .price span {
  338. font-size: 12px;
  339. }