index.less 4.0 KB

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