index.module.less 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. :global{
  2. .n-modal-mask{
  3. background-color: transparent;
  4. }
  5. }
  6. .setbox {
  7. position: relative;
  8. top: 0;
  9. display: flex;
  10. flex-direction: column;
  11. border-radius: 6px;
  12. background: #fff;
  13. overflow: hidden;
  14. }
  15. .head {
  16. position: relative;
  17. line-height: 53px;
  18. height: 53px;
  19. text-align: center;
  20. background: #F5F6FA;
  21. color: #131415;
  22. font-weight: 600;
  23. display: flex;
  24. align-items: center;
  25. justify-content: center;
  26. font-size: 16px;
  27. flex-shrink: 0;
  28. .close {
  29. position: absolute;
  30. top: 50%;
  31. right: 20px;
  32. transform: translateY(-50%);
  33. }
  34. }
  35. .content {
  36. flex: 1;
  37. padding: 30px;
  38. overflow: hidden;
  39. }
  40. .lineTitle {
  41. height: 21px;
  42. font-size: 15px;
  43. font-weight: 600;
  44. color: #131415;
  45. line-height: 21px;
  46. margin-bottom: 10px;
  47. }
  48. .item {
  49. position: relative;
  50. text-align: center;
  51. font-size: 14px;
  52. font-weight: 400;
  53. color: #777;
  54. cursor: pointer;
  55. .itemImg {
  56. width: 100px;
  57. height: 100px;
  58. border: 2px solid #fff;
  59. border-radius: 18px;
  60. overflow: hidden;
  61. margin-bottom: 7px;
  62. }
  63. .icon {
  64. width: 100%;
  65. height: 100%;
  66. }
  67. &.itemActive {
  68. font-weight: 600;
  69. color: var(--primary-color);
  70. .itemImg {
  71. border-color: var(--primary-color);
  72. }
  73. .itemIcon{
  74. display: block;
  75. }
  76. }
  77. .itemIcon{
  78. position: absolute;
  79. right: 8px;
  80. top: 8px;
  81. display: none;
  82. width: 18px;
  83. height: 18px;
  84. }
  85. }
  86. .beatItem {
  87. position: relative;
  88. width: 195px;
  89. height: 110px;
  90. background: #F5F5F7;
  91. border-radius: 8px;
  92. display: flex;
  93. flex-direction: column;
  94. justify-content: center;
  95. align-items: center;
  96. .beatIcon {
  97. width: 80%;
  98. height: 60%;
  99. cursor: pointer;
  100. :global {
  101. .svg-icon {
  102. width: 100% !important;
  103. height: 100% !important;
  104. }
  105. }
  106. }
  107. :global {
  108. .n-input-number {
  109. width: 80%;
  110. }
  111. .n-input{
  112. border-radius: 6px !important;
  113. }
  114. }
  115. .speedIcon {
  116. font-size: 30px;
  117. }
  118. }
  119. .btnItem {
  120. display: flex;
  121. flex-direction: column;
  122. justify-content: center;
  123. align-items: center;
  124. border-radius: 6px;
  125. padding: 4px 8px;
  126. cursor: pointer;
  127. .btnItemIcon {
  128. display: flex;
  129. justify-content: center;
  130. align-items: center;
  131. font-size: 60px;
  132. }
  133. &:hover {
  134. background-color: rgba(0, 0, 0, 0.1);
  135. }
  136. .btnItemName {
  137. font-size: 12px;
  138. }
  139. &.active{
  140. background-color: #BADCFE;
  141. }
  142. }
  143. .btns {
  144. text-align: center;
  145. padding: 15px 0;
  146. :global {
  147. .n-button {
  148. width: 117px;
  149. height: 35px;
  150. padding: 0;
  151. text-align: center;
  152. font-size: 14px;
  153. margin: 0 15px;
  154. }
  155. }
  156. }