index.module.less 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. .chioseWrap {
  2. display: flex;
  3. flex-direction: row;
  4. align-items: center;
  5. justify-content: space-around;
  6. background-color: #f8f8f8;
  7. font-size: 14px;
  8. .searchBandWrap {
  9. max-width: 25%;
  10. }
  11. .searchBand {
  12. display: flex;
  13. flex-direction: row;
  14. align-items: center;
  15. p {
  16. white-space: nowrap;
  17. overflow: hidden;
  18. text-overflow: ellipsis;
  19. }
  20. }
  21. }
  22. // .recordSearch {
  23. // :global {
  24. // .van-search {
  25. // padding-bottom: 0;
  26. // }
  27. // }
  28. // }
  29. .exerciseRecord {
  30. :global {
  31. .van-haptics-feedback:active {
  32. opacity: 1;
  33. }
  34. }
  35. }
  36. .searchMore {
  37. line-height: 1.2 !important;
  38. :global {
  39. .van-dropdown-item {
  40. z-index: 99;
  41. }
  42. .van-dropdown-menu__bar {
  43. box-shadow: none;
  44. height: var(--van-nav-bar-height);
  45. }
  46. .van-dropdown-item__content {
  47. border-radius: 0 0 12px 12px;
  48. // padding-bottom: calc(var(--van-button-large-height) + 52px);
  49. max-height: 100%;
  50. }
  51. .van-button + .van-button {
  52. margin-left: 15px;
  53. }
  54. .van-dropdown-menu__title:after {
  55. border-color: transparent transparent #aaaaaa #aaaaaa;
  56. }
  57. .van-dropdown-menu__title--active {
  58. color: #f67146;
  59. }
  60. .van-dropdown-menu__title--active:after {
  61. border-color: transparent transparent currentColor currentColor;
  62. }
  63. }
  64. .searchContainer {
  65. max-height: 400px;
  66. overflow-y: auto;
  67. box-sizing: border-box;
  68. padding-bottom: 16px;
  69. background: var(--van-popup-background);
  70. transition: var(--van-popup-transition);
  71. }
  72. .searchMoreGroup {
  73. display: flex;
  74. align-items: center;
  75. padding: 18px 13px;
  76. background-color: #fff;
  77. }
  78. .searchTitle {
  79. padding: 15px 13px 2px;
  80. font-size: 15px;
  81. font-weight: 600;
  82. color: #333333;
  83. line-height: 21px;
  84. text-align: left;
  85. }
  86. .searchTypeGroup {
  87. display: flex;
  88. align-items: center;
  89. padding: 0 13px;
  90. flex-wrap: wrap;
  91. justify-content: space-between;
  92. }
  93. .searchTypeFlex {
  94. .searchTypeItem {
  95. width: 49%;
  96. }
  97. }
  98. .searchTypeFlex1 {
  99. justify-content: flex-start;
  100. .searchTypeItem {
  101. width: 31%;
  102. &:nth-child(3n + 1) {
  103. margin-right: 2.333%;
  104. }
  105. &:nth-child(3n + 3) {
  106. margin-left: 2.333%;
  107. }
  108. }
  109. }
  110. .searchTypeFlex2 {
  111. .searchTypeItem {
  112. width: 45%;
  113. }
  114. }
  115. .searchTypeItemLine {
  116. margin-top: 10px;
  117. width: 16px;
  118. height: 1px;
  119. background: #d8d8d8;
  120. }
  121. .searchTypeItem {
  122. box-sizing: border-box;
  123. margin-top: 10px;
  124. height: 32px;
  125. line-height: 32px;
  126. background: #f6f6f6;
  127. border: 1px solid #f6f6f6;
  128. border-radius: 16px;
  129. font-size: 13px;
  130. color: #333333;
  131. padding: 0 7px;
  132. text-align: center;
  133. &.is-active {
  134. background: #fff5f2;
  135. border: 1px solid #ffb097;
  136. color: #f67146;
  137. }
  138. }
  139. }
  140. .searchPreview {
  141. margin: 0 13px;
  142. padding-bottom: 12px;
  143. white-space: nowrap;
  144. overflow-y: auto;
  145. .searchPreviewItem {
  146. display: inline-flex;
  147. align-items: center;
  148. line-height: 28px;
  149. background: #f6f6f6;
  150. border-radius: 16px;
  151. margin-right: 8px;
  152. padding: 1px 10px 0;
  153. font-size: 13px;
  154. color: #333333;
  155. &:last-child {
  156. margin-right: 0;
  157. }
  158. .cross {
  159. font-size: 8px;
  160. margin-left: 6px;
  161. color: #aaaaaa;
  162. }
  163. }
  164. }