index.less 3.2 KB

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