style.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. @charset "UTF-8";
  2. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite,
  3. code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
  4. fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure,
  5. figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, textarea, button,
  6. ::after, ::before {
  7. margin: 0;
  8. padding: 0;
  9. border: 0;
  10. outline: none;
  11. font-style: normal;
  12. -webkit-box-sizing: border-box;
  13. box-sizing: border-box;
  14. -webkit-touch-callout: none;
  15. -webkit-user-select: none;
  16. -webkit-tap-highlight-color: transparent;
  17. }
  18. html, body {
  19. width: 100%;
  20. font-family: "PingFang SC", Helvetica, Arial, sans-serif;
  21. -webkit-user-select: none; /*文本不能被选择*/
  22. -moz-user-select: none;
  23. -ms-user-select: none;
  24. user-select: none;
  25. -webkit-text-size-adjust: 100% !important; /*阻止文字被放大*/
  26. -moz-text-size-adjust: 100% !important;
  27. -ms-text-size-adjust: 100% !important;
  28. text-size-adjust: 100% !important;
  29. -webkit-font-smoothing: antialiased; /*抗锯齿*/
  30. }
  31. body {
  32. background-color: #fff;
  33. overflow-x: hidden;
  34. overflow-y: auto;
  35. font-size: initial;
  36. height: 100%;
  37. }
  38. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  39. display: block;
  40. }
  41. a, button, em, del, strong, var, label, cite, small, time, mark, code {
  42. display: inline-block;
  43. color: inherit;
  44. }
  45. a, a:visited, a:active, a:hover {
  46. text-decoration: none;
  47. outline: 0;
  48. }
  49. img {
  50. display: block;
  51. width: 100%;
  52. height: auto;
  53. }
  54. ol, ul, li {
  55. list-style: none;
  56. }
  57. input, button, textarea {
  58. background-color: rgba(0, 0, 0, 0);
  59. }
  60. input, textarea {
  61. min-width: .1rem;
  62. border-radius: 0;
  63. -webkit-user-select: auto;
  64. -moz-user-select: auto;
  65. -ms-user-select: auto;
  66. user-select: auto;
  67. -webkit-appearance: none;
  68. -moz-appearance: none;
  69. appearance: none;
  70. }
  71. textarea {
  72. resize: none;
  73. display: block;
  74. }
  75. label, textarea, .word-wrap {
  76. word-wrap: break-word;
  77. word-break: break-all;
  78. }
  79. input::-webkit-input-placeholder {
  80. color: #bbb;
  81. }
  82. blockquote, q {
  83. quotes: none;
  84. }
  85. blockquote:before, blockquote:after, q:before, q:after {
  86. content: '';
  87. content: none;
  88. }
  89. table {
  90. border-collapse: collapse;
  91. border-spacing: 0;
  92. }
  93. .clearfix:after {
  94. content: ' ';
  95. display: block;
  96. clear: both;
  97. visibility: hidden;
  98. line-height: 0;
  99. height: 0;
  100. }
  101. ::-webkit-scrollbar {
  102. display: none;
  103. }
  104. /* reset end */
  105. /* 首页 */
  106. html {
  107. height: 100%;
  108. }
  109. body {
  110. min-height: 100%;
  111. background: url('../images/bg_rp.jpg') repeat-y;
  112. background-size: 100%;
  113. position: relative;
  114. }
  115. .page {
  116. position: relative;
  117. min-height: 100%;
  118. }
  119. .index-page::before {
  120. content: ' ';
  121. position: absolute;
  122. bottom: 0;
  123. left: 0;
  124. width: 100%;
  125. height: 4.36rem;
  126. background: url('../images/bottom.png') no-repeat;
  127. background-size: cover;
  128. z-index: 2;
  129. }
  130. .index-page .page-body {
  131. position: absolute;
  132. top: 0;
  133. left: 0;
  134. width: 100%;
  135. height: 100%;
  136. z-index: 5;
  137. padding-top: 32%;
  138. }
  139. .index-page .rule {
  140. position: absolute;
  141. top: 2.3%;
  142. right: 3.3%;
  143. width: 1.46rem;
  144. height: auto;
  145. z-index: 2;
  146. }
  147. .index-page .btn {
  148. width: 4.58rem;
  149. margin: 0 auto;
  150. -webkit-animation: ripple 3s infinite;
  151. animation: ripple 3s infinite;
  152. }
  153. @-webkit-keyframes ripple {
  154. 0% {
  155. -webkit-transform: scale(1);
  156. transform: scale(1)
  157. }
  158. 50% {
  159. -webkit-transform: scale(1.1);
  160. transform: scale(1.1)
  161. }
  162. 100% {
  163. -webkit-transform: scale(1);
  164. transform: scale(1)
  165. }
  166. }
  167. @keyframes ripple {
  168. 0% {
  169. -webkit-transform: scale(1);
  170. transform: scale(1)
  171. }
  172. 50% {
  173. -webkit-transform: scale(1.1);
  174. transform: scale(1.1)
  175. }
  176. 100% {
  177. -webkit-transform: scale(1);
  178. transform: scale(1)
  179. }
  180. }
  181. .index-page .detail {
  182. position: relative;
  183. z-index: 3;
  184. margin-top: 11%;
  185. }
  186. .index-page .title {
  187. width: 1.16rem;
  188. margin: 0 auto .18rem;
  189. }
  190. .index-page .ls-box {
  191. width: 5.4rem;
  192. height: 3.3rem;
  193. margin: 0 auto;
  194. background: #fff0e8;
  195. border: 1px solid #e60b11;
  196. border-radius: 2px;
  197. position: relative;
  198. -webkit-box-shadow: 0 0 18px 2px rgba(122, 0, 9, .7);
  199. box-shadow: 0 0 18px 2px rgba(122, 0, 9, .7);
  200. }
  201. .index-page .icon1 {
  202. position: absolute;
  203. top: 0;
  204. left: 0;
  205. width: .62rem;
  206. z-index: 2;
  207. }
  208. .index-page .icon2 {
  209. left: initial;
  210. right: 0;
  211. -webkit-transform: rotate(90deg);
  212. transform: rotate(90deg);
  213. }
  214. .index-page .ls-box ul {
  215. padding: 0 .26rem;
  216. -webkit-box-sizing: border-box;
  217. box-sizing: border-box;
  218. }
  219. .index-page .ls-box ul li {
  220. display: -webkit-box;
  221. display: -webkit-flex;
  222. display: -ms-flexbox;
  223. display: flex;
  224. -webkit-box-align: center;
  225. -webkit-align-items: center;
  226. -ms-flex-align: center;
  227. align-items: center;
  228. -webkit-box-pack: justify;
  229. -webkit-justify-content: space-between;
  230. -ms-flex-pack: justify;
  231. justify-content: space-between;
  232. border-bottom: 1px dashed #acacac;
  233. height: .8rem;
  234. font-size: 0;
  235. }
  236. .index-page .ls-box ul span {
  237. font-size: .24rem;
  238. color: #530006;
  239. vertical-align: middle;
  240. }
  241. .index-page .ls-box ul span:first-child {
  242. margin-right: .12rem;
  243. max-width: 4.2em;
  244. white-space: nowrap;
  245. overflow: hidden;
  246. text-overflow: ellipsis;
  247. display: inline-block;
  248. }
  249. .index-page .ls-box .ls-title {
  250. -webkit-box-flex: 1;
  251. -webkit-flex: 1;
  252. -ms-flex: 1;
  253. flex: 1;
  254. }
  255. .index-page .ls-box .ls-text {
  256. font-size: .24rem;
  257. color: #dd0d1d;
  258. padding-left: .1rem;
  259. }
  260. /* 填写信息 */
  261. .mask,
  262. .luck-mask,
  263. .rule-mask,
  264. .info-dialog {
  265. -webkit-transition: all .3s;
  266. transition: all .3s;
  267. }
  268. .mask,
  269. .luck-mask,
  270. .rule-mask {
  271. position: fixed;
  272. top: 0;
  273. left: 0;
  274. right: 0;
  275. bottom: 0;
  276. background: rgba(0, 0, 0, .7);
  277. z-index: -1;
  278. opacity: 0;
  279. visibility: hidden;
  280. }
  281. .info-dialog {
  282. position: fixed;
  283. top: 27%;
  284. left: 50%;
  285. width: 6rem;
  286. height: 5.2rem;
  287. margin-left: -3rem;
  288. background: url('../images/info_bg.jpg') no-repeat;
  289. background-size: 100% 100%;
  290. z-index: -1;
  291. border-radius: 2px;
  292. overflow: hidden;
  293. opacity: 0;
  294. visibility: hidden;
  295. -webkit-transform: scale(.8);
  296. transform: scale(.8);
  297. }
  298. .info-dialog h2 {
  299. font-size: .36rem;
  300. color: #dd0d1d;
  301. text-align: center;
  302. line-height: 1;
  303. padding: .4rem 0 .56rem;
  304. }
  305. .info-dialog .form {
  306. padding: 0 .5rem;
  307. }
  308. .info-dialog label {
  309. display: -webkit-box;
  310. display: -webkit-flex;
  311. display: -ms-flexbox;
  312. display: flex;
  313. -webkit-box-align: center;
  314. -webkit-align-items: center;
  315. -ms-flex-align: center;
  316. align-items: center;
  317. margin-bottom: .4rem;
  318. }
  319. .info-dialog label span {
  320. font-size: .26rem;
  321. color: #000;
  322. }
  323. .info-dialog input {
  324. -webkit-box-flex: 1;
  325. -webkit-flex: 1;
  326. -ms-flex: 1;
  327. flex: 1;
  328. border: 1px solid #333;
  329. height: .6rem;
  330. border-radius: .6rem;
  331. line-height: .4rem;
  332. font-size: .28rem;
  333. color: #333;
  334. padding-left: .28rem;
  335. }
  336. .btns {
  337. font-size: 0;
  338. text-align: center;
  339. margin-top: .5rem;
  340. }
  341. .btns span {
  342. display: inline-block;
  343. vertical-align: middle;
  344. width: 1.8rem;
  345. line-height: .6rem;
  346. border-radius: .6rem;
  347. text-align: center;
  348. font-size: .24rem;
  349. color: #fff;
  350. background: #c8c8c8;
  351. margin: 0 .2rem;
  352. }
  353. .btns span:last-child {
  354. background: #dd0d1d;
  355. }
  356. .show.mask {
  357. opacity: 1;
  358. visibility: visible;
  359. z-index: 20;
  360. }
  361. .show.info-dialog {
  362. opacity: 1;
  363. visibility: visible;
  364. -webkit-transform: scale(1);
  365. transform: scale(1);
  366. z-index: 33;
  367. }
  368. /* 中奖弹窗 */
  369. .luck-dialog {
  370. position: absolute;
  371. top: 0;
  372. left: 0;
  373. width: 100%;
  374. height: 100%;
  375. z-index: 38;
  376. text-align: center;
  377. padding-top: 58%;
  378. }
  379. .luck-dialog h1 {
  380. font-size: .64rem;
  381. color: #ffe100;
  382. margin-bottom: .2rem;
  383. }
  384. .luck-dialog h3 {
  385. font-size: .36rem;
  386. color: #ffe100;
  387. margin-bottom: .4rem;
  388. }
  389. .luck-dialog label {
  390. width: 6.5rem;
  391. display: inline-block;
  392. position: relative;
  393. }
  394. .luck-dialog input,
  395. .luck-dialog select {
  396. width: 78%;
  397. height: .8rem;
  398. display: block;
  399. font-size: .26rem;
  400. line-height: .4rem;
  401. background: #fff;
  402. border-radius: .1rem;
  403. margin: 0 auto .4rem;
  404. text-align: left;
  405. padding-left: .3rem;
  406. }
  407. .luck-dialog select {
  408. width: 25.2%;
  409. text-align: center;
  410. margin-bottom: .1rem;
  411. display: inline-block;
  412. }
  413. .luck-dialog .dialog-btn {
  414. width: 4.7rem;
  415. margin: 0 auto;
  416. font-size: .3rem;
  417. line-height: .8rem;
  418. border-radius: .8rem;
  419. color: #dd0d1d;
  420. background: #ffe100;
  421. }
  422. .luck-dialog .btn1 {
  423. color: #dd0d1d;
  424. background: #fff0e8;
  425. }
  426. .show.luck-mask,
  427. .show.rule-mask {
  428. opacity: 1;
  429. visibility: visible;
  430. z-index: 35;
  431. }
  432. .rule-mask {
  433. padding-top: 24%;
  434. }
  435. .rule-dialog {
  436. width: 6rem;
  437. height: 8.8rem;
  438. background: url('../images/rule_bg.jpg') no-repeat;
  439. background-size: 100% 100%;
  440. border-radius: 2px;
  441. overflow: hidden;
  442. margin: 0 auto;
  443. }
  444. .rule-dialog .dialog-title {
  445. font-size: .36rem;
  446. color: #dd0d1d;
  447. text-align: center;
  448. padding: .4rem 0 .3rem;
  449. }
  450. .rule-content {
  451. padding: 0 .3rem;
  452. font-size: .24rem;
  453. color: #333;
  454. }
  455. .close {
  456. position: absolute;
  457. top: 6.8%;
  458. right: 6.8%;
  459. width: .5rem;
  460. z-index: 99;
  461. }
  462. .hide {
  463. display: none !important;
  464. }