index.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. .body {
  11. position: relative;
  12. width: 600rpx;
  13. height: 674rpx;
  14. .userBox {
  15. position: absolute;
  16. bottom: 0;
  17. padding-top: 140rpx;
  18. box-sizing: border-box;
  19. width: 300rpx;
  20. height: 514rpx;
  21. text-align: center;
  22. color: white;
  23. .avatar {
  24. width: 110rpx;
  25. height: 110rpx;
  26. background-color: white;
  27. border-radius: 50%;
  28. }
  29. .bodyTitle {
  30. margin: 12rpx 0 4rpx;
  31. font-size: 27rpx;
  32. }
  33. .bodyScore {
  34. font-size: 38rpx;
  35. font-weight: 600;
  36. letter-spacing: 3rpx;
  37. }
  38. .duration {
  39. margin-top: 30rpx;
  40. box-sizing: border-box;
  41. .bodyPlay {
  42. left: 26rpx;
  43. width: 70rpx;
  44. height: 70rpx;
  45. }
  46. .time {
  47. padding-bottom: 20rpx;
  48. display: flex;
  49. align-items: center;
  50. font-size: 28rpx;
  51. font-weight: 500;
  52. }
  53. }
  54. }
  55. .left {
  56. left: 0;
  57. .duration {
  58. padding-left: 20rpx;
  59. text-align: left;
  60. }
  61. }
  62. .right {
  63. right: 0;
  64. padding-left: 70rpx;
  65. .duration {
  66. padding-right: 20rpx;
  67. text-align: right;
  68. .time {
  69. justify-content: flex-end;
  70. }
  71. }
  72. }
  73. .celebrate {
  74. position: absolute;
  75. left:20rpx;
  76. top: -160rpx;
  77. width: 600rpx;
  78. height: 600rpx;
  79. }
  80. }
  81. .body-win {
  82. background: url('https://reader-wx.ai160.com/images/reader/v3/win.png') no-repeat;
  83. background-size: 100% 100%;
  84. }
  85. .body-lose {
  86. background: url('https://reader-wx.ai160.com/images/reader/v3/lose.png') no-repeat;
  87. background-size: 100% 100%;
  88. }
  89. .body-equal {
  90. background: url('https://reader-wx.ai160.com/images/reader/v3/equal.png') no-repeat;
  91. background-size: 100% 100%;
  92. }
  93. .footer {
  94. width: 600rpx;
  95. margin-top: 96rpx;
  96. margin-bottom: 10%;
  97. display: flex;
  98. justify-content: space-between;
  99. align-items: center;
  100. .stBtn {
  101. position: relative;
  102. width: 267rpx;
  103. height: 70rpx;
  104. line-height: 70rpx;
  105. border-radius: 40rpx;
  106. .imgBtn {
  107. position: absolute;
  108. top: 0;
  109. left: 0;
  110. width: 100%;
  111. height: 100%;
  112. }
  113. .text {
  114. position: absolute;
  115. width: 100%;
  116. text-align: center;
  117. z-index: 2;
  118. font-size: 26rpx;
  119. font-weight: 500;
  120. color: #FFFFFF;
  121. letter-spacing: 2rpx;
  122. }
  123. }
  124. }
  125. }
  126. /* #share {
  127. left: 0;
  128. top: 0;
  129. } */