index.module.less 8.3 KB

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