index.wxss 2.5 KB

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