index.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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: absolute;
  9. top: 164rpx;
  10. right: 20rpx;
  11. width: 100rpx;
  12. height: 104rpx;
  13. z-index: 2;
  14. }
  15. .strategy {
  16. position: absolute;
  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. font-weight: bold;
  43. margin-left: 6rpx;
  44. text-align: center;
  45. font-size: 26rpx;
  46. color: #FFFFFF;
  47. }
  48. }
  49. .treasure {
  50. position: absolute;
  51. width: 250rpx;
  52. height: 262rpx;
  53. }
  54. .always {
  55. position: absolute;
  56. width: 300rpx;
  57. height: 300rpx;
  58. top: 9650rpx;
  59. left: 180rpx;
  60. }
  61. }
  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. .media {
  75. position: relative;
  76. top: 0;
  77. bottom: 0;
  78. margin: auto;
  79. width: 550rpx;
  80. height: 550rpx;
  81. .body {
  82. position: relative;
  83. width: 100%;
  84. height: 100%;
  85. padding: 0rpx 50rpx;
  86. text-align: center;
  87. box-sizing: border-box;
  88. background-color: white;
  89. border-radius: 20rpx;
  90. .inviteH {
  91. width: 210rpx;
  92. height: 187rpx;
  93. margin-top: -120rpx;
  94. }
  95. .title {
  96. margin: 36rpx 0rpx 32rpx;
  97. color: #8616B9;
  98. font-size: 40rpx;
  99. font-weight: bold;
  100. }
  101. .tips {
  102. margin: 20rpx 0;
  103. font-size: 30rpx;
  104. font-weight: 400;
  105. }
  106. .shareBtn {
  107. position: absolute;
  108. bottom: 40rpx;
  109. left: 0px;
  110. right: 0px;
  111. margin: auto;
  112. width: 380rpx;
  113. display: flex;
  114. align-items: center;
  115. justify-content: center;
  116. padding: 12rpx 0rpx;
  117. background: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%);
  118. box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(50, 197, 255, 0.46);
  119. border-radius: 34rpx;
  120. color: white;
  121. font-weight: bold;
  122. letter-spacing: 2px;
  123. font-size: 30rpx;
  124. .shareImg {
  125. width: 36rpx;
  126. height: 32rpx;
  127. margin-right: 10rpx;
  128. }
  129. }
  130. }
  131. .close {
  132. margin: 50rpx 0;
  133. width: 60rpx;
  134. height: 60rpx;
  135. }
  136. }
  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. }