index.module.less 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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: 80%;
  78. top: -120%;
  79. transform: translateX(-50%);
  80. font-size: 18px;
  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: 43px;
  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(255, 146, 0, 1) !important;
  225. }
  226. path {
  227. fill: rgba(255, 146, 0, 1) !important;
  228. stroke: rgba(255, 146, 0, 1) !important;
  229. }
  230. :global {
  231. .tip-down {
  232. display: flex;
  233. }
  234. }
  235. }
  236. .follow-up {
  237. .van-icon-cross {
  238. color: rgba(255, 102, 166, 1) !important;
  239. }
  240. path {
  241. fill: rgba(255, 102, 166, 1) !important;
  242. stroke: rgba(255, 102, 166, 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(0, 255, 148, 1);
  258. }
  259. path {
  260. fill: rgba(0, 255, 148, 1) !important;
  261. stroke: rgba(0, 255, 148, 1) !important;
  262. }
  263. :global {
  264. .tip-up, .tip-down {
  265. display: none;
  266. }
  267. }
  268. }
  269. }
  270. .linePC {
  271. .line {
  272. min-height: 94Px;
  273. transform: translateX(8.5Px,-50%);
  274. }
  275. }
  276. .noteDot {
  277. position: absolute;
  278. left: 50%;
  279. top: 50%;
  280. transform: translate(-50%);
  281. width: 2px;
  282. height: 2px;
  283. // background: #07c160;
  284. }
  285. // 阴影
  286. .staveBgContainer{
  287. position: absolute;
  288. left: 0;
  289. top: 0;
  290. right: 0;
  291. z-index: -100;
  292. .staveBg{
  293. position: absolute;
  294. height: 8px !important;
  295. background: linear-gradient(rgba(7, 24, 56, 0.5) 0%, #010D31 100%);
  296. filter: blur(5Px);
  297. opacity: 0.7;
  298. margin-top: -4px;
  299. }
  300. }