index.module.less 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. .headerTop {
  2. display: flex;
  3. align-items: center;
  4. width: 100vw;
  5. height: 100%;
  6. flex-shrink: 0;
  7. margin-left: calc(-1 * var(--detailDataPaddingLeft));
  8. padding: 0 30px;
  9. background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  10. &.headerTopRight {
  11. justify-content: flex-end;
  12. }
  13. }
  14. .headerMid {
  15. background: transparent;
  16. width: 40%;
  17. height: 100%;
  18. position: absolute;
  19. left: 50%;
  20. bottom: 0;
  21. transform: translateX(-40%);
  22. }
  23. .modeWarn{
  24. position: fixed;
  25. left: 30px;
  26. bottom: 20px;
  27. border-radius: 16px;
  28. background-color: rgba(12, 51, 107, 0.61);
  29. padding: 6px 11px;
  30. align-items: center;
  31. display: flex;
  32. opacity: 0;
  33. transition: all .3s ease-in;
  34. &>div {
  35. margin-left: 4px;
  36. font-weight: 500;
  37. font-size: 14px;
  38. line-height: 20px;
  39. color: rgba(255, 255, 255, 0.7);
  40. }
  41. &>img {
  42. width: 18px;
  43. height: 18px;
  44. }
  45. &.modeWarnRight {
  46. left: inherit;
  47. right: 30px;
  48. }
  49. }
  50. .headTopLeftBox {
  51. position: fixed;
  52. top: 20px;
  53. left: 30px;
  54. display: flex;
  55. align-items: center;
  56. .img {
  57. width: 32px;
  58. height: 32px;
  59. cursor: pointer;
  60. }
  61. .listImg {
  62. margin-left: 16px;
  63. }
  64. .title {
  65. width: 210px;
  66. margin-left: 10px;
  67. position: relative;
  68. .symbolNote {
  69. max-width: calc(216px + 16px);
  70. position: absolute;
  71. top: 0;
  72. left: 0;
  73. content: "";
  74. width: calc(var(--noticeBarWidth, 100%) + 16px);
  75. height: 100%;
  76. background: url("./image/sj.png") no-repeat;
  77. background-size: 9px 6px;
  78. background-position: center right;
  79. }
  80. :global {
  81. .van-notice-bar {
  82. height: 30px;
  83. line-height: 30px;
  84. padding: 0;
  85. font-weight: 600;
  86. font-size: 18px;
  87. color: #FFFFFF;
  88. }
  89. }
  90. }
  91. .blackTitle {
  92. :global{
  93. .van-notice-bar{
  94. color: #000 !important;
  95. }
  96. }
  97. }
  98. .hidenBack {
  99. opacity: 0;
  100. pointer-events: none;
  101. }
  102. }
  103. .modeChangeBox{
  104. cursor: pointer;
  105. position: fixed;
  106. top: 20px;
  107. right: 30px;
  108. height: 32px;
  109. background: rgba(0, 0, 0, .4);
  110. border-radius: 16px;
  111. display: flex;
  112. align-items: center;
  113. padding: 0 10px;
  114. .img {
  115. width: 18px;
  116. height: 18px;
  117. }
  118. .title {
  119. margin-left: 6px;
  120. font-weight: 500;
  121. font-size: 14px;
  122. color: #FFFFFF;
  123. }
  124. }
  125. .headRight {
  126. display: flex;
  127. align-items: center;
  128. height: 100%;
  129. position: relative;
  130. z-index: 9;
  131. .btn {
  132. position: relative;
  133. display: flex;
  134. flex-direction: column;
  135. align-items: center;
  136. cursor: pointer;
  137. margin-right: 30px;
  138. &:last-child {
  139. margin-right: 0;
  140. }
  141. .iconBtn {
  142. width: 24px;
  143. height: 24px;
  144. }
  145. span {
  146. margin-top: 3px;
  147. font-weight: 500;
  148. font-size: 12px;
  149. color: #FFFFFF;
  150. line-height: 17px;
  151. }
  152. &:active {
  153. >span {
  154. color: #34D6FF
  155. }
  156. ;
  157. }
  158. &.playType:active {
  159. >img:nth-child(1) {
  160. content: url("./image/performAct.png");
  161. }
  162. >img:nth-child(2) {
  163. content: url("./image/singAct.png");
  164. }
  165. }
  166. &.playSource:active {
  167. >img:nth-child(1) {
  168. content: url("./image/musicAct.png");
  169. }
  170. >img:nth-child(2) {
  171. content: url("./image/backgroundAct.png");
  172. }
  173. }
  174. &.songSource:active {
  175. >img:nth-child(1) {
  176. content: url("./image/music1Act.png");
  177. }
  178. >img:nth-child(2) {
  179. content: url("./image/background1Act.png");
  180. }
  181. >img:nth-child(3) {
  182. content: url("./image/mingsongAct.png");
  183. }
  184. }
  185. &.section:active {
  186. >img {
  187. content: url("./image/section2.png");
  188. }
  189. }
  190. &.isSection {
  191. >span {
  192. color: #34D6FF
  193. }
  194. ;
  195. }
  196. &.speed:active {
  197. >img:nth-child(1) {
  198. content: url("./image/tickonAct.png");
  199. }
  200. >img:nth-child(2) {
  201. content: url("./image/tickoffAct.png");
  202. }
  203. }
  204. &.isSpeed {
  205. >img:nth-child(1) {
  206. content: url("./image/tickonAct.png");
  207. }
  208. >img:nth-child(2) {
  209. content: url("./image/tickoffAct.png");
  210. }
  211. >span {
  212. color: #34D6FF
  213. }
  214. ;
  215. }
  216. &.settingMode:active {
  217. >img {
  218. content: url("./image/icon_menuAct.png");
  219. }
  220. }
  221. &.isSettingMode {
  222. >img {
  223. content: url("./image/icon_menuAct.png");
  224. }
  225. >span {
  226. color: #34D6FF
  227. }
  228. ;
  229. }
  230. &.musicSheet:active {
  231. >img {
  232. content: url("./image/shengguiAct.png");
  233. }
  234. }
  235. &.isMusicSheet {
  236. >img {
  237. content: url("./image/shengguiAct.png");
  238. }
  239. >span {
  240. color: #34D6FF
  241. }
  242. ;
  243. }
  244. }
  245. .metronomeBtn {
  246. position: relative;
  247. .speedCon {
  248. transform: scale(0.83);
  249. transform-origin: left bottom;
  250. padding: 2px;
  251. position: absolute;
  252. left: 14px;
  253. top: -9px;
  254. display: flex;
  255. align-items: center;
  256. justify-content: center;
  257. background: #FFC121;
  258. border-radius: 120px 120px 120px 1px;
  259. border: 1px solid #FFFFFF;
  260. >img {
  261. width: 15px;
  262. height: 11px;
  263. }
  264. >div {
  265. margin-left: 1px;
  266. font-weight: 600;
  267. font-size: 12px;
  268. color: #673207;
  269. line-height: 16px;
  270. }
  271. }
  272. }
  273. }
  274. .disabled {
  275. pointer-events: none;
  276. opacity: .5;
  277. }
  278. .playBtn {
  279. cursor: pointer;
  280. position: fixed;
  281. right: 30px;
  282. bottom: 12px;
  283. transition: bottom .2s ease;
  284. .btnWrap {
  285. width: 50px;
  286. height: 50px;
  287. .iconBtn {
  288. display: block;
  289. width: 100%;
  290. height: 100%;
  291. }
  292. }
  293. &.playLeftButton {
  294. left: 30px !important;
  295. right: auto !important;
  296. bottom: 12px !important;
  297. }
  298. &.playRightButton {
  299. right: 30px !important;
  300. left: auto !important;
  301. bottom: 12px !important;
  302. }
  303. .progress {
  304. position: absolute;
  305. left: 50%;
  306. top: 50%;
  307. transform: translate(-50%, -50%);
  308. width: 43px;
  309. height: 43px;
  310. }
  311. }
  312. .resetBtn {
  313. cursor: pointer;
  314. position: fixed;
  315. right: 100px;
  316. bottom: 12px;
  317. transition: bottom .2s ease;
  318. .iconBtn {
  319. display: block;
  320. width: 50px;
  321. height: 50px;
  322. }
  323. &.pauseLeftButton {
  324. left: 102px !important;
  325. right: auto !important;
  326. bottom: 12px !important;
  327. }
  328. &.pauseRightButton {
  329. right: 102px !important;
  330. left: auto !important;
  331. bottom: 12px !important;
  332. }
  333. }
  334. :global {
  335. .var-popup {
  336. overflow: hidden;
  337. pointer-events: none;
  338. .var-popup__overlay,
  339. .var-popup__content {
  340. pointer-events: auto;
  341. }
  342. }
  343. }
  344. .pcTransPop {
  345. z-index: 999 !important;
  346. }
  347. .modeView {
  348. position: fixed;
  349. z-index: 10000;
  350. top: 0;
  351. left: 0;
  352. width: 100vw;
  353. height: 100vh;
  354. background: url(./image/bg.png) no-repeat;
  355. background-size: cover;
  356. transition: all .3s;
  357. &.hidden {
  358. opacity: 0;
  359. transform: translateY(100%);
  360. pointer-events: none;
  361. }
  362. .back {
  363. position: absolute;
  364. width: 38px;
  365. height: 38px;
  366. left: 27px;
  367. top: 17px;
  368. cursor: pointer;
  369. }
  370. .name {
  371. position: absolute;
  372. left: 50%;
  373. top: 23px;
  374. transform: translateX(-50%);
  375. width: 87px;
  376. height: 21px;
  377. }
  378. .modeBox {
  379. width: 100%;
  380. display: flex;
  381. justify-content: space-between;
  382. padding: 0 36px;
  383. position: relative;
  384. top: 50%;
  385. transform: translateY(-50%);
  386. &.twoModeBox {
  387. justify-content: center;
  388. >.modeImg+.modeImg {
  389. margin-left: 150px;
  390. }
  391. }
  392. > .modeImg {
  393. cursor: pointer;
  394. width: calc((100% - 2*40px)/3);
  395. max-width: 220px;
  396. }
  397. }
  398. }
  399. .hiddenPop {
  400. width: 1px;
  401. height: 1px;
  402. overflow: hidden;
  403. opacity: 0;
  404. }
  405. .socketErrorStatus {
  406. top: 20vh;
  407. }