index.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. .pkBox {
  2. height: 100vh;
  3. display: flex;
  4. flex-direction: column;
  5. }
  6. .pkBox .pkRecord {
  7. flex: 1;
  8. display: flex;
  9. flex-direction: column;
  10. overflow: hidden;
  11. margin-top: 20rpx;
  12. }
  13. .pkBox .pkRecord .title {
  14. position: relative;
  15. padding: 0px 60rpx;
  16. font-size: 32rpx;
  17. }
  18. .pkBox .pkRecord .title::before {
  19. position: absolute;
  20. left: 30rpx;
  21. top: 4rpx;
  22. width: 10rpx;
  23. height: 90%;
  24. background-color: #4CC4FF;
  25. content: '';
  26. border-radius: 50rpx;
  27. }
  28. .pkBox .pkRecord .scrollBox {
  29. height: 100%;
  30. margin-top: 20rpx;
  31. padding: 0rpx 26rpx 60rpx;
  32. box-sizing: border-box;
  33. border-top-left-radius: 20rpx;
  34. border-top-right-radius: 20rpx;
  35. background-color: white;
  36. }
  37. .pkBox .pkRecord .scrollBox .record {
  38. display: flex;
  39. align-items: center;
  40. justify-content: space-between;
  41. padding: 32rpx 0rpx;
  42. border-bottom: 2rpx solid #DDDDDD;
  43. }
  44. .pkBox .pkRecord .scrollBox .record .record-left {
  45. display: flex;
  46. align-items: center;
  47. justify-content: space-between;
  48. }
  49. .pkBox .pkRecord .scrollBox .record .record-left .avatar {
  50. width: 64rpx;
  51. height: 64rpx;
  52. border-radius: 50%;
  53. background-color: #e4e1e1;
  54. }
  55. .pkBox .pkRecord .scrollBox .record .record-left .rl-info {
  56. margin-left: 20rpx;
  57. }
  58. .pkBox .pkRecord .scrollBox .record .record-left .rl-info .nickName {
  59. font-size: 30rpx;
  60. }
  61. .pkBox .pkRecord .scrollBox .record .record-left .rl-info .time {
  62. margin-top: 6rpx;
  63. font-size: 20rpx;
  64. }
  65. .pkBox .pkRecord .scrollBox .record .record-right {
  66. display: flex;
  67. align-items: center;
  68. justify-content: space-between;
  69. }
  70. .pkBox .pkRecord .scrollBox .record .record-right .score {
  71. font-size: 34rpx;
  72. color: #30C866;
  73. }
  74. .pkBox .pkRecord .scrollBox .record .record-right .play {
  75. margin: 0rpx 10rpx 0rpx 26rpx;
  76. width: 40rpx;
  77. height: 40rpx;
  78. }
  79. .pkBox .footer {
  80. position: fixed;
  81. bottom: 0px;
  82. left: 0px;
  83. width: 100%;
  84. padding: 50rpx 104rpx;
  85. box-sizing: border-box;
  86. z-index: 9;
  87. background-color: #ffffff;
  88. display: flex;
  89. align-items: center;
  90. justify-content: center;
  91. }
  92. .pkBox .footer .stBtn {
  93. padding: 16rpx 0rpx;
  94. text-align: center;
  95. border-radius: 50rpx;
  96. width: 220rpx;
  97. font-size: 30rpx;
  98. color: white;
  99. background-color: #66C5FF;
  100. box-shadow: 0 6px 14px 0 rgba(50, 197, 255, 0.65);
  101. }