index.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. .scroll {
  2. position: sticky;
  3. min-width: 100vw;
  4. height: 130rpx;
  5. background-color: #ffffff;
  6. top: 120rpx;
  7. z-index: 9;
  8. .box {
  9. display: flex;
  10. padding-left: 30rpx;
  11. .parallel {
  12. position: relative;
  13. height: 64rpx;
  14. background: #EEEEEE;
  15. border-radius: 8rpx;
  16. transform: skew(-8deg, 0);
  17. margin-top: 20rpx;
  18. box-sizing: border-box;
  19. padding: 0 10rpx;
  20. margin-right: 20rpx;
  21. .mian {
  22. display: flex;
  23. align-items: center;
  24. min-width: 180rpx;
  25. height: 100%;
  26. transform: skew(8deg, 0);
  27. .label {
  28. flex: 1;
  29. font-size: 24rpx;
  30. font-family: PingFang SC-Regular, PingFang SC;
  31. color: #666666;
  32. margin: 0 10rpx;
  33. text-align: center;
  34. }
  35. .schedule {
  36. flex-shrink: 0;
  37. padding: 0 10rpx;
  38. height: 40rpx;
  39. line-height: 40rpx;
  40. background: #FFFFFF;
  41. border-radius: 20rpx;
  42. font-size: 20rpx;
  43. font-family: PingFang SC-Regular, PingFang SC;
  44. color: #666666;
  45. }
  46. }
  47. .circle {
  48. position: absolute;
  49. width: 16rpx;
  50. height: 16rpx;
  51. background-color: #ffffff;
  52. border: 4rpx solid;
  53. border-radius: 50%;
  54. bottom: -26rpx;
  55. left: 50%;
  56. margin-left: -8rpx;
  57. transform: skew(8deg, 0);
  58. box-sizing: border-box;
  59. z-index: 9;
  60. .line {
  61. position: absolute;
  62. height: 4rpx;
  63. background-color: #CCCCCC;
  64. top: 50%;
  65. left: 12rpx;
  66. margin-top: -2rpx;
  67. }
  68. }
  69. }
  70. .view-index {
  71. background-color: #E7EEFF;
  72. .mian {
  73. .label {
  74. color: #3874F6;
  75. }
  76. }
  77. }
  78. .active {
  79. background-color: #3874F6;
  80. .mian {
  81. .label {
  82. color: #FFFFFF;
  83. }
  84. .schedule {
  85. background: #FFFFFF;
  86. color: #3874F6;
  87. }
  88. }
  89. }
  90. }
  91. }
  92. .start {
  93. display: flex;
  94. align-items: center;
  95. justify-content: space-between;
  96. width: 750rpx;
  97. height: 90rpx;
  98. padding: 0 30rpx;
  99. box-sizing: border-box;
  100. .title {
  101. font-size: 30rpx;
  102. font-family: PingFang SC-Bold, PingFang SC;
  103. font-weight: bold;
  104. color: #333333;
  105. }
  106. .but {
  107. width: 208rpx;
  108. height: 60rpx;
  109. background: #3874F6;
  110. border-radius: 30rpx;
  111. font-size: 24rpx;
  112. font-family: PingFang SC-Regular, PingFang SC;
  113. color: #FFFFFF;
  114. }
  115. }