index.wxss 3.1 KB

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