point.module.less 3.1 KB

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