chapter-course.module.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. min-width: 266px;
  5. max-width: 266px;
  6. height: 100vh;
  7. color: #333;
  8. font-size: 12px;
  9. box-sizing: border-box;
  10. background: #fff;
  11. }
  12. .pointHead {
  13. display: flex;
  14. align-items: center;
  15. padding: 16px 0 12px 0;
  16. margin: 0 14px 0 14px;
  17. flex-shrink: 0;
  18. font-size: 14px;
  19. font-weight: 500;
  20. border-bottom: 1px solid #f2f2f2;
  21. img {
  22. width: 16px;
  23. height: 16px;
  24. margin-right: 7px;
  25. }
  26. }
  27. .content {
  28. position: relative;
  29. flex: 1;
  30. overflow-x: hidden;
  31. overflow-y: auto;
  32. padding: 12px 14px 12px 36px;
  33. &::-webkit-scrollbar {
  34. width: 0;
  35. display: none;
  36. }
  37. .list {
  38. position: relative;
  39. &::before {
  40. content: '';
  41. position: absolute;
  42. width: 0;
  43. height: 100%;
  44. top: 0;
  45. bottom: 0;
  46. left: -10px;
  47. border-left: 2px dashed #dbdbdb;
  48. }
  49. }
  50. .item {
  51. position: relative;
  52. margin-bottom: 8px;
  53. h2 {
  54. font-size: 18px;
  55. color: #333333;
  56. line-height: 21px;
  57. font-family: DINAlternate-Bold, DINAlternate;
  58. span {
  59. font-size: 12px;
  60. }
  61. }
  62. h3 {
  63. position: relative;
  64. padding-top: 2px;
  65. font-family: DINAlternate, DINAlternate;
  66. font-size: 14px;
  67. color: #777777;
  68. line-height: 16px;
  69. &::before {
  70. content: '';
  71. position: absolute;
  72. left: -12px;
  73. top: 50%;
  74. margin-top: -3px;
  75. width: 6px;
  76. height: 6px;
  77. background: #AAAAAA;
  78. border-radius: 50%;
  79. }
  80. }
  81. .item_inner {
  82. position: relative;
  83. background: #ffffff;
  84. border-radius: 6px;
  85. border: 2px solid #f2f2f2;
  86. padding: 10px;
  87. margin: 4px 0;
  88. &.active {
  89. border: 2px solid #daecff;
  90. background: #f2f8ff;
  91. :global {
  92. .van-notice-bar {
  93. color: #1CACF1;
  94. }
  95. }
  96. }
  97. .currentImg {
  98. position: absolute;
  99. top: 5px;
  100. right: 5px;
  101. width: 30px;
  102. height: 16px;
  103. }
  104. .title {
  105. max-width: 165px;
  106. }
  107. :global {
  108. .van-notice-bar {
  109. height: 18px;
  110. background: transparent;
  111. padding: 0;
  112. font-size: 13px;
  113. font-weight: 600;
  114. color: #333;
  115. }
  116. }
  117. .timers {
  118. padding-top: 6px;
  119. display: flex;
  120. align-items: center;
  121. font-size: 12px;
  122. color: #777777;
  123. line-height: 17px;
  124. .courseTimer {
  125. width: 18px;
  126. height: 18px;
  127. margin-right: 2px;
  128. padding-top: 0px;
  129. }
  130. }
  131. }
  132. }
  133. }