index.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. .invite {
  2. width: 100%;
  3. min-height: 100vh;
  4. background: url('http://reader-wx.ai160.com/images/reader/bg1.jpg') no-repeat;
  5. background-size: contain;
  6. overflow: hidden;
  7. }
  8. .invite .ranking {
  9. position: absolute;
  10. top: 164rpx;
  11. right: 20rpx;
  12. width: 100rpx;
  13. height: 104rpx;
  14. z-index: 2;
  15. }
  16. .invite .strategy {
  17. position: absolute;
  18. top: 290rpx;
  19. right: 10rpx;
  20. width: 120rpx;
  21. height: 100rpx;
  22. z-index: 2;
  23. }
  24. .invite .body {
  25. position: relative;
  26. width: 100%;
  27. height: 10000rpx;
  28. margin-top: 700rpx;
  29. background: url('http://reader-wx.ai160.com/images/reader/bg2.jpg') no-repeat;
  30. background-size: cover;
  31. }
  32. .invite .body .pennant {
  33. position: absolute;
  34. width: 189rpx;
  35. height: 259rpx;
  36. }
  37. .invite .body .pennant .icon {
  38. width: 100%;
  39. height: 100%;
  40. }
  41. .invite .body .pennant .num {
  42. position: absolute;
  43. width: 100%;
  44. bottom: 40rpx;
  45. font-weight: bold;
  46. margin-left: 6rpx;
  47. text-align: center;
  48. font-size: 26rpx;
  49. color: #FFFFFF;
  50. }
  51. .invite .body .treasure {
  52. position: absolute;
  53. width: 250rpx;
  54. height: 262rpx;
  55. }
  56. .invite .body .always {
  57. position: absolute;
  58. width: 300rpx;
  59. height: 300rpx;
  60. top: 9650rpx;
  61. left: 180rpx;
  62. }
  63. .mediaBox {
  64. position: fixed;
  65. top: 0px;
  66. left: 0px;
  67. width: 100vw;
  68. height: 100vh;
  69. display: flex;
  70. justify-content: center;
  71. z-index: 3;
  72. background-color: rgba(0, 0, 0, 0.5);
  73. text-align: center;
  74. }
  75. .mediaBox .media {
  76. position: relative;
  77. top: 0;
  78. bottom: 0;
  79. margin: auto;
  80. width: 550rpx;
  81. height: 550rpx;
  82. }
  83. .mediaBox .media .body {
  84. position: relative;
  85. width: 100%;
  86. height: 100%;
  87. padding: 0rpx 50rpx;
  88. text-align: center;
  89. box-sizing: border-box;
  90. background-color: white;
  91. border-radius: 20rpx;
  92. }
  93. .mediaBox .media .body .inviteH {
  94. width: 210rpx;
  95. height: 187rpx;
  96. margin-top: -120rpx;
  97. }
  98. .mediaBox .media .body .title {
  99. margin: 36rpx 0rpx 32rpx;
  100. color: #8616B9;
  101. font-size: 40rpx;
  102. font-weight: bold;
  103. }
  104. .mediaBox .media .body .tips {
  105. margin: 20rpx 0;
  106. font-size: 30rpx;
  107. font-weight: 400;
  108. }
  109. .mediaBox .media .body .shareBtn {
  110. position: absolute;
  111. bottom: 40rpx;
  112. left: 0px;
  113. right: 0px;
  114. margin: auto;
  115. width: 380rpx;
  116. display: flex;
  117. align-items: center;
  118. justify-content: center;
  119. padding: 12rpx 0rpx;
  120. background: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%);
  121. box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(50, 197, 255, 0.46);
  122. border-radius: 34rpx;
  123. color: white;
  124. font-weight: bold;
  125. letter-spacing: 2px;
  126. font-size: 30rpx;
  127. }
  128. .mediaBox .media .body .shareBtn .shareImg {
  129. width: 36rpx;
  130. height: 32rpx;
  131. margin-right: 10rpx;
  132. }
  133. .mediaBox .media .close {
  134. margin: 50rpx 0;
  135. width: 60rpx;
  136. height: 60rpx;
  137. }
  138. .shake {
  139. animation: shakebox 3s linear infinite;
  140. }
  141. @keyframes shakebox {
  142. 0% {
  143. transform: translateZ(0);
  144. }
  145. 5% {
  146. transform: translate3d(5rpx, 5rpx, 0);
  147. }
  148. 15% {
  149. transform: translate3d(-5rpx, -5rpx, 0);
  150. }
  151. 25% {
  152. transform: translate3d(5rpx, 5rpx, 0);
  153. }
  154. 45% {
  155. transform: translate3d(-5rpx, -5rpx, 0);
  156. }
  157. 55% {
  158. transform: translate3d(5rpx, -5rpx, 0);
  159. }
  160. 65% {
  161. transform: translate3d(-5rpx, -5rpx, 0);
  162. }
  163. 80% {
  164. transform: translate3d(5rpx, 5rpx, 0);
  165. }
  166. 100% {
  167. transform: translate3d(-5rpx, -5rpx, 0);
  168. }
  169. }