index.module.less 8.6 KB

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