index.wxss 2.5 KB

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