index.module.less 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. padding-bottom: 20px;
  46. .addTrain {
  47. height: 37px;
  48. border-radius: 8px;
  49. font-size: 18px;
  50. background-color: #E8F4FF;
  51. color: #0378EC;
  52. img {
  53. width: 16px;
  54. height: 16px;
  55. margin-right: 8px;
  56. }
  57. }
  58. }
  59. }
  60. .list {
  61. margin-top: 12px;
  62. display: flex;
  63. flex-flow: row wrap;
  64. justify-content: flex-start;
  65. gap: 45px 0;
  66. min-height: 232px;
  67. margin-left: -22px;
  68. margin-right: -22px;
  69. .itemWrap {
  70. width: calc(100% / 6);
  71. padding-bottom: calc(100% / 6 * 0.95913);
  72. position: relative;
  73. .itemWrapBox {
  74. position: absolute;
  75. left: 0;
  76. top: 0;
  77. width: 100%;
  78. height: 100%;
  79. padding: 0 22px;
  80. }
  81. }
  82. .itemCard {
  83. position: relative;
  84. cursor: pointer;
  85. transition: all .2s ease;
  86. &:hover {
  87. transform: scale(1.03);
  88. transition: all .2s ease;
  89. .itemImgSection {
  90. background: linear-gradient(360deg, #DBF1FF 0%, #E7F9FF 100%);
  91. box-shadow: 2px 2 8px 0px rgba(0, 0, 0, 0.1);
  92. border-radius: 13px;
  93. // border: 3px solid rgba(0, 122, 254, 1);
  94. box-sizing: border-box;
  95. transition: all .2s ease;
  96. }
  97. }
  98. .itemTag {
  99. position: absolute;
  100. right: 0;
  101. top: 0;
  102. display: inline-block;
  103. font-size: 12Px;
  104. font-weight: 600;
  105. color: #FFFFFF;
  106. line-height: 17Px;
  107. text-shadow: 2Px 2Px 8Px rgba(0, 0, 0, 0.1);
  108. line-height: 23Px;
  109. padding: 0 7Px;
  110. background: linear-gradient(135deg, #02BAFF 0%, #007AFE 100%);
  111. box-shadow: 2Px 2 8Px 0Px rgba(0, 0, 0, 0.1);
  112. border-radius: 0Px 13Px 0Px 13Px;
  113. }
  114. .itemImgSection {
  115. width: 100%;
  116. height: 244px;
  117. background: linear-gradient(360deg, #DBF1FF 0%, #E7F9FF 100%);
  118. box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.1);
  119. border-radius: 13px;
  120. overflow: hidden;
  121. .img {
  122. width: 100%;
  123. height: 100%;
  124. height: 244px;
  125. display: flex;
  126. img {
  127. width: 100%;
  128. height: 100%;
  129. }
  130. }
  131. }
  132. .itemTitle {
  133. padding-top: 10px;
  134. font-size: 18px;
  135. font-weight: 600;
  136. color: #131415;
  137. line-height: 25px;
  138. text-align: center;
  139. }
  140. }
  141. }