index.module.less 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. .settingContainer {
  2. position: relative;
  3. width: 430px;
  4. height: 86vh;
  5. background: #fff;
  6. border-radius: 18px 0 0 18px;
  7. padding: 26px 0 20px;
  8. &.pcS {
  9. width: 750px;
  10. height: 536px;
  11. .settingContent {
  12. padding: 0 20px;
  13. }
  14. .beatContent {
  15. gap: 8px 0;
  16. .btn {
  17. width: 78px;
  18. height: 31px;
  19. margin: 0 4px;
  20. }
  21. img {
  22. width: 64px;
  23. height: 64px;
  24. }
  25. }
  26. }
  27. .title {
  28. position: absolute;
  29. left: 50%;
  30. top: -6px;
  31. margin-left: -70px;
  32. z-index: 9;
  33. width: 140px;
  34. height: 34px;
  35. background: url('../images/icon-set-title.png') no-repeat center center / contain;
  36. }
  37. .iconTitBox {
  38. position: absolute;
  39. top: 0;
  40. left: 0;
  41. width: 100%;
  42. height: 0;
  43. z-index: 11;
  44. .iconClose {
  45. position: absolute;
  46. right: 13px;
  47. top: 13px;
  48. z-index: 9;
  49. display: inline-block;
  50. width: 31px;
  51. height: 32px;
  52. background: url('../images/icon-close.png') no-repeat center center;
  53. background-size: 96%;
  54. cursor: pointer;
  55. }
  56. }
  57. &.modalS {
  58. .beatContent {
  59. gap: 8px 0;
  60. .btn {
  61. margin: 0 4px;
  62. }
  63. }
  64. .settingContent {
  65. padding: 0 10px;
  66. .iArrow {
  67. width: 12px;
  68. height: 12px;
  69. }
  70. .collapseContainer {
  71. :global {
  72. .van-collapse-item__title {
  73. font-size: 12px;
  74. padding: 4px;
  75. }
  76. .van-collapse-item__content {
  77. padding: 10px 3px 0;
  78. }
  79. }
  80. }
  81. }
  82. }
  83. }
  84. .settingContent {
  85. padding: 0 12px 55px 7px;
  86. overflow-y: auto;
  87. height: 100%;
  88. position: relative;
  89. z-index: 10;
  90. &::-webkit-scrollbar {
  91. width: 4px;
  92. }
  93. &::-webkit-scrollbar-thumb {
  94. border-radius: 10px;
  95. background: rgba(0, 0, 0, 0.2);
  96. }
  97. &::-webkit-scrollbar-track {
  98. border-radius: 0;
  99. background: rgba(0, 0, 0, 0.1);
  100. }
  101. .iArrow {
  102. width: 14px;
  103. height: 14px;
  104. margin-right: 3px;
  105. }
  106. .collapseContainer {
  107. &.paddingBottom {
  108. margin-bottom: 8px;
  109. }
  110. :global {
  111. .van-collapse-item__title {
  112. display: flex;
  113. align-items: center;
  114. padding: 8px;
  115. background: #E5F0FB;
  116. border-radius: 6px;
  117. font-weight: 500;
  118. font-size: 15px;
  119. line-height: 1;
  120. color: #000000;
  121. cursor: pointer;
  122. }
  123. .van-collapse-item__content {
  124. padding: 18px 3px 0;
  125. }
  126. }
  127. }
  128. }
  129. .settingParams {
  130. // padding: 20px 26px;
  131. padding-bottom: 53px;
  132. }
  133. .parmaTitle {
  134. font-size: 14px;
  135. font-weight: 600;
  136. color: #131415;
  137. line-height: 20px;
  138. padding-bottom: 8px;
  139. }
  140. .paramContent {
  141. display: flex;
  142. align-items: center;
  143. flex-wrap: wrap;
  144. // gap: 0 12px;
  145. padding-bottom: 18px;
  146. margin-left: -6px;
  147. margin-right: -6px;
  148. .btn {
  149. width: 64px;
  150. height: 26px;
  151. font-size: 12px;
  152. font-weight: 600;
  153. color: rgba(0, 0, 0, 0.7);
  154. line-height: 17px;
  155. background: #F5F6F7;
  156. border: none;
  157. padding: 0;
  158. margin: 0 4px;
  159. &.active {
  160. background: #19AEFF;
  161. color: #FFFFFF;
  162. }
  163. }
  164. &.beatContent {
  165. .btn {
  166. margin: 4px 6px;
  167. }
  168. }
  169. &.tempo {
  170. // gap: 8px 8px;
  171. padding-bottom: 0;
  172. margin: -4px;
  173. &>div {
  174. background: #F5F6F7;
  175. margin: 4px;
  176. border-radius: 3px;
  177. overflow: hidden;
  178. }
  179. }
  180. .active {
  181. background: #D0EBFF;
  182. }
  183. img {
  184. width: 44px;
  185. height: 44px;
  186. background: #F5F6F7;
  187. border-radius: 4px;
  188. cursor: pointer;
  189. }
  190. }
  191. .btnGroup {
  192. position: absolute;
  193. bottom: 0;
  194. left: 0;
  195. right: 0;
  196. z-index: 12;
  197. display: flex;
  198. align-items: center;
  199. justify-content: center;
  200. padding: 14px 0;
  201. background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 1));
  202. border-radius: 0 0 26px 26px;
  203. .btnSubmit {
  204. z-index: 1;
  205. width: 135px;
  206. height: 45px;
  207. line-height: 45px;
  208. border-radius: 20px;
  209. background: url('../images/btn-5.png') no-repeat center center / contain;
  210. border: none;
  211. }
  212. }