MainCard.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. .ring_center {
  2. position: absolute;
  3. left: 0;
  4. top: 0;
  5. right: 0;
  6. bottom: 0;
  7. align-items: center;
  8. justify-content: center;
  9. display: flex;
  10. flex-direction: column;
  11. }
  12. .badge {
  13. width: 16px;
  14. height: 16px;
  15. border-radius: 8px;
  16. background-color: red;
  17. position: absolute;
  18. right: 20px;
  19. top: 10px;
  20. }
  21. .log_row {
  22. display: flex;
  23. flex-direction: row;
  24. align-items: center;
  25. justify-content: space-between;
  26. width: 652px;
  27. padding-bottom: 20px;
  28. margin-bottom: 20px;
  29. border-bottom: solid 2px #99999966;
  30. }
  31. .fast_log_btn {
  32. display: flex;
  33. height: 88px;
  34. border-radius: 44px;
  35. padding: 0 52px;
  36. align-items: center;
  37. justify-content: center;
  38. background-color: rgba(2, 182, 253, 0.2);
  39. color: #02B6FD;
  40. position: relative;
  41. }
  42. .fast_log_btn_disable {
  43. background-color: rgba(202, 202, 202, 0.2);
  44. color: #CACACA;
  45. }
  46. .fast_log_eat_btn {
  47. color: #FE810C;
  48. background-color: rgba(254, 129, 12, 0.2);
  49. }
  50. .schedule {
  51. display: flex;
  52. flex-direction: column;
  53. }
  54. .schedule_name {
  55. color: #CACACA;
  56. font-size: 24px;
  57. }
  58. .schedule_time {
  59. color: #818080;
  60. font-weight: bold;
  61. font-size: 40px;
  62. }
  63. .sticky {
  64. // position: sticky;
  65. width: 750px;
  66. height: 50px;
  67. background-color: red;
  68. top: 200px;
  69. left: 0;
  70. }
  71. .scroll-view {
  72. height: 100vh; // 使 ScrollView 填满整个视口
  73. }
  74. .content {}
  75. .sticky-view {
  76. // position: -webkit-sticky;
  77. /* Safari */
  78. // position: sticky;
  79. top: 0;
  80. background-color: white;
  81. padding: 10px;
  82. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  83. z-index: 10; // 确保在其他内容之上
  84. }
  85. .switch_btn {
  86. margin-top: 20px;
  87. margin-bottom: 20px;
  88. width: 72px;
  89. height: 72px;
  90. border-radius: 36px;
  91. display: flex;
  92. align-items: center;
  93. justify-content: center;
  94. box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.3);
  95. }
  96. .tabs{
  97. display: flex;
  98. flex-direction: row;
  99. align-items: center;
  100. justify-content: center;
  101. width: 750px;
  102. }
  103. .tab_item {
  104. width: 72px;
  105. height: 72px;
  106. border-radius: 36px;
  107. align-items: center;
  108. justify-content: center;
  109. }