index.less 3.0 KB

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