index.wxss 3.1 KB

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