index.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. .pkResult {
  2. width: 100vw;
  3. height: 100vh;
  4. background: rgba(0, 0, 0, 0.8);
  5. overflow: hidden;
  6. display: flex;
  7. flex-direction: column;
  8. align-items: center;
  9. justify-content: center;
  10. }
  11. .pkResult .body {
  12. position: relative;
  13. width: 600rpx;
  14. height: 674rpx;
  15. background: url('https://reader-wx.ai160.com/images/reader/v3/win.png') no-repeat;
  16. background-size: 100% 100%;
  17. }
  18. .pkResult .body .userBox {
  19. position: absolute;
  20. bottom: 0;
  21. padding-top: 140rpx;
  22. box-sizing: border-box;
  23. width: 300rpx;
  24. height: 514rpx;
  25. text-align: center;
  26. color: white;
  27. }
  28. .pkResult .body .userBox .avatar {
  29. width: 110rpx;
  30. height: 110rpx;
  31. background-color: white;
  32. border-radius: 50%;
  33. }
  34. .pkResult .body .userBox .bodyTitle {
  35. margin: 12rpx 0 4rpx;
  36. font-size: 27rpx;
  37. }
  38. .pkResult .body .userBox .bodyScore {
  39. font-size: 38rpx;
  40. font-weight: 600;
  41. letter-spacing: 3rpx;
  42. }
  43. .pkResult .body .userBox .duration {
  44. margin-top: 30rpx;
  45. box-sizing: border-box;
  46. }
  47. .pkResult .body .userBox .duration .bodyPlay {
  48. left: 26rpx;
  49. width: 70rpx;
  50. height: 70rpx;
  51. }
  52. .pkResult .body .userBox .duration .time {
  53. padding-bottom: 20rpx;
  54. display: flex;
  55. align-items: center;
  56. font-size: 28rpx;
  57. font-weight: 500;
  58. }
  59. .pkResult .body .left {
  60. left: 0;
  61. }
  62. .pkResult .body .left .duration {
  63. padding-left: 20rpx;
  64. text-align: left;
  65. }
  66. .pkResult .body .right {
  67. right: 0;
  68. padding-left: 70rpx;
  69. background-color: rgba(255, 166, 0, 0.212);
  70. }
  71. .pkResult .body .right .duration {
  72. padding-right: 20rpx;
  73. text-align: right;
  74. }
  75. .pkResult .body .right .duration .time {
  76. justify-content: flex-end;
  77. }
  78. .pkResult .footer {
  79. width: 600rpx;
  80. margin-top: 96rpx;
  81. margin-bottom: 10%;
  82. display: flex;
  83. justify-content: space-between;
  84. align-items: center;
  85. }
  86. .pkResult .footer .stBtn {
  87. position: relative;
  88. width: 267rpx;
  89. height: 70rpx;
  90. line-height: 70rpx;
  91. border-radius: 40rpx;
  92. }
  93. .pkResult .footer .stBtn .imgBtn {
  94. position: absolute;
  95. top: 0;
  96. left: 0;
  97. width: 100%;
  98. height: 100%;
  99. }
  100. .pkResult .footer .stBtn .text {
  101. position: absolute;
  102. width: 100%;
  103. text-align: center;
  104. z-index: 2;
  105. font-size: 26rpx;
  106. font-weight: 500;
  107. color: #FFFFFF;
  108. letter-spacing: 2rpx;
  109. }