index.less 4.0 KB

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