index.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830
  1. /* header */
  2. .top {
  3. width: 100%;
  4. position: fixed;
  5. background: #fff;
  6. top: 0;
  7. z-index: 555;
  8. }
  9. .header {
  10. width: 94%;
  11. padding: 3%;
  12. display: flex;
  13. align-items: center;
  14. border-bottom: none;
  15. }
  16. .header div {
  17. float: left;
  18. position: relative;
  19. }
  20. .header .logo {
  21. width: .37rem;
  22. height: .23rem;
  23. }
  24. .header img {
  25. width: 100%;
  26. }
  27. .search {
  28. width: 2.7rem;
  29. height: .32rem;
  30. padding-left: .06rem;
  31. padding-right: .17rem;
  32. }
  33. .search img {
  34. width: 0.18rem;
  35. position: absolute;
  36. top: 0.07rem;
  37. left: 0.15rem;
  38. }
  39. .search input {
  40. width: 2.4rem;
  41. height: 100%;
  42. padding-left: 0.35rem;
  43. border: none;
  44. border-radius: .16rem;
  45. background-color: #f9f9f9;
  46. }
  47. .search input::-webkit-input-placeholder {
  48. font-size: .14rem;
  49. }
  50. .menu {
  51. width: .2rem;
  52. }
  53. .nav {
  54. width: 100%;
  55. overflow: auto;
  56. border-bottom: 0.01rem solid #EEEEEE;
  57. display: none;
  58. }
  59. .nav li {
  60. width: 20%;
  61. height: 0.44rem;
  62. float: left;
  63. display: flex;
  64. align-items: center;
  65. justify-content: center;
  66. }
  67. .nav li a {
  68. display: block;
  69. width: 100%;
  70. height: 100%;
  71. font-size: 0.16rem;
  72. text-align: center;
  73. line-height: 0.44rem;
  74. }
  75. /* right side bar */
  76. .warp-sidebar {
  77. display: none;
  78. width: 100%;
  79. height: 100%;
  80. position: fixed;
  81. top: 0.54rem;
  82. background-color: rgba(0, 0, 0, 0.7);
  83. z-index: 9999;
  84. }
  85. .sidebar {
  86. width: 2.56rem;
  87. height: calc(100% - 0.54rem);
  88. background: #fff;
  89. position: absolute;
  90. right: -2.56rem;
  91. overflow: auto;
  92. }
  93. .user-heade {
  94. height: 1.15rem;
  95. text-align: center;
  96. font-size: .18rem;
  97. font-weight: bold;
  98. background: #F9F9F9;
  99. }
  100. .user-heade div {
  101. width: 0.64rem;
  102. margin: auto;
  103. padding-top: .11rem;
  104. }
  105. .user-heade img {
  106. width: 100%;
  107. height: 100%;
  108. border-radius: 50%;
  109. }
  110. .user-heade p {
  111. margin-top: 0.05rem;
  112. }
  113. .sidebar-nav li {
  114. width: 100%;
  115. height: 0.435rem;
  116. font-size: 0.15rem;
  117. font-weight: bold;
  118. border-top: solid 0.01rem #EEEEEE;
  119. }
  120. .sidebar-nav li:last-child img {
  121. margin-left: 0.33rem;
  122. }
  123. .sidebar-nav li a {
  124. width: 100%;
  125. height: 100%;
  126. text-align: center;
  127. display: flex;
  128. align-items: center;
  129. justify-content: center;
  130. }
  131. .sidebar-nav li img {
  132. width: 0.18rem;
  133. margin-right: 0.12rem;
  134. }
  135. .sidebar>p {
  136. font-size: 0.14rem;
  137. color: #999999;
  138. text-align: center;
  139. padding: 0.15rem;
  140. border-top: 0.01rem solid #EEEEEE;
  141. }
  142. .sidebar>a {
  143. color: #fff;
  144. font-size: 0.18rem;
  145. display: flex;
  146. width: 100%;
  147. height: 0.45rem;
  148. align-items: center;
  149. justify-content: center;
  150. background: #FF9E33;
  151. transition: background-color .2s ease-in-out 0s;
  152. }
  153. /* slide */
  154. .warp-content {
  155. margin-top: 0.6rem;
  156. }
  157. .swiper-container {
  158. width: 100%;
  159. height: 100%;
  160. }
  161. .swiper-slide {
  162. font-size: 18px;
  163. display: -webkit-box;
  164. display: -ms-flexbox;
  165. display: -webkit-flex;
  166. display: flex;
  167. -webkit-box-pack: center;
  168. -ms-flex-pack: center;
  169. -webkit-justify-content: center;
  170. justify-content: center;
  171. -webkit-box-align: center;
  172. -ms-flex-align: center;
  173. -webkit-align-items: center;
  174. align-items: center;
  175. }
  176. .swiper-slide {
  177. width: 3.35rem;
  178. height: 1.4rem;
  179. margin-top: 0.05rem;
  180. }
  181. .swiper-slide-active {
  182. width: 3.35rem;
  183. height: 1.5rem;
  184. margin-top: 0rem;
  185. }
  186. .swiper-slide a {
  187. display: block;
  188. width: 100%;
  189. height: 100%;
  190. }
  191. .swiper-slide a img {
  192. height: 100%;
  193. width: 100%;
  194. border-radius: 0.05rem;
  195. }
  196. .swiper-pagination-bullet {
  197. background: #fff;
  198. opacity: 1;
  199. width: 0.08rem;
  200. height: 0.08rem;
  201. }
  202. .swiper-pagination-bullet-active {
  203. background: #51a7ff;
  204. }
  205. /* classified-nav */
  206. .classified-nav {
  207. display: flex;
  208. justify-content: space-around;
  209. padding: 0.25rem 0 0.1rem 0;
  210. border-bottom: 0.1rem solid #F9F9F9;
  211. }
  212. .classified-nav a {
  213. display: block;
  214. width: 0.5rem;
  215. font-size: 0.14rem;
  216. text-align: center;
  217. }
  218. .classified-nav a img {
  219. width: 0.3rem;
  220. display: block;
  221. margin: auto;
  222. margin-bottom: 0.08rem;
  223. }
  224. /* hot game */
  225. .hot-game .title,
  226. .new-game .title,
  227. .open-service .title {
  228. padding: 0.14rem 0.1rem;
  229. font-size: 0.16rem;
  230. }
  231. .hot-game .title img,
  232. .new-game .title img {
  233. width: 0.22rem;
  234. float: left;
  235. margin-right: 0.07rem;
  236. }
  237. .hot-game-list {
  238. display: flex;
  239. justify-content: space-around;
  240. margin: 0 0.05rem;
  241. }
  242. .hot-game-info {
  243. width: 1.11rem;
  244. color: #fff;
  245. text-align: center;
  246. border-radius: 0.05rem;
  247. }
  248. .hot-game-info a {
  249. color: #fff;
  250. }
  251. .hot-game-info:first-child {
  252. background: url(../../images/mobile/bg/yellow.png);
  253. background-size: 100% 100%;
  254. }
  255. .hot-game-info:nth-child(2) {
  256. background: url(../../images/mobile/bg/red.png);
  257. background-size: 100% 100%;
  258. }
  259. .hot-game-info:nth-child(3) {
  260. background: url(../../images/mobile/bg/purple.png);
  261. background-size: 100% 100%;
  262. }
  263. .hot-game-info img {
  264. width: 0.74rem;
  265. height: 0.74rem;
  266. margin-top: 0.14rem;
  267. margin-bottom: 0.05rem;
  268. border-radius: 0.15rem;
  269. }
  270. .hot-game-info h4 {
  271. font-size: 0.12rem;
  272. margin: auto;
  273. width: 0.74rem;
  274. height: 0.24rem;
  275. overflow: hidden;
  276. text-overflow: ellipsis;
  277. white-space: nowrap;
  278. }
  279. .hot-game-info p {
  280. font-size: 0.1rem;
  281. margin-bottom: 0.05rem;
  282. }
  283. .hot-game-info p span {
  284. padding: 0 0.04rem;
  285. }
  286. .hot-game-info .download a {
  287. color: #fff;
  288. font-size: 0.14rem;
  289. width: 100%;
  290. height: 0.3rem;
  291. align-items: center;
  292. display: flex;
  293. justify-content: center;
  294. }
  295. .more-hot-game {
  296. color: #BCBCBC;
  297. font-size: 0.14rem;
  298. display: block;
  299. text-align: center;
  300. padding: 0.18rem 1.4rem;
  301. border-bottom: 0.1rem solid #f9f9f9;
  302. }
  303. .more-hot-game img {
  304. width: 0.16rem;
  305. margin-left: 0.05rem;
  306. margin-top: 0.03rem;
  307. }
  308. /* new game && recommend game*/
  309. .new-game .title {
  310. overflow: auto;
  311. border-bottom: 0.01rem solid #F9F9F9;
  312. }
  313. .open-service .title {
  314. overflow: auto;
  315. }
  316. .new-game .title h4,
  317. .open-service .title h4 {
  318. float: left;
  319. }
  320. .new-game .title a,
  321. .open-service .title a {
  322. float: right;
  323. color: #BCBCBC;
  324. font-size: 0.14rem;
  325. }
  326. .new-game-list {
  327. display: flex;
  328. flex-wrap: wrap;
  329. justify-content: space-around;
  330. padding-top: 0.08rem;
  331. padding-bottom: 0.2rem;
  332. border-bottom: 0.1rem solid #F9F9F9;
  333. }
  334. .new-game-info {
  335. width: 25%;
  336. text-align: center;
  337. margin: 0.08rem 0;
  338. }
  339. .new-game-info img {
  340. width: 0.67rem;
  341. height: 0.67rem;
  342. margin-bottom: 0.12rem;
  343. }
  344. .new-game-info h4 {
  345. font-size: 0.15rem;
  346. margin: auto;
  347. width: 0.74rem;
  348. height: 0.24rem;
  349. overflow: hidden;
  350. text-overflow: ellipsis;
  351. white-space: nowrap;
  352. }
  353. .new-game-info p {
  354. text-align: center;
  355. font-size: 0.12rem;
  356. color: #999999;
  357. }
  358. .new-game-info p span {
  359. padding: 0 0.04rem;
  360. }
  361. .new-game-info .download a {
  362. display: flex;
  363. align-items: center;
  364. justify-content: center;
  365. width: 0.63rem;
  366. height: 0.28rem;
  367. color: #FF9A1C;
  368. font-size: 0.14rem;
  369. border: 0.01rem solid #FF9A1C;
  370. border-radius: 0.2rem;
  371. margin: auto;
  372. margin-top: 0.12rem;
  373. }
  374. /* rank list */
  375. .rank {
  376. border-bottom: 0.1rem solid #f9f9f9;
  377. }
  378. .top-three {
  379. background: url(../../images/mobile/bg/rank-bg.png);
  380. background-size: 100% 100%;
  381. }
  382. .top-three i {
  383. display: block;
  384. float: left;
  385. width: 5px;
  386. height: 16px;
  387. background: #fff;
  388. border-radius: 2px;
  389. margin: 0.05rem 0.1rem 0 0;
  390. }
  391. .top-three h4 {
  392. color: #fff;
  393. font-size: 0.16rem;
  394. padding: 0.1rem;
  395. }
  396. .top-three-list {
  397. display: flex;
  398. justify-content: space-around;
  399. margin: 0 0.05rem;
  400. align-items: flex-end;
  401. padding-bottom: 0.1rem;
  402. }
  403. .top-three-list h4 {
  404. color: #262626;
  405. font-size: 0.15rem;
  406. padding: 0 0.14rem;
  407. height: 0.22rem;
  408. margin: auto;
  409. overflow: hidden;
  410. text-overflow: ellipsis;
  411. white-space: nowrap;
  412. }
  413. .top-three-list p {
  414. font-size: 0.12rem;
  415. }
  416. .top-three-list .download a {
  417. display: block;
  418. color: #fff;
  419. font-size: 0.14rem;
  420. background: #FFB90F;
  421. width: 0.63rem;
  422. height: 0.28rem;
  423. margin: 0.08rem auto;
  424. line-height: 0.28rem;
  425. text-align: center;
  426. border-radius: 0.2rem;
  427. }
  428. .top-three-list p span {
  429. padding: 0 0.03rem;
  430. }
  431. .top-two-info {
  432. position: relative;
  433. width: 1.04rem;
  434. text-align: center;
  435. background: #FFFFFF;
  436. border-radius: 0.1rem;
  437. }
  438. .top-two-info .game-icon {
  439. width: 0.73rem;
  440. height: 0.73rem;
  441. margin: 0.15rem 0;
  442. }
  443. .top-two-info .rank-icon {
  444. position: absolute;
  445. width: 0.18rem;
  446. right: 0.03rem;
  447. top: 0.04rem;
  448. -webkit-transform: rotate(45deg);
  449. -moz-transform: rotate(45deg);
  450. filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=0.45);
  451. }
  452. .top-one-info {
  453. position: relative;
  454. width: 1.23rem;
  455. text-align: center;
  456. background: #FFFFFF;
  457. border-radius: 0.1rem;
  458. }
  459. .top-one-info .game-icon {
  460. width: 0.93rem;
  461. height: 0.93rem;
  462. margin-top: 0.15rem;
  463. margin-bottom: 0.08rem;
  464. }
  465. .top-one-info .rank-icon {
  466. position: absolute;
  467. width: 0.23rem;
  468. right: 0;
  469. top: 0;
  470. -webkit-transform: rotate(45deg);
  471. -moz-transform: rotate(45deg);
  472. filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=0.45);
  473. }
  474. .top-three-info {
  475. position: relative;
  476. width: 0.92rem;
  477. text-align: center;
  478. background: #FFFFFF;
  479. border-radius: 0.1rem;
  480. }
  481. .top-three-info .game-icon {
  482. width: 0.6rem;
  483. height: 0.6rem;
  484. margin: 0.15rem 0;
  485. }
  486. .top-three-info .rank-icon {
  487. position: absolute;
  488. width: 0.16rem;
  489. right: 0.05rem;
  490. top: 0.04rem;
  491. -webkit-transform: rotate(45deg);
  492. -moz-transform: rotate(45deg);
  493. filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=0.45);
  494. }
  495. .game-info {
  496. position: relative;
  497. margin: 0.1rem;
  498. display: flex;
  499. align-items: center;
  500. /* justify-content: space-between; */
  501. padding-bottom: 0.1rem;
  502. border-bottom: 0.01rem solid #EEEEEE;
  503. }
  504. .game-info:last-child {
  505. border-bottom: none;
  506. }
  507. .rankid {
  508. position: absolute;
  509. font-size: 0.15rem;
  510. color: #fff;
  511. left: 0;
  512. width: 0.55rem;
  513. height: 0.32rem;
  514. top: 0px;
  515. line-height: 0.25rem;
  516. padding-left: 0.05rem;
  517. font-family: ButterBody;
  518. background: linear-gradient(-40deg, transparent 62%, #FF9A1C 0%);
  519. background-size: 100% 100%;
  520. border-top-left-radius: 0.15rem;
  521. }
  522. .game-info img {
  523. width: 0.67rem;
  524. float: left;
  525. border-radius: 0.15rem;
  526. }
  527. .game-info .content {
  528. float: left;
  529. width: 2rem;
  530. height: 0.67rem;
  531. margin-left: 0.1rem;
  532. display: flex;
  533. flex-wrap: wrap;
  534. align-items: center;
  535. }
  536. .game-info .content h4 {
  537. padding: 0;
  538. font-size: 0.14rem;
  539. border-bottom: none;
  540. width: 100%;
  541. height: 0.25rem;
  542. overflow: hidden;
  543. text-overflow: ellipsis;
  544. white-space: nowrap;
  545. }
  546. .game-info .content p {
  547. width: 100%;
  548. color: #999999;
  549. font-size: 0.12rem;
  550. overflow: hidden;
  551. text-overflow: ellipsis;
  552. white-space: nowrap;
  553. }
  554. .game-info .content p span {
  555. padding: 0.04rem;
  556. }
  557. .game-info .download a,
  558. .game-info .order a {
  559. display: flex;
  560. align-items: center;
  561. justify-content: center;
  562. float: right;
  563. color: #FF9A1C;
  564. font-size: 0.14rem;
  565. background: #FFF;
  566. width: 0.63rem;
  567. height: 0.28rem;
  568. border: 0.01rem solid #FF9A1C;
  569. border-radius: 0.2rem;
  570. }
  571. /* open server */
  572. .open-service {
  573. border-bottom: 0.1rem solid #F9F9F9;
  574. }
  575. .open-service .title span {
  576. width: 5px;
  577. height: 16px;
  578. display: block;
  579. float: left;
  580. margin-top: 0.04rem;
  581. margin-right: 0.1rem;
  582. background: #FF9A1C;
  583. border-radius: 2px;
  584. }
  585. .highlight {
  586. color: #FFB50F !important;
  587. }
  588. .game-info .gift {
  589. width: 0.23rem;
  590. position: absolute;
  591. top: -7px;
  592. left: 0.5rem;
  593. }
  594. /* Game Category */
  595. .game-category {
  596. background: #F9F9F9;
  597. display: flex;
  598. flex-wrap: wrap;
  599. justify-content: space-between;
  600. padding: 0 0.1rem;
  601. }
  602. .game-category-list {
  603. width: 1.73rem;
  604. height: 0.93rem;
  605. display: flex;
  606. align-items: center;
  607. background: #fff;
  608. margin-bottom: 0.1rem;
  609. }
  610. .game-category-list img {
  611. width: 0.75rem;
  612. height: 0.75rem;
  613. margin-left: 0.13rem;
  614. }
  615. .game-category-list .content {
  616. margin-left: 0.2rem;
  617. }
  618. .game-category-list .content h4 {
  619. font-size: 0.18rem;
  620. margin-bottom: 0.24rem;
  621. }
  622. .game-category-list .content p {
  623. font-size: 0.12rem;
  624. color: #999999;
  625. }
  626. /* 6y app download */
  627. .app-download {
  628. padding: 0.1rem 0.2rem;
  629. display: flex;
  630. align-items: center;
  631. justify-content: space-between;
  632. border-bottom: 0.1rem solid #f9f9f9;
  633. }
  634. .app-download img {
  635. width: 0.31rem;
  636. }
  637. .app-download p {
  638. font-size: 0.15rem;
  639. font-weight: bold;
  640. }
  641. /* adv bottom */
  642. .adv-bottom {
  643. position: fixed;
  644. bottom: 0;
  645. width: 100%;
  646. color: #fff;
  647. padding: 0.1rem;
  648. background: rgba(0, 0, 0, 0.75);
  649. display: flex;
  650. align-items: center;
  651. z-index: 111;
  652. }
  653. .adv-bottom img {
  654. width: 0.4rem;
  655. margin-right: 0.1rem;
  656. }
  657. .adv-bottom a {
  658. display: block;
  659. width: 0.82rem;
  660. height: 0.28rem;
  661. line-height: 0.28rem;
  662. text-align: center;
  663. color: #fff;
  664. font-size: 0.14rem;
  665. background: #FF9E33;
  666. border-radius: 0.2rem;
  667. }
  668. .adv-bottom .close {
  669. width: 0.15rem;
  670. margin-left: 0.05rem;
  671. margin-top: -0.35rem;
  672. }
  673. .adv-bottom div {
  674. margin-right: 0.7rem;
  675. }
  676. .adv-bottom h4 {
  677. font-size: 0.15rem;
  678. }
  679. .adv-bottom p {
  680. font-size: 0.12rem;
  681. }
  682. /* footer */
  683. .footer {
  684. padding-top: 0.25rem;
  685. padding-bottom: 0.75rem;
  686. }
  687. .footer p,.bottom-link p {
  688. display: flex;
  689. justify-content: space-between;
  690. }
  691. .footer p:before, .bottom-link p:before, .footer p:after, .bottom-link p:after {
  692. content: '';
  693. display: block;
  694. }
  695. .bottom-link{
  696. padding-top: 0.25rem;
  697. }
  698. .bottom-link p a,
  699. .bottom-link p span {
  700. font-size: 0.14rem;
  701. font-weight: bold;
  702. }
  703. .footer .copyright a {
  704. font-size: 0.12rem;
  705. font-weight: normal;
  706. color: #B2B2B2;
  707. }