index.module.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. .searchGroup {
  2. position: relative;
  3. padding: 0;
  4. .btnType {
  5. gap: 0px 10px !important;
  6. flex-wrap: nowrap !important;
  7. &>div {
  8. display: flex;
  9. align-items: center;
  10. }
  11. .swipeControll {
  12. height: 37px;
  13. .leftIcon {
  14. transform: rotate(180deg);
  15. }
  16. :global {
  17. .n-image {
  18. height: 37px;
  19. align-items: center;
  20. }
  21. }
  22. img {
  23. cursor: pointer;
  24. width: 25Px;
  25. height: 25Px;
  26. }
  27. .disabled {
  28. opacity: 0.4;
  29. cursor: not-allowed;
  30. }
  31. }
  32. :global {
  33. .n-button {
  34. height: 37px;
  35. padding: 0 24px;
  36. font-size: 18px;
  37. color: rgba(0, 0, 0, .6);
  38. &.n-button--primary-type {
  39. font-weight: bold;
  40. color: #fff;
  41. }
  42. }
  43. }
  44. .carouselGroup {
  45. display: flex;
  46. width: 660px
  47. }
  48. .carouselContainer {
  49. width: 550px;
  50. margin-right: 12px;
  51. :global {
  52. .n-carousel__slide {
  53. width: auto !important;
  54. display: flex;
  55. align-items: center;
  56. padding-left: 10px;
  57. padding-right: 10px;
  58. }
  59. }
  60. }
  61. }
  62. .inputSearch {
  63. width: 360px;
  64. height: 42px;
  65. font-size: 16px;
  66. --n-height: 42px !important;
  67. img {
  68. width: 18px;
  69. height: 18px;
  70. }
  71. :global {
  72. .n-input-wrapper {
  73. padding-left: 12px;
  74. padding-right: 4px;
  75. height: 42px !important;
  76. }
  77. .n-button {
  78. height: 34px;
  79. font-size: 15px;
  80. font-weight: 500;
  81. width: auto;
  82. }
  83. }
  84. }
  85. .searchCatatory {
  86. display: flex;
  87. justify-content: space-between;
  88. border-bottom: 1px solid #F2F2F2;
  89. padding-bottom: 12px;
  90. margin-bottom: 12px;
  91. .addTrain {
  92. height: 37px;
  93. border-radius: 8px;
  94. font-size: 18px;
  95. background-color: #E8F4FF;
  96. color: #0378EC;
  97. img {
  98. width: 16px;
  99. height: 16px;
  100. margin-right: 8px;
  101. }
  102. }
  103. }
  104. }
  105. .searchGroups {
  106. padding: 0 33px;
  107. }
  108. // .listContainer {
  109. // padding: 0 33px;
  110. // }
  111. .list {
  112. margin-top: 12px;
  113. display: flex;
  114. flex-flow: row wrap;
  115. justify-content: flex-start;
  116. gap: 20px 0;
  117. min-height: 232px;
  118. margin-left: -22px;
  119. margin-right: -22px;
  120. padding: 0 33px;
  121. .itemWrap {
  122. width: calc(100% / 6);
  123. padding-bottom: calc(100% / 6 * 1.1355555);
  124. position: relative;
  125. .itemWrapBox {
  126. position: absolute;
  127. left: 0;
  128. top: 0;
  129. width: 100%;
  130. height: 100%;
  131. padding: 0 22px;
  132. }
  133. }
  134. .itemCard {
  135. position: relative;
  136. cursor: pointer;
  137. &:hover {
  138. .itemImgSection {
  139. border-radius: 13px;
  140. // border: 3px solid rgba(0, 122, 254, 1);
  141. box-sizing: border-box;
  142. transition: all .2s ease;
  143. transform: scale(1.03);
  144. transition: all .2s ease;
  145. }
  146. }
  147. .itemTag {
  148. position: absolute;
  149. right: 0;
  150. top: 0;
  151. display: inline-block;
  152. font-size: 12Px;
  153. font-weight: 600;
  154. color: #FFFFFF;
  155. line-height: 17Px;
  156. text-shadow: 2Px 2Px 8Px rgba(0, 0, 0, 0.1);
  157. line-height: 23Px;
  158. padding: 0 7Px;
  159. background: linear-gradient(135deg, #02BAFF 0%, #007AFE 100%);
  160. box-shadow: 2Px 2 8Px 0Px rgba(0, 0, 0, 0.1);
  161. border-radius: 0Px 13Px 0Px 13Px;
  162. }
  163. .itemImgSection {
  164. transition: all .2s ease;
  165. position: relative;
  166. width: 148px;
  167. height: 169px;
  168. // box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.1);
  169. border-radius: 13px;
  170. overflow: hidden;
  171. transform: all .2s ease;
  172. background-color: transparent;
  173. border: 2px solid transparent;
  174. .iconCheck {
  175. position: absolute;
  176. top: 7px;
  177. right: 7px;
  178. width: 20px;
  179. height: 20px;
  180. background: url('../../../../images/icon-check.png') no-repeat center;
  181. background-size: contain;
  182. }
  183. .img {
  184. width: 148px;
  185. height: 169px;
  186. background: linear-gradient(360deg, #DBF1FF 0%, #E7F9FF 100%);
  187. display: flex;
  188. img {
  189. width: 100%;
  190. height: 100%;
  191. }
  192. }
  193. }
  194. .itemImgSectionSelected {
  195. border: 2px solid #198CFE;
  196. // transition: all .2s ease;
  197. .iconCheck {
  198. background: url('../../../../images/icon-checked.png') no-repeat center;
  199. background-size: contain;
  200. }
  201. }
  202. .itemTitle {
  203. padding-top: 10px;
  204. font-size: 18px;
  205. font-weight: 600;
  206. color: #131415;
  207. line-height: 25px;
  208. text-align: center;
  209. }
  210. }
  211. }