index.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. .container {
  2. background-color: #50AE75;
  3. width: 100vw;
  4. height: 100vh;
  5. overflow: auto;
  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 .scoreBox .score .songBg {
  113. width: 100%;
  114. height: 644rpx;
  115. }
  116. .container .scoreBox .songScore {
  117. padding: 0;
  118. }
  119. .container .footer {
  120. width: 610rpx;
  121. padding: 50rpx 35rpx;
  122. box-sizing: border-box;
  123. margin: 40rpx auto;
  124. background-color: white;
  125. border-radius: 18rpx;
  126. box-shadow: rgba(50, 50, 93, 0.15) 0px 6px 12px -2px, rgba(0, 0, 0, 0.1) 0px 3px 7px -3px;
  127. display: flex;
  128. align-items: center;
  129. justify-content: space-between;
  130. }
  131. .container .footer .stBtn {
  132. padding: 16rpx 0rpx;
  133. text-align: center;
  134. border-radius: 50rpx;
  135. width: 220rpx;
  136. font-size: 30rpx;
  137. color: white;
  138. background-color: #66C5FF;
  139. box-shadow: 0 6px 14px 0 rgba(50, 197, 255, 0.65);
  140. }