index.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 .rl-avatar .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: 36rpx;
  78. }