index.less 2.5 KB

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