index.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. }
  74. .body-win {
  75. background: url('https://reader-wx.ai160.com/images/reader/v3/win.png') no-repeat;
  76. background-size: 100% 100%;
  77. }
  78. .body-lose {
  79. background: url('https://reader-wx.ai160.com/images/reader/v3/lose.png') no-repeat;
  80. background-size: 100% 100%;
  81. }
  82. .body-equal {
  83. background: url('https://reader-wx.ai160.com/images/reader/v3/equal.png') no-repeat;
  84. background-size: 100% 100%;
  85. }
  86. .footer {
  87. width: 600rpx;
  88. margin-top: 96rpx;
  89. margin-bottom: 10%;
  90. display: flex;
  91. justify-content: space-between;
  92. align-items: center;
  93. .stBtn {
  94. position: relative;
  95. width: 267rpx;
  96. height: 70rpx;
  97. line-height: 70rpx;
  98. border-radius: 40rpx;
  99. .imgBtn {
  100. position: absolute;
  101. top: 0;
  102. left: 0;
  103. width: 100%;
  104. height: 100%;
  105. }
  106. .text {
  107. position: absolute;
  108. width: 100%;
  109. text-align: center;
  110. z-index: 2;
  111. font-size: 26rpx;
  112. font-weight: 500;
  113. color: #FFFFFF;
  114. letter-spacing: 2rpx;
  115. }
  116. }
  117. }
  118. }
  119. /* #share {
  120. left: 0;
  121. top: 0;
  122. } */