index.wxss 2.3 KB

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