index.module.less 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. .speedContainer{
  2. .head{
  3. background: url("../image/headImg.png") no-repeat;
  4. background-size: 100% 100%;
  5. width: 372px;
  6. height: 57px;
  7. position: relative;
  8. .headTit{
  9. position: absolute;
  10. bottom: 9px;
  11. left: 50%;
  12. transform: translateX(-50%);
  13. width: 95px;
  14. height: 20px;
  15. }
  16. .closeImg{
  17. position: absolute;
  18. top: 0;
  19. right: -38px;
  20. width: 32px;
  21. height: 32px;
  22. cursor: pointer;
  23. }
  24. }
  25. .content{
  26. width: 354px;
  27. height: 225px;
  28. background: #B0D8FF;
  29. box-shadow: 0px 4px 0px 0px #7AAEE0;
  30. border-radius: 0px 0px 24px 24px;
  31. margin: 0 auto;
  32. padding: 10px;
  33. .conBox{
  34. width: 100%;
  35. height: 100%;
  36. background: #EAF2FB;
  37. border-radius: 12px;
  38. overflow-y: auto;
  39. padding: 12px 16px 0;
  40. &::-webkit-scrollbar {
  41. width: 0;
  42. display: none;
  43. }
  44. .tit{
  45. font-weight: 600;
  46. font-size: 15px;
  47. color: #000000;
  48. line-height: 21px;
  49. }
  50. .spendCon{
  51. margin-top: 20px;
  52. display: flex;
  53. align-items: center;
  54. padding: 3px 0;
  55. .btn{
  56. width: 24px;
  57. height: 24px;
  58. flex-shrink: 0;
  59. cursor: pointer;
  60. }
  61. .sliderCon{
  62. padding: 0 18px;
  63. flex-grow: 1;
  64. :global{
  65. .van-slider{
  66. height: 10px;
  67. background: #94ACC4;
  68. box-shadow: inset 0px 2px 3px 0px #647F98;
  69. .van-slider__bar{
  70. background: linear-gradient( 270deg, #7ADEFF 0%, #29A9FF 100%);
  71. box-shadow: inset 1px 0px 5px 0px rgba(150,254,255,0.79);
  72. border: 1px solid #4A91D4;
  73. .van-slider__button-wrapper{
  74. bottom: 0;
  75. top: initial;
  76. transform: translate3d(50%,12px,0);
  77. }
  78. }
  79. }
  80. }
  81. .customButton{
  82. display: flex;
  83. flex-direction: column;
  84. align-items: center;
  85. .speedVal{
  86. width: 34px;
  87. height: 31px;
  88. background: url("../image/qipao.png") no-repeat;
  89. background-size: 100% 100%;
  90. font-weight: 600;
  91. font-size: 14px;
  92. color: #FFFFFF;
  93. line-height: 20px;
  94. text-align: center;
  95. padding-top: 3px;
  96. }
  97. .speedBtn{
  98. width: 16px;
  99. height: 30px;
  100. background: url("../image/speedBtn.png") no-repeat;
  101. background-size: 100% 100%;
  102. }
  103. }
  104. }
  105. }
  106. .speedSel{
  107. margin-top: 20px;
  108. padding-bottom: 18px;
  109. border-bottom: 1px solid #D5E0ED;
  110. display: flex;
  111. justify-content: space-between;
  112. & > div{
  113. padding: 3px 13px;
  114. background: #FFFFFF;
  115. border-radius: 14px;
  116. font-weight: 400;
  117. font-size: 13px;
  118. color: rgba(0,0,0,0.6);
  119. line-height: 18px;
  120. cursor: pointer;
  121. &:active{
  122. background: linear-gradient( 131deg, #44CAFF 0%, #259CFE 100%);
  123. }
  124. }
  125. }
  126. .metronome{
  127. margin-top: 18px;
  128. display: flex;
  129. justify-content: space-between;
  130. align-items: center;
  131. :global{
  132. .van-switch{
  133. width: 42px;
  134. height: 21px;
  135. background-color: transparent!important;
  136. background-image: url("../image/guan.png");
  137. background-repeat: no-repeat;
  138. background-size: 100% 100%;
  139. border-radius: 0;
  140. &.van-switch--on{
  141. background-image: url("../image//kai.png");
  142. }
  143. .van-switch__node{
  144. display: none;
  145. }
  146. }
  147. }
  148. }
  149. }
  150. }
  151. }