.headerTop { display: flex; align-items: center; width: 100vw; height: 100%; flex-shrink: 0; margin-left: calc(-1 * var(--detailDataPaddingLeft)); padding: 0 30px; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); &.headerTopRight { justify-content: flex-end; } } .modeWarn { position: fixed; left: 30px; bottom: 20px; border-radius: 16px; background-color: rgba(12, 51, 107, 0.61); padding: 6px 11px; align-items: center; display: flex; opacity: 0; transition: all .3s ease-in; &>div { margin-left: 4px; font-weight: 500; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.7); } &>img { width: 18px; height: 18px; } &.modeWarnRight { left: inherit; right: 30px; } } .headTopLeftBox { position: fixed; top: 20px; left: 30px; display: flex; align-items: center; .img { width: 32px; height: 32px; } .listImg { margin-left: 16px; } .title { width: 210px; margin-left: 10px; position: relative; .symbolNote { max-width: calc(216px + 16px); position: absolute; top: 0; left: 0; content: ""; width: calc(var(--noticeBarWidth, 100%) + 16px); height: 100%; background: url("./image/sj.png") no-repeat; background-size: 9px 6px; background-position: center right; } :global { .van-notice-bar { height: 30px; line-height: 30px; padding: 0; font-weight: 600; font-size: 18px; color: #FFFFFF; } } } .hidenBack { opacity: 0; pointer-events: none; } } .modeChangeBox { position: fixed; top: 20px; right: 30px; height: 32px; background: rgba(0, 0, 0, .4); border-radius: 16px; display: flex; align-items: center; padding: 0 10px; .img { width: 18px; height: 18px; } .title { margin-left: 6px; font-weight: 500; font-size: 14px; color: #FFFFFF; } } .headRight { display: flex; align-items: center; height: 100%; .btn { position: relative; display: flex; flex-direction: column; align-items: center; cursor: pointer; margin-right: 30px; &:last-child { margin-right: 0; } .iconBtn { width: 24px; height: 24px; } span { margin-top: 3px; font-weight: 500; font-size: 12px; color: #FFFFFF; line-height: 17px; } &:active { >span { color: #34D6FF } ; } &.playType:active { >img:nth-child(1) { content: url("./image/performAct.png"); } >img:nth-child(2) { content: url("./image/singAct.png"); } } &.playSource:active { >img:nth-child(1) { content: url("./image/musicAct.png"); } >img:nth-child(2) { content: url("./image/backgroundAct.png"); } } &.songSource:active { >img:nth-child(1) { content: url("./image/music1Act.png"); } >img:nth-child(2) { content: url("./image/background1Act.png"); } >img:nth-child(3) { content: url("./image/mingsongAct.png"); } } &.section:active { >img { content: url("./image/section2.png"); } } &.isSection { >span { color: #34D6FF } ; } &.speed:active { >img:nth-child(1) { content: url("./image/tickonAct.png"); } >img:nth-child(2) { content: url("./image/tickoffAct.png"); } } &.isSpeed { >img:nth-child(1) { content: url("./image/tickonAct.png"); } >img:nth-child(2) { content: url("./image/tickoffAct.png"); } >span { color: #34D6FF } ; } &.settingMode:active { >img { content: url("./image/icon_menuAct.png"); } } &.isSettingMode { >img { content: url("./image/icon_menuAct.png"); } >span { color: #34D6FF } ; } &.musicSheet:active { >img { content: url("./image/shengguiAct.png"); } } &.isMusicSheet { >img { content: url("./image/shengguiAct.png"); } >span { color: #34D6FF } ; } } .metronomeBtn { position: relative; .speedCon { transform: scale(0.83); transform-origin: left bottom; padding: 2px; position: absolute; left: 14px; top: -9px; display: flex; align-items: center; background: #FFC121; border-radius: 120px 120px 120px 1px; border: 1px solid #FFFFFF; >img { width: 15px; height: 11px; } >div { margin-left: 1px; font-weight: 600; font-size: 12px; color: #673207; line-height: 1; } } } } .disabled { pointer-events: none; opacity: .5; } .playBtn { position: fixed; right: 30px; bottom: 12px; transition: bottom .2s ease; .btnWrap { width: 50px; height: 50px; .iconBtn { display: block; width: 100%; height: 100%; } } &.playLeftButton { left: 46px !important; right: auto !important; bottom: 12px !important; } &.playRightButton { right: 46px !important; left: auto !important; bottom: 12px !important; } .progress { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 43px; height: 43px; } } .resetBtn { position: fixed; right: 100px; bottom: 12px; transition: bottom .2s ease; .iconBtn { display: block; width: 50px; height: 50px; } &.pauseLeftButton { left: 108px !important; right: auto !important; bottom: 12px !important; } &.pauseRightButton { right: 108px !important; left: auto !important; bottom: 12px !important; } } :global { .var-popup { overflow: hidden; pointer-events: none; .var-popup__overlay, .var-popup__content { pointer-events: auto; } } } .pcTransPop { z-index: 999 !important; } .modeView { position: fixed; z-index: 10000; top: 0; left: 0; width: 100vw; height: 100vh; background: url(./image/bg.png) no-repeat; background-size: 100% 100%; transition: all .3s; &.hidden { opacity: 0; transform: translateY(100%); pointer-events: none; } .back { position: absolute; width: 38px; height: 38px; left: 27px; top: 17px; cursor: pointer; } .name { position: absolute; left: 50%; top: 23px; transform: translateX(-50%); width: 87px; height: 21px; } .modeBox { width: 100%; margin-top: 90px; display: flex; justify-content: space-between; padding: 0 36px; &.twoModeBox { justify-content: center; >.modeImg+.modeImg { margin-left: 150px; } } >.modeImg { width: calc((100% - 2*40px)/3); max-width: 220px; } } } .hiddenPop { width: 1px; height: 1px; overflow: hidden; opacity: 0; } .socketErrorStatus { top: 20vh; }