index.module.less 6.0 KB

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