index.module.less 3.7 KB

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