index.module.less 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. .speedContainer{
  2. width: 334px;
  3. &.isHideBeat .content{
  4. height: 172px;
  5. }
  6. .head{
  7. height: 42px;
  8. position: relative;
  9. .headTit{
  10. position: absolute;
  11. bottom: 0;
  12. left: 50%;
  13. transform: translateX(-50%);
  14. width: 157px;
  15. height: 32px;
  16. }
  17. .closeImg{
  18. position: absolute;
  19. top: 0;
  20. right: -38px;
  21. width: 32px;
  22. height: 32px;
  23. cursor: pointer;
  24. }
  25. }
  26. .content{
  27. margin-top: -26px;
  28. height: 230px;
  29. background: #FFFFFF;
  30. border-radius: 16px;
  31. padding: 36px 16px 16px 16px;
  32. .conBox{
  33. width: 100%;
  34. height: 100%;
  35. overflow-y: auto;
  36. &::-webkit-scrollbar {
  37. width: 0;
  38. display: none;
  39. }
  40. .tit{
  41. font-weight: 600;
  42. font-size: 15px;
  43. color: #000000;
  44. line-height: 21px;
  45. }
  46. .spendCon{
  47. margin-top: 20px;
  48. display: flex;
  49. align-items: center;
  50. padding: 3px 0;
  51. .btn{
  52. width: 24px;
  53. height: 24px;
  54. flex-shrink: 0;
  55. cursor: pointer;
  56. }
  57. .sliderCon{
  58. padding: 0 18px;
  59. flex-grow: 1;
  60. :global{
  61. .van-slider{
  62. height: 5px;
  63. background: #EAEAEA;
  64. .van-slider__bar{
  65. max-width: 100%;
  66. background: #36CFB3;
  67. // &::after{
  68. // position: absolute;
  69. // content: "";
  70. // left: 4px;
  71. // top: 2px;
  72. // width: 100%;
  73. // height: 1px;
  74. // background: #FFFFFF;
  75. // border-radius: 1px;
  76. // filter: blur(1px);
  77. // }
  78. // &::before{
  79. // position: absolute;
  80. // content: "";
  81. // left: 2px;
  82. // top: 1px;
  83. // width: 4px;
  84. // height: 4px;
  85. // background: url("../image/gg.png") no-repeat;
  86. // background-size: 100% 100%;
  87. // transform: translate(-20%,-20%);
  88. // }
  89. .van-slider__button-wrapper{
  90. bottom: -6px;
  91. top: initial;
  92. transform: translateX(50%);
  93. }
  94. }
  95. }
  96. }
  97. .customButton{
  98. display: flex;
  99. flex-direction: column;
  100. align-items: center;
  101. .speedVal{
  102. width: 34px;
  103. height: 31px;
  104. background: url("../image/qipao.png") no-repeat;
  105. background-size: 100% 100%;
  106. font-weight: 600;
  107. font-size: 14px;
  108. color: #131415;
  109. line-height: 20px;
  110. text-align: center;
  111. padding-top: 3px;
  112. margin-bottom: 3px;
  113. }
  114. .speedBtn{
  115. width: 18px;
  116. height: 18px;
  117. background: #FFFFFF;
  118. border-radius: 50%;
  119. border: 4px solid #36CFB3;
  120. }
  121. }
  122. }
  123. }
  124. .speedSel{
  125. margin-top: 20px;
  126. padding-bottom: 8px;
  127. display: flex;
  128. justify-content: space-between;
  129. flex-wrap: wrap;
  130. & > div{
  131. width: 42px;
  132. height: 24px;
  133. line-height: 24px;
  134. text-align: center;
  135. background: #F6F6F6;
  136. border-radius: 14px;
  137. font-weight: 400;
  138. font-size: 13px;
  139. color: rgba(0,0,0,0.6);
  140. cursor: pointer;
  141. margin-bottom: 10px;
  142. margin-right: 3px;
  143. &:active{
  144. background: #B9F2DF;
  145. color: #131415;
  146. }
  147. }
  148. }
  149. .disableSpend {
  150. opacity: 0.4;
  151. pointer-events: none;
  152. }
  153. .metronome{
  154. padding-top: 18px;
  155. border-top: 1px solid #F2F2F2;
  156. display: flex;
  157. justify-content: space-between;
  158. align-items: center;
  159. :global{
  160. .van-switch{
  161. width: 42px;
  162. height: 21px;
  163. background-color: transparent!important;
  164. background-image: url("../image/guan.png");
  165. background-repeat: no-repeat;
  166. background-size: 100% 100%;
  167. border-radius: 0;
  168. &.van-switch--on{
  169. background-image: url("../image//kai.png");
  170. }
  171. .van-switch__node{
  172. display: none;
  173. }
  174. }
  175. }
  176. .switchLoading {
  177. :global {
  178. .van-switch__node{
  179. display: block;
  180. width: 16px;
  181. height: 16px;
  182. // top: 3px;
  183. }
  184. }
  185. }
  186. }
  187. }
  188. }
  189. }