chapter.module.less 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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 10px 12px 13px;
  16. flex-shrink: 0;
  17. font-size: 14px;
  18. img {
  19. width: 16px;
  20. height: 16px;
  21. margin-right: 7px;
  22. }
  23. }
  24. .content {
  25. flex: 1;
  26. overflow-x: hidden;
  27. overflow-y: auto;
  28. padding: 0 7px;
  29. &::-webkit-scrollbar {
  30. width: 0;
  31. display: none;
  32. }
  33. }
  34. .collapse {
  35. .collapseItem {
  36. padding: 7px;
  37. }
  38. :global {
  39. .van-cell {
  40. background: transparent;
  41. font-size: 13px;
  42. color: #777;
  43. padding: 0;
  44. border: none;
  45. line-height: 18px;
  46. }
  47. .van-collapse-item__content {
  48. padding-top: 0;
  49. background-color: transparent;
  50. }
  51. }
  52. .item {
  53. display: flex;
  54. align-items: center;
  55. margin-top: 15px;
  56. span {
  57. color: #131415;
  58. font-size: 12px;
  59. }
  60. }
  61. .arrow {
  62. width: 12px;
  63. height: 12px;
  64. margin-right: 5px;
  65. }
  66. .itemImage {
  67. width: 15px;
  68. height: 15px;
  69. margin-right: 6px;
  70. }
  71. .activeItem {
  72. background: #ECF8FF;
  73. border-radius: 9px;
  74. :global {
  75. .van-cell {
  76. color: #1C9AF7;
  77. font-weight: 600;
  78. }
  79. }
  80. }
  81. .itemActive {
  82. font-weight: 500;
  83. color: #1C9AF7;
  84. }
  85. }