index.module.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. background: #FFFFFF;
  5. border-radius: 20px;
  6. min-height: 100%;
  7. }
  8. .tools {
  9. padding: 32px 32px 20px 32px;
  10. display: flex;
  11. align-items: flex-start;
  12. flex-shrink: 0;
  13. :global {
  14. .n-input {
  15. margin-left: auto;
  16. width: 360px;
  17. }
  18. .n-input__input-el {
  19. height: 100%;
  20. line-height: 100%;
  21. }
  22. .n-button.n-button--disabled {
  23. cursor: initial;
  24. padding: 0;
  25. }
  26. }
  27. .tagWrap {
  28. flex: 1;
  29. margin-right: 28px;
  30. }
  31. .tags {
  32. .firstButton {
  33. display: flex;
  34. align-items: center;
  35. justify-content: center;
  36. height: 100%;
  37. font-size: max(18px, 13Px);
  38. color: #999999;
  39. line-height: 25px;
  40. }
  41. padding: 12px 0;
  42. :global {
  43. .n-form-item-label {
  44. height: 37px;
  45. min-height: 37px;
  46. }
  47. .n-form-item-feedback-wrapper {
  48. min-height: 0;
  49. }
  50. .n-button {
  51. min-width: 102px;
  52. height: 37px;
  53. padding: 0 24px;
  54. font-size: max(18px, 13Px);
  55. }
  56. .n-button--primary-type {
  57. font-weight: 500 !important;
  58. }
  59. }
  60. }
  61. }
  62. .content {
  63. flex: 1;
  64. // padding: 20px 36px 36px 36px;
  65. padding: 0 6px 36px;
  66. &.loadingContent {
  67. min-height: 50vh;
  68. }
  69. gap: 50px 0;
  70. display: flex;
  71. flex-flow: row wrap;
  72. justify-content: flex-start;
  73. margin-left: -12px;
  74. margin-right: -12px;
  75. .itemWrap {
  76. width: calc(100% / 6);
  77. padding-bottom: calc(100% / 6 * 0.909923);
  78. position: relative;
  79. .itemWrapBox {
  80. position: absolute;
  81. left: 0;
  82. top: 0;
  83. width: 100%;
  84. height: 100%;
  85. padding: 0 12px;
  86. }
  87. }
  88. }
  89. // 214px
  90. // 223px + 38
  91. .item {
  92. margin: 0 auto;
  93. position: relative;
  94. width: 214px;
  95. cursor: pointer;
  96. transition: all .3s;
  97. .cover {
  98. position: relative;
  99. overflow: hidden;
  100. &::before {
  101. content: '';
  102. position: absolute;
  103. top: 107px;
  104. left: 0;
  105. width: 214px;
  106. height: 214px;
  107. background: #DDF2FF;
  108. border-radius: 50%;
  109. }
  110. }
  111. &:hover {
  112. transform: scale(1.1);
  113. }
  114. .itemImg {
  115. position: relative;
  116. width: 158px;
  117. height: 223px;
  118. margin: auto;
  119. background-color: #EDEFF2;
  120. background-image: url('./icon_default.svg');
  121. background-repeat: no-repeat;
  122. background-position: center center;
  123. &::before {
  124. content: '';
  125. position: absolute;
  126. top: 4px;
  127. right: -4px;
  128. width: 4px;
  129. height: calc(100% - 8px);
  130. background-color: #C5C5C5;
  131. z-index: 1;
  132. }
  133. &::after {
  134. content: '';
  135. position: absolute;
  136. top: 2px;
  137. right: -2px;
  138. width: 4px;
  139. height: calc(100% - 4px);
  140. background-color: #E7E7E7;
  141. z-index: 2;
  142. }
  143. .itemBg {
  144. position: absolute;
  145. top: 0;
  146. left: 0;
  147. width: 100%;
  148. height: 100%;
  149. z-index: 4;
  150. background-repeat: no-repeat;
  151. background-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0, rgba(255, 255, 255, 0.08) 0%, transparent 0.5%), linear-gradient(to right, rgba(0, 0, 0, 0.1) 0.3%, rgba(255, 255, 255, 0.09) 1.1%, transparent 1.3%);
  152. background-size: 50% 100%, 50% 100%;
  153. background-position: 0% top, 9% top;
  154. }
  155. :global {
  156. .n-image {
  157. position: relative;
  158. width: 100%;
  159. height: 100%;
  160. z-index: 3;
  161. }
  162. }
  163. img {
  164. transition: opacity .3s;
  165. opacity: 0;
  166. }
  167. img[data-loaded="true"] {
  168. opacity: 1;
  169. }
  170. }
  171. .itemName {
  172. margin-top: 16px;
  173. font-size: max(16px, 12Px);
  174. line-height: 22px;
  175. font-weight: 500;
  176. color: #333;
  177. text-align: center;
  178. }
  179. }
  180. .popSelect1 {
  181. font-size: 16px;
  182. width: 240px;
  183. // max-height: 500px;
  184. // overflow-y: scroll;
  185. box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.08);
  186. border-radius: 11px;
  187. --n-option-height: 34px;
  188. :global {
  189. .n-base-select-option__content {
  190. width: 80% !important;
  191. }
  192. }
  193. }
  194. .textBtn {
  195. .iconArrow {
  196. display: inline-block;
  197. margin-left: 8px;
  198. margin-top: 2px;
  199. width: 8px;
  200. height: 5px;
  201. background: url('../xiaoku-music/images/icon-arrow.svg') no-repeat center center / contain;
  202. transform: rotate(180deg);
  203. color: #131415;
  204. fill: #131415;
  205. }
  206. &:hover,
  207. &.textBtnActive {
  208. background: #198CFE !important;
  209. font-weight: 500 !important;
  210. color: #fff !important;
  211. .iconArrow {
  212. transform: rotate(0deg);
  213. background: url('../xiaoku-music/images/icon-arrow2.svg') no-repeat center center / contain;
  214. color: #fff;
  215. fill: #fff;
  216. margin-top: 0;
  217. }
  218. }
  219. }