index.module.less 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. }
  55. .searchContainer {
  56. max-height: 400px;
  57. overflow-y: auto;
  58. box-sizing: border-box;
  59. padding-bottom: 16px;
  60. background: var(--van-popup-background);
  61. transition: var(--van-popup-transition);
  62. }
  63. .searchMoreGroup {
  64. display: flex;
  65. align-items: center;
  66. padding: 18px 13px;
  67. background-color: #fff;
  68. }
  69. .searchTitle {
  70. padding: 15px 13px 2px;
  71. font-size: 15px;
  72. font-weight: 600;
  73. color: #333333;
  74. line-height: 21px;
  75. text-align: left;
  76. }
  77. .searchTypeGroup {
  78. display: flex;
  79. align-items: center;
  80. padding: 0 13px;
  81. flex-wrap: wrap;
  82. justify-content: space-between;
  83. }
  84. .searchTypeFlex {
  85. .searchTypeItem {
  86. width: 49%;
  87. }
  88. }
  89. .searchTypeFlex1 {
  90. justify-content: flex-start;
  91. .searchTypeItem {
  92. width: 31%;
  93. &:nth-child(3n + 1) {
  94. margin-right: 2.333%;
  95. }
  96. &:nth-child(3n + 3) {
  97. margin-left: 2.333%;
  98. }
  99. }
  100. }
  101. .searchTypeFlex2 {
  102. .searchTypeItem {
  103. width: 45%;
  104. }
  105. }
  106. .searchTypeItemLine {
  107. margin-top: 10px;
  108. width: 16px;
  109. height: 1px;
  110. background: #d8d8d8;
  111. }
  112. .searchTypeItem {
  113. box-sizing: border-box;
  114. margin-top: 10px;
  115. height: 32px;
  116. line-height: 32px;
  117. background: #f6f6f6;
  118. border: 1px solid #f6f6f6;
  119. border-radius: 16px;
  120. font-size: 13px;
  121. color: #333333;
  122. padding: 0 7px;
  123. text-align: center;
  124. &.is-active {
  125. background: #fff5f2;
  126. border: 1px solid #ffb097;
  127. color: #f67146;
  128. }
  129. }
  130. }
  131. .searchPreview {
  132. margin: 0 13px;
  133. padding-bottom: 12px;
  134. white-space: nowrap;
  135. overflow-y: auto;
  136. .searchPreviewItem {
  137. display: inline-flex;
  138. align-items: center;
  139. line-height: 28px;
  140. background: #f6f6f6;
  141. border-radius: 16px;
  142. margin-right: 8px;
  143. padding: 1px 10px 0;
  144. font-size: 13px;
  145. color: #333333;
  146. &:last-child {
  147. margin-right: 0;
  148. }
  149. .cross {
  150. font-size: 8px;
  151. margin-left: 6px;
  152. color: #aaaaaa;
  153. }
  154. }
  155. }