game.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. page {
  2. height: 100vh;
  3. overflow: hidden;
  4. }
  5. .bg {
  6. position: relative;
  7. width: 100vw;
  8. top: 0;
  9. left: 0;
  10. }
  11. .gamecontent {
  12. position: fixed;
  13. width: 100%;
  14. top: 0;
  15. }
  16. .gameinfo {
  17. padding-top: 28rpx;
  18. padding-bottom: 114rpx;
  19. display: flex;
  20. align-items: center;
  21. justify-content: center;
  22. flex-direction: column;
  23. }
  24. .gameinfo .user {
  25. margin-bottom: 30rpx;
  26. display: flex;
  27. align-items: center;
  28. justify-content: center;
  29. }
  30. .gameinfo .icon {
  31. width: 90rpx;
  32. height: 90rpx;
  33. margin-right: 37rpx;
  34. border-radius: 50%;
  35. border: 5rpx solid #FFFFFF;
  36. }
  37. .gameinfo .name {
  38. font-size: 36rpx;
  39. color: #FFFFFF;
  40. }
  41. .gameinfo .title {
  42. width: 560rpx;
  43. height: 107rpx;
  44. }
  45. .game {
  46. position: relative;
  47. display: flex;
  48. align-items: center;
  49. justify-content: center;
  50. height: 235rpx;
  51. }
  52. .game image {
  53. width: 210rpx;
  54. height: 210rpx;
  55. border-radius: 30rpx;
  56. position: absolute;
  57. }
  58. .game .bg {
  59. position: absolute;
  60. left: 50%;
  61. top: 25rpx;
  62. transform: translateX(-50%);
  63. width: 220rpx;
  64. height: 220rpx;
  65. border-radius: 50%;
  66. background-color: #FFFFFF;
  67. }
  68. .name {
  69. font-size: 48rpx;
  70. color: #FFFFFF;
  71. line-height: 67rpx;
  72. text-align: center;
  73. font-weight: 700;
  74. margin-top: 13rpx;
  75. margin-bottom: 18rpx;
  76. }
  77. .des {
  78. font-size: 32rpx;
  79. line-height: 45rpx;
  80. color: #FFFFFF;
  81. text-align: center;
  82. margin-top: 38rpx;
  83. margin-bottom: 77rpx;
  84. max-height: 135rpx;
  85. overflow: hidden;
  86. display: -webkit-box;
  87. -webkit-box-orient: vertical;
  88. -webkit-line-clamp: 3;
  89. }
  90. .play {
  91. width: 603rpx;
  92. height: 96rpx;
  93. border-radius: 100rpx;
  94. display: flex;
  95. margin: 0 auto;
  96. font-size: 34rpx;
  97. font-weight: 700;
  98. color: #3D95FC;
  99. align-items: center;
  100. justify-content: center;
  101. background-color: #FFFFFF;
  102. }
  103. .tomore {
  104. font-size: 32rpx;
  105. color: #FFFFFF;
  106. display: block;
  107. text-align: center;
  108. margin-top: 70rpx;
  109. text-decoration: underline;
  110. }
  111. /* ������� */
  112. .redPackMask {
  113. width: 100vw;
  114. position: fixed;
  115. top: 0;
  116. z-index: 100;
  117. height: 100vh;
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. background-color: rgba(0, 0, 0, 0.6);
  122. }
  123. .redPackMask .content {
  124. width: 521rpx;
  125. height: 694rpx;
  126. opacity: 0;
  127. transition: all 300ms;
  128. transform: scale(0.6);
  129. }
  130. .redPackMask .packAnimation {
  131. opacity: 1;
  132. height: 634rpx;
  133. transform: scale(1);
  134. }
  135. .redPackMask .bg {
  136. width: 100%;
  137. height: 100%;
  138. }
  139. .redPackMask .info {
  140. position: absolute;
  141. width: 100%;
  142. height: 100%;
  143. top: 0;
  144. left: 0;
  145. }
  146. .info2 {
  147. display: flex;
  148. flex-direction: column;
  149. align-items: center;
  150. }
  151. .info2 text {
  152. color: #EBCD9A;
  153. }
  154. .info2_avatar {
  155. width: 98rpx;
  156. height: 98rpx;
  157. border-radius: 16rpx;
  158. margin-top: 38rpx;
  159. margin-bottom: 18rpx;
  160. }
  161. .info2_title {
  162. font-size: 36rpx;
  163. line-height: 50rpx;
  164. margin-bottom: 27rpx;
  165. }
  166. .info2_des {
  167. font-size: 26rpx;
  168. line-height: 37rpx;
  169. margin-bottom: 17rpx;
  170. }
  171. .info2_text {
  172. line-height: 62rpx;
  173. font-size: 44rpx;
  174. margin-bottom: 36rpx;
  175. }
  176. .info2_open {
  177. width: 166rpx;
  178. height: 166rpx;
  179. border-radius: 50%;
  180. overflow: hidden;
  181. }
  182. .info2_open image {
  183. width: 100%;
  184. height: 100%;
  185. }
  186. .info1 {
  187. padding-top: 248rpx;
  188. display: flex;
  189. flex-direction: column;
  190. align-items: center;
  191. }
  192. .info1 text {
  193. color: #EBCD9A;
  194. }
  195. .info1_top {
  196. line-height: 67rpx;
  197. font-size: 48rpx;
  198. }
  199. .info1_des {
  200. color: #EBCD9A;
  201. margin-top: 20rpx;
  202. margin-bottom: 77rpx;
  203. line-height: 45rpx;
  204. font-size: 32rpx;
  205. }
  206. .info1_des text {
  207. font-size: 40rpx;
  208. }
  209. .info1_tips {
  210. line-height: 30rpx;
  211. font-size: 22rpx;
  212. }
  213. .info1_save {
  214. background: #EBCD9A;
  215. border-radius: 8rpx;
  216. position: absolute;
  217. bottom: 42rpx;
  218. width: 404rpx;
  219. height: 84rpx;
  220. font-size: 30rpx;
  221. color: #333333;
  222. font-weight: 700;
  223. letter-spacing: 1.07px;
  224. display: flex;
  225. align-items: center;
  226. justify-content: center;
  227. }