index.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. .pkResult {
  2. width: 100vw;
  3. height: 100vh;
  4. background: rgba(0, 0, 0, 0.8);
  5. overflow: hidden;
  6. display: flex;
  7. flex-direction: column;
  8. align-items: center;
  9. justify-content: center;
  10. }
  11. .pkResult .body {
  12. position: relative;
  13. width: 600rpx;
  14. height: 674rpx;
  15. }
  16. .pkResult .body .userBox {
  17. position: absolute;
  18. bottom: 0;
  19. padding-top: 140rpx;
  20. box-sizing: border-box;
  21. width: 300rpx;
  22. height: 514rpx;
  23. text-align: center;
  24. color: white;
  25. }
  26. .pkResult .body .userBox .avatar {
  27. width: 110rpx;
  28. height: 110rpx;
  29. background-color: white;
  30. border-radius: 50%;
  31. }
  32. .pkResult .body .userBox .bodyTitle {
  33. margin: 12rpx 0 4rpx;
  34. font-size: 27rpx;
  35. }
  36. .pkResult .body .userBox .bodyScore {
  37. font-size: 38rpx;
  38. font-weight: 600;
  39. letter-spacing: 3rpx;
  40. }
  41. .pkResult .body .userBox .duration {
  42. margin-top: 30rpx;
  43. box-sizing: border-box;
  44. }
  45. .pkResult .body .userBox .duration .bodyPlay {
  46. left: 26rpx;
  47. width: 70rpx;
  48. height: 70rpx;
  49. }
  50. .pkResult .body .userBox .duration .time {
  51. padding-bottom: 20rpx;
  52. display: flex;
  53. align-items: center;
  54. font-size: 28rpx;
  55. font-weight: 500;
  56. }
  57. .pkResult .body .left {
  58. left: 0;
  59. }
  60. .pkResult .body .left .duration {
  61. padding-left: 20rpx;
  62. text-align: left;
  63. }
  64. .pkResult .body .right {
  65. right: 0;
  66. padding-left: 70rpx;
  67. }
  68. .pkResult .body .right .duration {
  69. padding-right: 20rpx;
  70. text-align: right;
  71. }
  72. .pkResult .body .right .duration .time {
  73. justify-content: flex-end;
  74. }
  75. .pkResult .body .celebrate {
  76. position: absolute;
  77. left: 20rpx;
  78. top: -160rpx;
  79. width: 600rpx;
  80. height: 600rpx;
  81. }
  82. .pkResult .body-win {
  83. background: url('https://reader-wx.ai160.com/images/reader/v3/win.png') no-repeat;
  84. background-size: 100% 100%;
  85. }
  86. .pkResult .body-lose {
  87. background: url('https://reader-wx.ai160.com/images/reader/v3/lose.png') no-repeat;
  88. background-size: 100% 100%;
  89. }
  90. .pkResult .body-equal {
  91. background: url('https://reader-wx.ai160.com/images/reader/v3/equal.png') no-repeat;
  92. background-size: 100% 100%;
  93. }
  94. .pkResult .footer {
  95. width: 600rpx;
  96. margin-top: 96rpx;
  97. margin-bottom: 10%;
  98. display: flex;
  99. justify-content: center;
  100. align-items: center;
  101. }
  102. .pkResult .footer .stBtn {
  103. position: relative;
  104. width: 267rpx;
  105. height: 70rpx;
  106. line-height: 70rpx;
  107. border-radius: 40rpx;
  108. }
  109. .pkResult .footer .stBtn .imgBtn {
  110. position: absolute;
  111. top: 0;
  112. left: 0;
  113. width: 100%;
  114. height: 100%;
  115. }
  116. .pkResult .footer .stBtn .text {
  117. position: absolute;
  118. width: 100%;
  119. text-align: center;
  120. z-index: 2;
  121. font-size: 26rpx;
  122. font-weight: 500;
  123. color: #FFFFFF;
  124. letter-spacing: 2rpx;
  125. }
  126. /* #share {
  127. left: 0;
  128. top: 0;
  129. } */