index.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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-win {
  76. background: url('https://reader-wx.ai160.com/images/reader/v3/win.png') no-repeat;
  77. background-size: 100% 100%;
  78. }
  79. .pkResult .body-lose {
  80. background: url('https://reader-wx.ai160.com/images/reader/v3/lose.png') no-repeat;
  81. background-size: 100% 100%;
  82. }
  83. .pkResult .body-equal {
  84. background: url('https://reader-wx.ai160.com/images/reader/v3/equal.png') no-repeat;
  85. background-size: 100% 100%;
  86. }
  87. .pkResult .footer {
  88. width: 600rpx;
  89. margin-top: 96rpx;
  90. margin-bottom: 10%;
  91. display: flex;
  92. justify-content: space-between;
  93. align-items: center;
  94. }
  95. .pkResult .footer .stBtn {
  96. position: relative;
  97. width: 267rpx;
  98. height: 70rpx;
  99. line-height: 70rpx;
  100. border-radius: 40rpx;
  101. }
  102. .pkResult .footer .stBtn .imgBtn {
  103. position: absolute;
  104. top: 0;
  105. left: 0;
  106. width: 100%;
  107. height: 100%;
  108. }
  109. .pkResult .footer .stBtn .text {
  110. position: absolute;
  111. width: 100%;
  112. text-align: center;
  113. z-index: 2;
  114. font-size: 26rpx;
  115. font-weight: 500;
  116. color: #FFFFFF;
  117. letter-spacing: 2rpx;
  118. }
  119. /* #share {
  120. left: 0;
  121. top: 0;
  122. } */