index.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. .media {
  72. position: relative;
  73. margin-top: 240rpx;
  74. width: 550rpx;
  75. height: 550rpx;
  76. .close {
  77. position: absolute;
  78. right: -50rpx;
  79. top: -50rpx;
  80. width: 58rpx;
  81. height: 58rpx;
  82. }
  83. .body {
  84. position: relative;
  85. width: 100%;
  86. height: 100%;
  87. text-align: center;
  88. box-sizing: border-box;
  89. background-color: white;
  90. border-radius: 20rpx;
  91. .inviteH {
  92. width: 210rpx;
  93. height: 187rpx;
  94. margin-top: -120rpx;
  95. }
  96. .title {
  97. margin: 36rpx 0rpx 32rpx;
  98. color: #8616B9;
  99. font-size: 40rpx;
  100. font-weight: bold;
  101. }
  102. .tips {
  103. font-size: 30rpx;
  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. }
  131. }