index.module.less 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  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: #FFB800;
  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: #FFB800;
  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(25, 140, 254, 0.7);
  51. min-height: 58PX;
  52. height: 58PX;
  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: 50%;
  78. top: -90%;
  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: rgb(255, 145, 0);
  125. color: #fff;
  126. font-weight: bold;
  127. font-size: 14px;
  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.6);
  144. position: relative;
  145. padding: 3px 6px;
  146. border-radius: 16px;
  147. width: fit-content;
  148. left: 50%;
  149. top: -30px;
  150. transform: translate(-50%);
  151. img {
  152. width: 14px;
  153. height: 14px;
  154. margin-right: 4px;
  155. }
  156. span {
  157. font-size: 12px;
  158. color: #fff;
  159. word-break: keep-all;
  160. display: flex;
  161. width: fit-content;
  162. }
  163. ::before {
  164. content: "";
  165. position: absolute;
  166. left: 50%;
  167. bottom: -7PX;
  168. transform: translateX(-50%);
  169. width: 0;
  170. height: 0;
  171. border-top: 8PX solid rgba(0,0,0,0.6);
  172. border-right: 8PX solid transparent;
  173. border-left: 8PX solid transparent;
  174. z-index: 2;
  175. }
  176. }
  177. .followTipUp {
  178. i {
  179. font-style: normal;
  180. color: rgba(255, 102, 166, 1);
  181. }
  182. }
  183. .followTipDown {
  184. i {
  185. font-style: normal;
  186. color: rgba(255, 146, 0, 1);
  187. }
  188. }
  189. :global {
  190. .follow-error {
  191. display: block;
  192. .van-icon-cross {
  193. display: block;
  194. }
  195. :global {
  196. .tip-up, .tip-down {
  197. display: none;
  198. }
  199. }
  200. }
  201. .follow-down {
  202. .van-icon-cross {
  203. color: rgba(255, 146, 0, 1) !important;
  204. }
  205. path {
  206. fill: rgba(255, 146, 0, 1) !important;
  207. stroke: rgba(255, 146, 0, 1) !important;
  208. }
  209. :global {
  210. .tip-down {
  211. display: flex;
  212. }
  213. }
  214. }
  215. .follow-up {
  216. .van-icon-cross {
  217. color: rgba(255, 102, 166, 1) !important;
  218. }
  219. path {
  220. fill: rgba(255, 102, 166, 1) !important;
  221. stroke: rgba(255, 102, 166, 1) !important;
  222. }
  223. :global {
  224. .tip-up {
  225. display: flex;
  226. }
  227. }
  228. }
  229. .follow-success {
  230. display: block;
  231. transform-box: fill-box;
  232. transform-origin: center;
  233. animation: noteAnimate 1s linear;
  234. .van-icon-success {
  235. display: block;
  236. color: rgba(0, 255, 148, 1);
  237. }
  238. path {
  239. fill: rgba(0, 255, 148, 1) !important;
  240. stroke: rgba(0, 255, 148, 1) !important;
  241. }
  242. :global {
  243. .tip-up, .tip-down {
  244. display: none;
  245. }
  246. }
  247. }
  248. }
  249. .linePC {
  250. .line {
  251. min-height: 94Px;
  252. transform: translateX(8.5Px,-50%);
  253. }
  254. }
  255. .noteDot {
  256. position: absolute;
  257. left: 50%;
  258. top: 50%;
  259. transform: translate(-50%);
  260. width: 2px;
  261. height: 2px;
  262. // background: #07c160;
  263. }
  264. .staveBg {
  265. &::before {
  266. content: "";
  267. position: absolute;
  268. left: 0;
  269. bottom: -10Px;
  270. width: 100%;
  271. height: 8Px;
  272. background: linear-gradient(rgba(7, 24, 56, 0.5) 0%, #010D31 100%);
  273. z-index: 0;
  274. filter: blur(5Px);
  275. opacity: 0.7;
  276. }
  277. }