point.module.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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: 13px 10px 15px 15px;
  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. .matItem {
  35. border-radius: 6px;
  36. border: 1px solid #C2DBE2;
  37. background: linear-gradient(360deg, #F2F4F5 0%, #E7F9FF 100%);
  38. margin-bottom: 15px;
  39. overflow: hidden;
  40. .cover {
  41. height: 115px;
  42. background: #fff;
  43. overflow: hidden;
  44. &>img {
  45. display: block;
  46. width: 100%;
  47. }
  48. }
  49. .title {
  50. display: flex;
  51. align-items: center;
  52. padding: 7px 6px;
  53. font-size: 11px;
  54. font-weight: 400;
  55. color: #131415;
  56. line-height: 16px;
  57. .tag {
  58. padding: 4px 10px;
  59. border-radius: 4px;
  60. background: linear-gradient(251deg, #FE7270 0%, #FF9696 100%);
  61. font-size: 9px;
  62. font-weight: 600;
  63. color: #FFF;
  64. line-height: 13px;
  65. margin-right: 8px;
  66. white-space: nowrap;
  67. flex-shrink: 0;
  68. }
  69. :global {
  70. .van-icon {
  71. display: none;
  72. margin-left: auto;
  73. }
  74. }
  75. }
  76. &.itemActive {
  77. border: 2px solid var(--van-primary-color);
  78. .title {
  79. :global {
  80. .van-icon {
  81. display: initial;
  82. }
  83. }
  84. }
  85. }
  86. }
  87. .collapse {
  88. .collapseItem {
  89. padding: 7px;
  90. }
  91. .collapseKnow {
  92. padding: 14px 14px 0;
  93. position: relative;
  94. :global {
  95. .van-cell {
  96. margin-bottom: 8px;
  97. }
  98. }
  99. &::before {
  100. content: "";
  101. position: absolute;
  102. left: 5px;
  103. top: 8px;
  104. width: calc(100% - 10px);
  105. height: 1px;
  106. background: #D5E2EA;
  107. }
  108. }
  109. :global {
  110. .van-cell {
  111. background: transparent;
  112. font-size: 13px;
  113. color: #777;
  114. padding: 0;
  115. border: none;
  116. line-height: 18px;
  117. }
  118. .van-collapse-item__content {
  119. padding: 0;
  120. background-color: transparent;
  121. }
  122. }
  123. .item {
  124. display: flex;
  125. align-items: center;
  126. margin-top: 15px;
  127. span {
  128. color: #131415;
  129. font-size: 12px;
  130. }
  131. }
  132. .arrow {
  133. width: 12px;
  134. height: 12px;
  135. margin-right: 5px;
  136. }
  137. .itemImage {
  138. width: 15px;
  139. height: 15px;
  140. margin-right: 6px;
  141. }
  142. .activeItem {
  143. background: #ECF8FF;
  144. border-radius: 9px;
  145. :global {
  146. .van-cell {
  147. color: #1C9AF7;
  148. font-weight: 600;
  149. }
  150. }
  151. }
  152. .itemActive {
  153. font-weight: 500;
  154. span {
  155. color: #1C9AF7;
  156. }
  157. }
  158. }