index.module.less 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. .selectionContainer {
  2. position: absolute;
  3. left: 0;
  4. top: 0;
  5. right: 0;
  6. z-index: 2;
  7. }
  8. .position {
  9. position: absolute;
  10. }
  11. .note {
  12. cursor: pointer;
  13. // background: rgba(0,0,0,0.3);
  14. }
  15. .selectBox{
  16. position: absolute;
  17. width: 3Px;
  18. background-color: #01C1B5;
  19. z-index: 9;
  20. .selectHandle{
  21. position: absolute;
  22. top: -22Px;
  23. right: 0;
  24. width: 22Px;
  25. height: 22Px;
  26. cursor: pointer;
  27. background-color: #01C1B5;
  28. background-image: url("./imgs/close.png");
  29. background-repeat: no-repeat;
  30. background-size: 15Px 15Px;
  31. background-position: 4Px 3Px;
  32. border-radius: 100Px 0 0 100Px;
  33. &.selectHandleRight{
  34. right: -19Px;
  35. background-position: 3Px 3Px;
  36. border-radius: 0 100Px 100Px 0;
  37. }
  38. &.playIng{
  39. pointer-events: none;
  40. background-image:none;
  41. }
  42. }
  43. }
  44. .disable {
  45. pointer-events: none;
  46. }
  47. .line {
  48. position: absolute;
  49. height: 120%;
  50. background-color: rgba(45, 199, 170, 1);
  51. min-height: 60PX;
  52. height: 60PX;
  53. top: 50%;
  54. // width: 14PX;
  55. width: 2PX !important;
  56. // margin-top: -17PX;
  57. border-radius: 4Px;
  58. opacity: var(--corsor-opacity);
  59. transform: translate(4PX, -50%);
  60. }
  61. .eyeLine {
  62. background-color: rgb(255, 159, 88);
  63. }
  64. .lineStaff {
  65. width: 14PX;
  66. }
  67. .lineJianPu {
  68. width: 18PX;
  69. }
  70. :global {
  71. .lineHide {
  72. opacity: 0 !important;
  73. }
  74. }
  75. .scoreItem {
  76. position: absolute;
  77. left: 80%;
  78. top: -120%;
  79. transform: translateX(-50%);
  80. font-size: 16px;
  81. font-family: "Roboto", sans-serif;
  82. font-weight: bold;
  83. display: flex;
  84. align-items: center;
  85. pointer-events: none;
  86. transition: all .8s;
  87. img {
  88. height: 30px;
  89. }
  90. }
  91. :global {
  92. .scoreItemLeve0 {
  93. background-color: rgba(255, 142, 142, 0.32) !important;
  94. }
  95. .scoreItemLeve1 {
  96. background-color: rgba(1, 193, 181, 0.2) !important;
  97. }
  98. .scoreItemLeve2 {
  99. background-color: rgba(255, 178, 82, 0.37) !important;
  100. }
  101. .scoreItemLeve3 {
  102. background-color: rgba(255, 220, 64, 0.4) !important;
  103. }
  104. .centerTop-enter-active {
  105. opacity: 1;
  106. }
  107. .centerTop-enter-from {
  108. opacity: 0;
  109. left: 50%;
  110. top: 50%;
  111. transform: translateX(-50%) translateY(-50%) scale(.3);
  112. }
  113. }
  114. .dotWrap {
  115. position: absolute;
  116. top: -10px;
  117. right: 6%;
  118. display: flex;
  119. justify-content: center;
  120. align-items: center;
  121. width: 20px;
  122. height: 20px;
  123. border-radius: 50%;
  124. background-color: #FFC121;
  125. color: #673207;
  126. font-size: 14px;
  127. font-weight: 600;
  128. }
  129. .noteFollow {
  130. pointer-events: none;
  131. text-align: center;
  132. display: none;
  133. :global {
  134. .van-icon-success,
  135. .van-icon-cross {
  136. display: none;
  137. }
  138. }
  139. }
  140. // .followTipUp, .followTipDown {
  141. // display: flex;
  142. // align-items: center;
  143. // background: rgba(0,0,0,0.75);
  144. // position: relative;
  145. // padding: 6px 10px;
  146. // border-radius: 16px;
  147. // width: fit-content;
  148. // left: 50%;
  149. // top: -42px;
  150. // transform: translate(-50%);
  151. // img {
  152. // width: 18px;
  153. // height: 18px;
  154. // margin-right: 6px;
  155. // }
  156. // span {
  157. // font-size: 14px;
  158. // font-weight: 500;
  159. // color: #fff;
  160. // word-break: keep-all;
  161. // display: flex;
  162. // width: fit-content;
  163. // }
  164. // ::before {
  165. // content: "";
  166. // position: absolute;
  167. // left: 50%;
  168. // bottom: -8PX;
  169. // transform: translateX(-50%);
  170. // width: 13Px;
  171. // height: 9Px;
  172. // background-image: url('./imgs/arrow_icon.png');
  173. // background-size: 100% 100%;
  174. // background-position: center center;
  175. // background-repeat: no-repeat;
  176. // z-index: 2;
  177. // opacity: 0.7;
  178. // }
  179. // }
  180. .followTipUp, .followTipDown {
  181. display: flex;
  182. align-items: center;
  183. position: relative;
  184. width: fit-content;
  185. left: 50%;
  186. top: -40px;
  187. transform: translate(-50%);
  188. > img {
  189. width: auto;
  190. height: 38px;
  191. }
  192. }
  193. .isPad{
  194. .followTipUp, .followTipDown {
  195. transform: translate(-50%) scale(0.7);
  196. }
  197. }
  198. .followTipUp {
  199. i {
  200. font-style: normal;
  201. color: rgba(255, 102, 166, 1);
  202. }
  203. }
  204. .followTipDown {
  205. i {
  206. font-style: normal;
  207. color: rgba(255, 146, 0, 1);
  208. }
  209. }
  210. :global {
  211. .follow-error {
  212. display: block;
  213. .van-icon-cross {
  214. display: block;
  215. }
  216. :global {
  217. .tip-up, .tip-down {
  218. display: none;
  219. }
  220. }
  221. }
  222. .follow-down {
  223. .van-icon-cross {
  224. color: rgba(14, 121, 255, 1) !important;
  225. }
  226. path {
  227. fill: rgba(14, 121, 255, 1) !important;
  228. stroke: rgba(14, 121, 255, 1) !important;
  229. }
  230. :global {
  231. .tip-down {
  232. display: flex;
  233. }
  234. }
  235. }
  236. .follow-up {
  237. .van-icon-cross {
  238. color: rgba(239, 35, 29, 1) !important;
  239. }
  240. path {
  241. fill: rgba(239, 35, 29, 1) !important;
  242. stroke: rgba(239, 35, 29, 1) !important;
  243. }
  244. :global {
  245. .tip-up {
  246. display: flex;
  247. }
  248. }
  249. }
  250. .follow-success {
  251. // display: block;
  252. transform-box: fill-box;
  253. transform-origin: center;
  254. animation: noteAnimate 1s linear;
  255. .van-icon-success {
  256. display: block;
  257. color: rgba(1, 185, 150, 1);
  258. }
  259. path {
  260. fill: rgba(1, 185, 150, 1) !important;
  261. stroke: rgba(1, 185, 150, 1) !important;
  262. }
  263. :global {
  264. .tip-up, .tip-down {
  265. display: none;
  266. }
  267. }
  268. }
  269. .dotActive {
  270. // background: #01C1B5;
  271. :global {
  272. .node-dot::before{
  273. content: "";
  274. position: absolute;
  275. left: 50%;
  276. top: 50%;
  277. width: 2PX;
  278. height: 60PX;
  279. transform: translate(-50%, -50%);
  280. background: #2DC7AA;
  281. }
  282. }
  283. }
  284. }
  285. .linePC {
  286. .line {
  287. min-height: 94Px;
  288. transform: translateX(8.5Px,-50%);
  289. }
  290. }
  291. .noteDot {
  292. position: absolute;
  293. left: 50%;
  294. top: 50%;
  295. transform: translate(-50%);
  296. width: 2px;
  297. height: 2px;
  298. // background: #07c160;
  299. }
  300. // 阴影
  301. .staveBgContainer{
  302. position: absolute;
  303. left: 0;
  304. top: 0;
  305. right: 0;
  306. z-index: -100;
  307. .staveBg{
  308. position: absolute;
  309. height: 8px !important;
  310. background: linear-gradient(rgba(7, 24, 56, 0.5) 0%, #010D31 100%);
  311. filter: blur(5Px);
  312. opacity: 0.7;
  313. margin-top: -4px;
  314. }
  315. }
  316. .middleZoom {
  317. .line {
  318. height: 75PX;
  319. }
  320. :global {
  321. .node-dot::before{
  322. height: 75PX;
  323. }
  324. }
  325. }
  326. .bigZoom {
  327. .line {
  328. height: 90PX;
  329. }
  330. :global {
  331. .node-dot::before{
  332. height: 90PX;
  333. }
  334. }
  335. }
  336. .largeZoom {
  337. .line {
  338. height: 105PX;
  339. }
  340. :global {
  341. .node-dot::before{
  342. height: 105PX;
  343. }
  344. }
  345. }
  346. .largeZoom2 {
  347. .line {
  348. height: 120PX;
  349. width: 3PX;
  350. }
  351. :global {
  352. .node-dot::before{
  353. height: 120PX;
  354. width: 4PX;
  355. }
  356. }
  357. }
  358. .largeZoom3 {
  359. .line {
  360. height: 140PX;
  361. width: 3PX;
  362. }
  363. :global {
  364. .node-dot::before{
  365. height: 140PX;
  366. width: 4PX;
  367. }
  368. }
  369. }
  370. .smallZoom {
  371. .line {
  372. height: 45PX;
  373. min-height: 45PX;
  374. width: 1PX;
  375. }
  376. :global {
  377. .node-dot::before{
  378. height: 45PX;
  379. width: 2PX;
  380. }
  381. }
  382. }
  383. .litteZoom {
  384. .line {
  385. height: 35PX;
  386. min-height: 35PX;
  387. width: 1PX;
  388. }
  389. :global {
  390. .node-dot::before{
  391. height: 35PX;
  392. width: 2PX;
  393. }
  394. }
  395. }