index.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. .pkResult {
  2. width: 100vw;
  3. height: 100vh;
  4. background-color: #2B2859;
  5. overflow: hidden;
  6. }
  7. .pkResult .title {
  8. margin: 85rpx 0rpx 34rpx;
  9. color: white;
  10. text-align: center;
  11. font-size: 46rpx;
  12. }
  13. .pkResult .time {
  14. font-size: 34rpx;
  15. text-align: center;
  16. color: white;
  17. }
  18. .pkResult .body {
  19. position: relative;
  20. width: 720rpx;
  21. height: 640rpx;
  22. margin: 60rpx auto;
  23. background-image: radial-gradient(50% 102%, #5171BD 1%, #21287A 100%);
  24. box-shadow: 0 4rpx 10rpx 0 rgba(0, 0, 0, 0.3), inset 0 -2rpx 3rpx 0 #052552, inset 0 2rpx 3rpx 0;
  25. border-radius: 20rpx;
  26. text-align: center;
  27. box-sizing: border-box;
  28. }
  29. .pkResult .body .left {
  30. position: absolute;
  31. top: 30rpx;
  32. left: 30rpx;
  33. height: 500rpx;
  34. width: 328rpx;
  35. background: url('http://reader-wx.ai160.com/images/reader/v3/victory-1.png') no-repeat;
  36. background-size: 100% 100%;
  37. }
  38. .pkResult .body .left .avatarL {
  39. top: 66rpx;
  40. left: 110rpx;
  41. }
  42. .pkResult .body .equal {
  43. top: 70rpx !important;
  44. background: url('http://reader-wx.ai160.com/images/reader/v3/pingzuo.png') no-repeat;
  45. background-size: 100% 100%;
  46. }
  47. .pkResult .body .right {
  48. position: absolute;
  49. top: 70rpx;
  50. right: 30rpx;
  51. height: 500rpx;
  52. width: 328rpx;
  53. background: url('http://reader-wx.ai160.com/images/reader/v3/defeated.png') no-repeat;
  54. background-size: 100% 100%;
  55. }
  56. .pkResult .body .right .avatarR {
  57. top: 59rpx;
  58. left: 107rpx;
  59. }
  60. .pkResult .body .equalRight {
  61. background: url('http://reader-wx.ai160.com/images/reader/v3/pingyou.png') no-repeat;
  62. background-size: 100% 100%;
  63. }
  64. .pkResult .body .equalRight .avatarR {
  65. top: 64rpx;
  66. left: 122rpx;
  67. }
  68. .pkResult .body .avatar {
  69. position: absolute;
  70. width: 110rpx;
  71. height: 110rpx;
  72. border-radius: 50%;
  73. }
  74. .pkResult .body .bodyTitle {
  75. font-size: 28rpx;
  76. padding: 0rpx 30rpx;
  77. box-sizing: border-box;
  78. margin-top: 190rpx;
  79. }
  80. .pkResult .body .bodyScore {
  81. margin-top: 10rpx;
  82. font-size: 38rpx;
  83. font-weight: bold;
  84. }
  85. .pkResult .body .bodyPlay {
  86. width: 70rpx;
  87. height: 70rpx;
  88. margin-top: 40rpx;
  89. }
  90. .pkResult .body .progress {
  91. width: 250rpx;
  92. margin: 10rpx auto;
  93. border-radius: 50rpx;
  94. overflow: hidden;
  95. }
  96. .pkResult .body .duration {
  97. margin: 10rpx auto;
  98. width: 100%;
  99. display: flex;
  100. align-items: center;
  101. justify-content: space-around;
  102. font-size: 28rpx;
  103. }
  104. .pkResult .footer {
  105. position: fixed;
  106. bottom: 0px;
  107. left: 0px;
  108. width: 100%;
  109. padding: 20rpx 104rpx;
  110. box-sizing: border-box;
  111. padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  112. background-color: white;
  113. display: flex;
  114. align-items: center;
  115. justify-content: space-between;
  116. }
  117. .pkResult .footer .btn {
  118. padding: 16rpx 0rpx;
  119. text-align: center;
  120. border-radius: 50rpx;
  121. width: 220rpx;
  122. font-size: 30rpx;
  123. color: white;
  124. background-color: #F84041;
  125. box-shadow: 0 6rpx 14rpx 0 rgba(251, 79, 80, 0.76);
  126. }
  127. .pkResult .footer .stBtn {
  128. padding: 16rpx 0rpx;
  129. text-align: center;
  130. border-radius: 50rpx;
  131. width: 220rpx;
  132. font-size: 30rpx;
  133. color: white;
  134. background-color: #66C5FF;
  135. box-shadow: 0 6px 14px 0 rgba(50, 197, 255, 0.65);
  136. }