index.module.less 7.8 KB

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