index.wxss 2.8 KB

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