index.less 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. .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.png')no-repeat;
  33. background-size: 100% 100%;
  34. .avatarL {
  35. top: 64rpx;
  36. left: 110rpx;
  37. }
  38. }
  39. .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. .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. .avatarR {
  53. top: 57rpx;
  54. left: 107rpx;
  55. }
  56. }
  57. .equalRight {
  58. background: url('http://reader-wx.ai160.com/images/reader/v3/pingyou.png')no-repeat;
  59. background-size: 100% 100%;
  60. }
  61. .avatar {
  62. position: absolute;
  63. width: 110rpx;
  64. height: 110rpx;
  65. border-radius: 50%;
  66. }
  67. .bodyTitle {
  68. font-size: 28rpx;
  69. padding: 0rpx 30rpx;
  70. box-sizing: border-box;
  71. margin-top: 190rpx;
  72. }
  73. .bodyScore {
  74. margin-top: 10rpx;
  75. font-size: 38rpx;
  76. font-weight: bold;
  77. }
  78. .bodyPlay {
  79. width: 70rpx;
  80. height: 70rpx;
  81. margin-top: 40rpx;
  82. }
  83. .progress {
  84. width: 250rpx;
  85. margin: 10rpx auto;
  86. border-radius: 50rpx;
  87. overflow: hidden;
  88. }
  89. .duration {
  90. margin: 10rpx auto;
  91. width: 100%;
  92. display: flex;
  93. align-items: center;
  94. justify-content: space-around;
  95. font-size: 28rpx;
  96. }
  97. }
  98. .footer {
  99. position: fixed;
  100. bottom: 0px;
  101. left: 0px;
  102. width: 100%;
  103. padding: 20rpx 104rpx;
  104. box-sizing: border-box;
  105. padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  106. background-color: white;
  107. display: flex;
  108. align-items: center;
  109. justify-content: space-between;
  110. .stBtn {
  111. padding: 16rpx 0rpx;
  112. text-align: center;
  113. border-radius: 50rpx;
  114. width: 220rpx;
  115. font-size: 30rpx;
  116. color: white;
  117. background-color: #66C5FF;
  118. box-shadow: 0 6px 14px 0 rgba(50, 197, 255, 0.65);
  119. }
  120. }
  121. }