index.wxss 2.7 KB

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