index.wxss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. .container {
  2. background-color: #50AE75;
  3. width: 100vw;
  4. height: 100vh;
  5. overflow: hidden;
  6. }
  7. .container .scoreBox {
  8. width: 610rpx;
  9. margin: 80rpx auto 0rpx;
  10. }
  11. .container .scoreBox .lightBox {
  12. position: relative;
  13. height: 180rpx;
  14. }
  15. .container .scoreBox .lightBox .light {
  16. position: absolute;
  17. width: 360rpx;
  18. height: 180rpx;
  19. left: 0px;
  20. right: 0px;
  21. margin: auto;
  22. }
  23. .container .scoreBox .lightBox .stars {
  24. position: absolute;
  25. width: 62rpx;
  26. height: 62rpx;
  27. }
  28. .container .scoreBox .lightBox .stars-1 {
  29. top: 64rpx;
  30. left: 132rpx;
  31. }
  32. .container .scoreBox .lightBox .stars-2 {
  33. top: 25rpx;
  34. left: 198rpx;
  35. }
  36. .container .scoreBox .lightBox .stars-3 {
  37. top: 6rpx;
  38. left: 276rpx;
  39. }
  40. .container .scoreBox .lightBox .stars-4 {
  41. top: 25rpx;
  42. right: 198rpx;
  43. }
  44. .container .scoreBox .lightBox .stars-5 {
  45. top: 62rpx;
  46. right: 132rpx;
  47. }
  48. .container .scoreBox .score {
  49. position: relative;
  50. width: 100%;
  51. box-sizing: border-box;
  52. padding: 70rpx 40rpx 32rpx;
  53. border-radius: 18rpx;
  54. background-color: white;
  55. box-shadow: rgba(255, 255, 255, 0.15) 0px 6px 12px -2px, rgba(255, 255, 255, 0.1) 0px 3px 7px -3px;
  56. }
  57. .container .scoreBox .score .avatarBox {
  58. position: absolute;
  59. top: -72rpx;
  60. left: 0px;
  61. right: 0px;
  62. margin: 0 auto;
  63. width: 100rpx;
  64. height: 100rpx;
  65. padding: 16rpx;
  66. border-radius: 50%;
  67. background-color: white;
  68. font-size: 0px;
  69. }
  70. .container .scoreBox .score .avatarBox .avatar {
  71. width: 100%;
  72. height: 100%;
  73. border-radius: 50%;
  74. }
  75. .container .scoreBox .score .nickName {
  76. font-size: 36rpx;
  77. text-align: center;
  78. }
  79. .container .scoreBox .score .totalScore {
  80. display: flex;
  81. align-items: center;
  82. justify-content: center;
  83. margin-top: 26rpx;
  84. font-size: 42rpx;
  85. }
  86. .container .scoreBox .score .totalScore .num {
  87. color: #58C5FF;
  88. font-size: 42rpx;
  89. }
  90. .container .scoreBox .score .progressBox {
  91. margin-top: 50rpx;
  92. }
  93. .container .scoreBox .score .progressBox .row {
  94. display: flex;
  95. align-items: center;
  96. justify-content: space-between;
  97. margin-bottom: 42rpx;
  98. }
  99. .container .scoreBox .score .progressBox .row .name {
  100. font-size: 32rpx;
  101. width: 96rpx;
  102. }
  103. .container .scoreBox .score .progressBox .row .progress {
  104. width: 306rpx;
  105. border-radius: 20rpx;
  106. overflow: hidden;
  107. }
  108. .container .scoreBox .score .progressBox .row .scoreInfo {
  109. font-size: 27rpx;
  110. color: #666666;
  111. }
  112. .container .footer {
  113. width: 610rpx;
  114. padding: 50rpx 35rpx;
  115. box-sizing: border-box;
  116. margin: 40rpx auto;
  117. background-color: white;
  118. border-radius: 18rpx;
  119. box-shadow: rgba(50, 50, 93, 0.15) 0px 6px 12px -2px, rgba(0, 0, 0, 0.1) 0px 3px 7px -3px;
  120. display: flex;
  121. align-items: center;
  122. justify-content: space-between;
  123. }
  124. .container .footer .stBtn {
  125. padding: 16rpx 0rpx;
  126. text-align: center;
  127. border-radius: 50rpx;
  128. width: 220rpx;
  129. font-size: 30rpx;
  130. color: white;
  131. background-color: #66C5FF;
  132. box-shadow: 0 6px 14px 0 rgba(50, 197, 255, 0.65);
  133. }
  134. .uploadBox {
  135. position: fixed;
  136. top: 0px;
  137. left: 0px;
  138. width: 100%;
  139. height: 100%;
  140. background-color: rgba(255, 255, 255, 0);
  141. z-index: 999;
  142. }
  143. .uploadBox .upload {
  144. position: absolute;
  145. left: 0rpx;
  146. right: 0rpx;
  147. top: 30%;
  148. margin: auto;
  149. width: 293rpx;
  150. height: 293rpx;
  151. border-radius: 30rpx;
  152. color: white;
  153. background-color: rgba(0, 0, 0, 0.8);
  154. text-align: center;
  155. padding: 0rpx 38rpx;
  156. box-sizing: border-box;
  157. font-size: 30rpx;
  158. }
  159. .uploadBox .upload .speed {
  160. margin-top: 70rpx;
  161. }
  162. .uploadBox .upload .speedProgress {
  163. border-radius: 50rpx;
  164. overflow: hidden;
  165. margin: 18rpx 0rpx 60rpx;
  166. }
  167. .successBox {
  168. background-color: rgba(0, 0, 0, 0.438);
  169. }
  170. .successBox .success {
  171. width: 558rpx;
  172. height: 520rpx;
  173. position: absolute;
  174. left: 0rpx;
  175. right: 0rpx;
  176. top: 0rpx;
  177. bottom: 0px;
  178. margin: auto;
  179. border-radius: 30rpx;
  180. background-color: white;
  181. font-size: 30rpx;
  182. padding: 35rpx;
  183. box-sizing: border-box;
  184. text-align: center;
  185. font-size: 36rpx;
  186. }
  187. .successBox .success .icon {
  188. width: 100rpx;
  189. height: 100rpx;
  190. }
  191. .successBox .success .tips1 {
  192. margin: 16rpx 0rpx 34rpx;
  193. }
  194. .successBox .success .tips2 {
  195. margin-bottom: 15rpx;
  196. }
  197. .successBox .success .shareBtn {
  198. width: 280rpx;
  199. margin: 60rpx auto 0rpx;
  200. padding: 14rpx 0rpx;
  201. color: white;
  202. background-image: linear-gradient(270deg, #FC5556 0%, #F84041 100%, #14C962 100%);
  203. box-shadow: 0 6rpx 14rpx 0 rgba(251, 79, 80, 0.76);
  204. border-radius: 40rpx;
  205. }