index.module.less 4.6 KB

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