layout.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. html, body {
  2. width: 100%;
  3. height: 100%;
  4. }
  5. body {
  6. -webkit-overflow-scrolling: touch;
  7. }
  8. * {
  9. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  10. -webkit-tap-highlight-color: transparent;
  11. }
  12. img {
  13. display: block;
  14. width: 100%;
  15. }
  16. .body_bg {
  17. background: url(../images/body_bg.jpg) no-repeat #0e1438;
  18. background-size: 100% 100%;
  19. }
  20. .titlePic {
  21. width: 88%;
  22. margin: 0 auto 1rem auto;
  23. padding-top: 2rem;
  24. }
  25. .titlePic img {
  26. display: block;
  27. width: 100%;
  28. }
  29. .zpbox {
  30. width: 88%;
  31. margin: auto;
  32. }
  33. .ly-plate {
  34. width: 88vw;
  35. height: 88vw;
  36. margin: auto;
  37. position: relative;
  38. }
  39. .rotate-bg {
  40. width: 100%;
  41. height: 100%;
  42. background: url(../images/djlq_03.png) no-repeat;
  43. background-size: 100%;
  44. z-index: 1;
  45. text-indent: -9999px;
  46. }
  47. .rotate-bg-one {
  48. width: 100%;
  49. height: 100%;
  50. background: url(../images/djlq_03.png) no-repeat;
  51. position: absolute;
  52. left: 0;
  53. top: 0;
  54. right: 0;
  55. z-index: 2;
  56. text-indent: -9999px;
  57. background-size: 100%;
  58. }
  59. .rotate-bg-two {
  60. width: 100%;
  61. height: 100%;
  62. background: url(../images/dj_03.png) no-repeat;
  63. position: absolute;
  64. left: 0;
  65. top: 0;
  66. right: 0;
  67. z-index: 2;
  68. text-indent: -9999px;
  69. background-size: 100%;
  70. }
  71. .ly-plate div.lottery-star {
  72. width: 6.5rem;
  73. height: 12.75rem;
  74. position: absolute;
  75. top: 50%;
  76. left: 50%;
  77. z-index: 3;
  78. margin-left: -3.25rem;
  79. margin-top: -6.37rem;
  80. }
  81. .ly-plate div.lottery-star .lotteryBtn {
  82. position: relative;
  83. z-index: 3;
  84. }
  85. .ly-plate div.lottery-star img {
  86. display: block;
  87. width: 100%;
  88. }
  89. .ly-plate div.lottery-star .start-btn {
  90. width: 6.5rem;
  91. height: 6.5rem;
  92. position: absolute;
  93. top: 50%;
  94. left: 50%;
  95. margin-left: -3.25rem;
  96. margin-top: -3.4rem;
  97. }
  98. .ly-plate div.lottery-star .start-btn img {
  99. display: block;
  100. width: 100%;
  101. }
  102. .ruleBox {
  103. position: relative;
  104. border: 1px #e60012 solid;
  105. border-radius: 8px;
  106. width: 88%;
  107. padding: 1rem;
  108. color: #FFF;
  109. margin: 6vh auto;
  110. box-sizing: border-box;
  111. }
  112. .ruleBox em {
  113. display: inline-block;
  114. background: url(../images/icon_pack.png) no-repeat;
  115. width: 2rem;
  116. height: 2rem;
  117. background-size: 100%;
  118. }
  119. .ruleBox em.lt {
  120. position: absolute;
  121. top: -0.5rem;
  122. left: -0.5rem;
  123. }
  124. .ruleBox em.rt {
  125. position: absolute;
  126. top: -0.5rem;
  127. right: -0.5rem;
  128. transform: rotate(-90deg);
  129. }
  130. .ruleBox h2 {
  131. font-size: 1rem;
  132. }
  133. .ruleBox ul li {
  134. font-size: 0.75rem;
  135. margin-top: 0.5rem;
  136. }
  137. /*弹层*/
  138. .layer {
  139. position: fixed;
  140. top: 0;
  141. left: 0;
  142. width: 100%;
  143. height: 100%;
  144. z-index: 10;
  145. }
  146. .mask {
  147. position: absolute;
  148. left: 0px;
  149. width: 100%;
  150. height: 100%;
  151. background: rgba(0, 0, 0, 0.5);
  152. }
  153. .layer .info {
  154. width: 80%;
  155. margin: auto;
  156. position: absolute;
  157. left: 10%;
  158. top: 50%;
  159. transform: translate(0, -50%);
  160. z-index: 10;
  161. }
  162. .layer .info em {
  163. display: inline-block;
  164. background: url(../images/pop_03.png) no-repeat;
  165. width: 1.25rem;
  166. height: 2.6rem;
  167. background-size: 100%;
  168. }
  169. .layer .info em.lt {
  170. position: absolute;
  171. top: 1.6rem;
  172. left: -1.25rem;
  173. }
  174. .layer .info em.rt {
  175. position: absolute;
  176. top: 1.6rem;
  177. right: -1.25rem;
  178. transform: rotate(180deg);
  179. }
  180. .layer .info h2 {
  181. width: 100%;
  182. height: 3rem;
  183. line-height: 3rem;
  184. background: #ea362a;
  185. text-align: center;
  186. font-size: 1.8rem;
  187. color: #FFF;
  188. border-radius: 8px 8px 0 0;
  189. }
  190. .layer .info .text {
  191. background: #FFF;
  192. padding: 1rem;
  193. min-height: 4rem;
  194. border-radius: 0 0 8px 8px;
  195. font-size: 1rem;
  196. }
  197. .layer .info input {
  198. display: block;
  199. width: 50%;
  200. height: 2.3rem;
  201. line-height: 2.3rem;
  202. border-radius: 20px;
  203. background: #fde73a;
  204. text-align: center;
  205. margin: 2rem auto 0 auto;
  206. font-size: 1.3rem;
  207. color: #cd410a;
  208. border: none;
  209. appearance: none;
  210. -webkit-appearance: none;
  211. box-shadow: 0 4px 0 #ecae0f;
  212. }
  213. .layer .info input:active {
  214. background: #e2ce32;
  215. }
  216. .nochange .info {
  217. border-radius: 8px;
  218. background: white;
  219. }
  220. .nochange .info h3 {
  221. width: 100%;
  222. height: 3rem;
  223. line-height: 3rem;
  224. background: #ea362a;
  225. text-align: center;
  226. font-size: 1rem;
  227. color: #FFF;
  228. margin-top: 2rem;
  229. }
  230. .nochange .info input {
  231. margin: 1rem auto 0 auto;
  232. }
  233. /*.dialog {position: fixed;top: 2rem;left: 0;right: 0;width: 100%;color: white;display: flex;align-content: center;justify-content: center;flex-direction: column;z-index: 10000;}
  234. .dialog-drawed {background: url("../images/bg-drawed.png") no-repeat; background-size: 100% 100%}
  235. .dialog-nochance {background: url("../images/bg-nochange.png") no-repeat; background-size: 100% 100%}
  236. */