index.less 3.3 KB

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