@font-face { font-family: 'jianzhu'; src: url('./lsy.ttf'); font-weight: normal; font-size: normal; } .fingerBox { position: relative; display: flex; flex-direction: column; width: 100vw; height: 100vh; background: rgba(215, 205, 199, 1); user-select: none; .hiddens { display: none; } &.fingerRight { background: url('./image/icon_bg_t.png') no-repeat rgba(215, 205, 199, 1); background-size: cover; .fingerContent { flex-direction: row; } .backBtn { padding: 26px 5px 26px 18px; } .tips { width: 43%; border-radius: 18px 0px 0px 18px; padding: 8px; background-image: url('./image/icon_shuo_h.png'); &::before { content: ''; position: absolute; left: 8px; top: 8px; right: 8px; bottom: 8px; border-radius: 15px; border: 1px solid rgba(240, 234, 230, 1); pointer-events: none; } &.tipHidden { margin-right: -43%; } .tipContentbox { padding: 6px 8px 8px 8px; border-radius: 16px; } .tipContent { border-radius: 16px; padding: 14px 8px 4px 8px; } } } &.fingerBottom { background: url('./image/icon_bg_v.png') no-repeat; background-size: cover; .fingerContent { flex-direction: column; } .tips { height: 280px; border-radius: 18px 18px 0 0; padding: 8px 8px 0 8px; background-image: url('./image/icon_shuo_v.png'); &::before { content: ''; position: absolute; left: 8px; top: 8px; right: 8px; bottom: 0; border-radius: 15px; border: 1px solid rgba(240, 234, 230, 1); pointer-events: none; } &.tipHidden { margin-bottom: -280px; } .tipContentbox { padding: 6px 8px 0 8px; border-radius: 16px 16px 0 0; } .tipContent { border-radius: 16px 16px 0 0; border-bottom: transparent; padding: 14px 4px 4px 4px; } } } .tipsOverlay{ width: 57%; height: 100%; position: fixed; top: 0; left: 0; z-index: 2009; animation: bgIn 0.2s 0.2s forwards; } &.fingerRight .tipsPcBg.tips{ animation: bgIn 0.15s 0.25s forwards; border-radius:0; background-image: url('./image/icon_shuo_v.png') !important; } @keyframes bgIn { 0%{ background-color: initial; } 100%{ background-color: rgba(0,0,0,0.5); } } } .popoverContainer { --van-popover-action-height: 32px; --van-popover-action-font-size: 14px; --van-popover-radius: 12px; --van-popover-action-width: 85px; z-index: 9999 !important; padding: 6Px 0; background-color: #fff; box-shadow: 0 0.05333rem 0.32rem rgba(50, 50, 51, .12); margin-top: 9px !important; border-radius: 8px; color: #999; :global { .van-popover__content { max-height: 200px; box-shadow: none; overflow-y: auto; overflow-x: hidden; &::-webkit-scrollbar { width: 4px; } &::-webkit-scrollbar-thumb { border-radius: 12px; background: rgba(0, 0, 0, 0.2); visibility: hidden; } &::-webkit-scrollbar-track { border-radius: 0; background: rgba(0, 0, 0, 0.1); visibility: hidden; } } .van-popover__action { padding: 0 9px; } } .selected { color: #1CACF1; font-weight: 600; } } .head { position: absolute; left: 0; top: 0; right: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; padding-right: 18px; padding-top: env(safe-area-inset-top); z-index: 5; .backBtn { margin-right: 14px; position: relative; padding: 12px 12px 12px 18px; display: flex; align-items: center; justify-content: center; border: none; background: none; cursor: pointer; pointer-events: auto; img { height: 34px; } } .left { display: flex; align-items: center; .baseBtn { margin: 0 6px; background: linear-gradient(180deg, #F4EFED 0%, #E5DCD7 100%) !important; box-shadow: 0px 1px 2px 0px #9F9690, inset 0px -2px 0px 0px rgba(205, 192, 181, 0.47), inset 0px 2px 1px 0px #FFFFFF; border-radius: 5px !important; width: 98px; height: 34px; background: rgba(255, 255, 255, .48); border-radius: 10px; font-size: 12px; font-weight: 600; color: #616161; line-height: 17px; text-align: center; cursor: pointer; display: flex; justify-content: center; align-items: center; pointer-events: auto; img { width: 18px; height: 18px; margin-right: 4px; } &:active { opacity: .8; } } } } .fingerContent { flex: 1; overflow: hidden; display: flex; .wrapFinger { flex: 1; overflow: hidden; display: flex; flex-direction: column; } .userTab{ display: flex; justify-content: center; width: 100%; .userTabBox{ width: 100%; .notes{ padding-bottom: 10px; height: initial; .noteContent{ padding: 0 10px; } .changeMusBtn{ margin-right: 8px; text-align: center; width: 42px; background: linear-gradient( 180deg, #F4EFED 0%, #D9CEC7 100%); box-shadow: 0px 1px 2px 0px #9F9690, inset 0px -2px 0px 0px #CDC0B5, inset 0px 2px 1px 0px #FFFFFF; border-radius: 21px; font-weight: 600; font-size: 12px; color: #616161; line-height: 16px; padding: 7px 6px; } } .optionBtns{ padding-bottom: 0; } :global{ .van-tabs__wrap{ width: 100%; display: flex; justify-content: center; height: 30px; .van-tabs__nav{ width: 120px; background-color: initial; border-bottom: 2px solid rgba(82,138,214,0.15); height: initial; padding-bottom: initial; .van-tab{ font-weight: 400; font-size: 15px; color: #616161; &.van-tab--active{ font-weight: 600; color: #616161; } } .van-tabs__line{ width: 32px; bottom: -2px; height: 2px; background: #528AD6; border-radius: 3px; } } } .van-tabs__content{ padding-top: 16px; height: 130px; .van-tab__panel{ height: 100%; } } } .btnBox{ height: 100%; display: flex; justify-content: center; align-items: center; margin-top: -16px; .btnCon{ border-radius: 17px; display: flex; background: rgba(255, 255, 255, 0.5); padding: 6px 5px 3px 6px; .btnGr{ background: url("./image/btnBg.png") no-repeat; background-size: 100% 100%; width: 93px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; margin-left: 5px; &:first-child{ margin-left: 0; } >img{ width: 19px; height: 19px; } >span{ font-weight: 500; font-size: 14px; color: #616161; line-height: 20px; } &.btnGrToggleBtn{ font-weight: 500; font-size: 14px; color: #616161; >div{ display: flex; flex-direction: column; align-items: center; &.nameBox{ flex-direction: initial; .dot { display: inline-block; position: absolute; top: 0; } } } .name{ display: flex; } .arrowImg{ margin-top: 2px; width: 9px; height: 5px; } } } } } } } .boxFinger { flex: 1; padding-top: 50px; overflow: hidden; &.pcBoxFinger{ padding-top: 10px !important; } } } .tips { display: flex; flex-direction: column; height: 100%; position: relative; z-index: 11; flex-shrink: 0; transition: all .3s; // background-color: rgba(190, 166, 140, 1); background-size: 100% 100%; background-repeat: no-repeat; overflow: hidden; .tipTitle { position: relative; height: 48px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; padding-bottom: 8px; :global { .van-button:active:before { opacity: 0 !important; } } } .tipTitleName { position: relative; font-weight: 600; z-index: 1; color: #fff; font-size: 16px; text-shadow: 0px 1px 2px #6D4825; &::before { content: ''; position: absolute; left: -40px; top: 50%; transform: translateY(-50%); width: 25px; height: 1px; background: #fff; z-index: -1; } &::after { content: ''; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 25px; height: 1px; background: #fff; z-index: -1; } } .tipImg { position: absolute; top: 53px; left: 8px; right: 8px; img { position: absolute; width: 100%; height: 30px; display: block; } } .tipClose { position: absolute; right: 0; top: 0; height: 100%; border: none; background: transparent; border-radius: 0; } .iconBook { position: absolute; top: 48px; left: 37px; right: 37px; height: 26px; pointer-events: none; background: url('./image/icon_popup_book.png'); background-size: contain; z-index: 1; } .tipContentbox { position: relative; flex: 1; background: #FFFFFF; display: flex; overflow: hidden; &::before { content: ''; position: absolute; top: 0; left: 0; right: 0; padding-bottom: 45%; background: url('./image/icon_popup_top.png') no-repeat; background-size: 100%; opacity: .4; pointer-events: none; z-index: 1; } &::after { content: ''; position: absolute; top: 6.5px; left: 16px; right: 16px; height: 10px; background: #fff; border-radius: 5px; pointer-events: none; border-top: 1.5px solid rgba(180, 165, 154, 1); } } .tipContent { flex: 1; border: 1.5px solid rgba(180, 165, 154, 1); color: rgba(68, 59, 59, 1); font-size: 12px; overflow: hidden; overflow-y: auto; } } .tipItem { display: flex; line-height: 18px; margin-bottom: 8px; background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F7 100%); border-radius: 5px; padding: 10px; .iconWrap { display: flex; align-items: center; height: 18px; margin-right: 6px; } .tipItemIcon { width: 16px; height: 16px; background: linear-gradient(180deg, rgba(224, 180, 135, 1) 0%, rgba(195, 164, 134, 1) 100%); font-weight: 600; line-height: 16px; color: #FFFFFF; text-shadow: 0px 1px 1px #C8946D; border-radius: 50%; text-align: center; } } .notes { position: relative; display: flex; justify-content: center; align-items: flex-start; height: 65px; flex-shrink: 0; cursor: pointer; &.paddingLeft { padding-left: 20Px; } .noteContent { display: flex; position: relative; // max-width: calc(100% - 92px); max-width: 73%; border-radius: 25px; background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.6); overflow: hidden; &.noteContentOther { // max-width: calc(100% - 92px - 52px - 5Px); } &.noteContentWrap { &::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 23px; background: url('./image/icon_shadow_left.png') no-repeat; background-size: 100% 100%; z-index: 10; pointer-events: none; } &::after { content: ''; position: absolute; right: 0; top: 0; height: 100%; width: 23px; background: url('./image/icon_shadow_r.png') no-repeat; background-size: 100% 100%; z-index: 10; pointer-events: none; } } } .lastNoteContent { display: flex; position: relative; max-width: calc(100%); border-radius: 0 25px 25px 0; // background: rgba(255, 255, 255, 0.5); // border: 1px solid rgba(255, 255, 255, 0.6); overflow: hidden; } .noteBox { display: flex; overflow-y: hidden; overflow-x: auto; border-radius: 0 25px 25px 0; z-index: 9; &::-webkit-scrollbar { width: 0; display: none; } } .noteBtn { background: transparent; color: rgba(112, 99, 88, .41); border: 0; padding: 0; font-size: 22px; height: 46px; :global { .van-icon { font-weight: bold; } } &.disabled { color: rgba(69, 143, 177, .32); } &::before { opacity: 0 !important; } } .tipsT { position: absolute; z-index: 99; top: -40px; } .playTips { width: 107px; height: 28px; background: url('./image/tips1.png') no-repeat center center / contain; } .playTips2 { width: 147px; height: 28px; background: url('./image/tips4.png') no-repeat center center / contain; } .playTips5 { width: 147px; height: 28px; background: url('./image/tips5.png') no-repeat center center / contain; } .playError { width: 94px; height: 28px; background: url('./image/tips3.png') no-repeat center center / contain; } .playSuccess { width: 94px; height: 28px; background: url('./image/tips2.png') no-repeat center center / contain; } } .note { position: relative; margin: 0 2.5Px; width: 46px; height: 46px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; padding: 6px; z-index: 2; img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .showAnswer { width: 20px; height: 20px; background: url('./image/icon_btn_green_sub.png') no-repeat center / contain; position: absolute; top: 2px; left: -2px; z-index: 99; &.errorAnswer { background: url('./image/icon_btn_red_sub.png') no-repeat center / contain; } } } .noteKey { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 1; font-size: 16px; font-family: 'jianzhu'; font-weight: normal; color: #616161; line-height: 1; height: 100%; &.keyActive { color: #FFF9EC; } .dot { width: 3px; height: 3px; border-radius: 50%; background-color: currentColor; } .dot+.dot { margin: 2px 0; } .noteName { position: relative; } // .noteFixed { // font-size: 12px; // color: #FFFFFF; // font-weight: 600; // padding-bottom: 5px; // transform: scale(0.8); // white-space: nowrap; // } .dotFixed { width: 5px; height: 5px; } .mark { position: absolute; left: -80%; font-size: 12px; } } .optionBtns { display: flex; align-items: center; justify-content: center; padding-bottom: 21px; .oBtn { width: 104px; height: 46px; border: none; font-weight: 600; font-size: 15px; color: #fff; cursor: pointer; margin: 0 3px; &.gamut { background: url('./image/icon_btn_3.png') no-repeat center / contain; } &.play { background: url('./image/icon_btn_2.png') no-repeat center / contain; } &.success { background: url('./image/icon_btn_4.png') no-repeat center / contain; } &.disabled { background: url('./image/icon_btn_1.png') no-repeat center / contain; color: #616161; cursor: not-allowed; } } } .fingeringContainer { position: relative; width: 100%; height: 100%; display: flex; justify-content: space-evenly; align-items: center; padding: 0 10px 8px 10px; } .loading { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; z-index: 100; background: rgba(0, 0, 0, .6); } .loadingWrap { position: relative; width: 295px; padding: 21px 17px; background: rgba(135, 135, 135, .72); border-radius: 24px; .loadingIcon { position: absolute; left: 50%; top: -35px; transform: translateX(-50%); width: 216px; } .loadingTip { position: absolute; left: 50%; transform: translateX(-50%); bottom: -35px; color: #fff; font-size: 13px; font-weight: 400px; } :global { .van-progress { height: 7px; } .van-progress__portion { background: linear-gradient(180deg, #3CD6F9 0%, #1CACF1 100%); border: 1px solid rgba(255, 255, 255, .5); } .van-progress__pivot { top: 0; color: transparent; background-color: transparent; width: 35px; height: 37px; background-image: url('./image/icon_loading_head.png'); background-repeat: no-repeat; background-size: 100% 100%; } } } .imgs { position: relative; width: 84%; height: 100%; pointer-events: none; &>img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block; max-width: 100%; max-height: 100%; } } .tizhi { position: absolute; top: 20%; left: 0; width: 30px; height: 30px; text-align: center; line-height: 30px; border-radius: 100%; background-color: #6F99CA; color: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .05); font-size: 12Px; opacity: 0; pointer-events: none; &:active { opacity: .8; } } .canDisplay { opacity: 1; pointer-events: auto; } .disabled { opacity: .5; pointer-events: none; } .fixedRightBtns { // position: fixed; // right: 12px; // top: 50%; // transform: translateY(-50%); position: fixed; left: 12px; top: 50%; right: auto; transform: translateY(-50%); .baseBtn { // width: 60px; // height: 45px; width: 45px; height: 45px; background: rgba(255, 255, 255, .27); border-radius: 10px; font-size: 12px; font-weight: 400; color: #616161; line-height: 17px; text-align: center; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: auto; img { width: 18px; height: 18px; } &:active { opacity: .8; } // &:active, &.active { // opacity: .8; background: linear-gradient(180deg, #F4EFED 0%, #D9CEC7 100%) !important; box-shadow: 0px 1px 2px 0px #9F9690, inset 0px -2px 0px 0px #CDC0B5, inset 0px 2px 1px 0px #FFFFFF; border-radius: 8px; } } .rightBtn { width: 45px; background: rgba(255, 255, 255, .27); border-radius: 8px; // overflow: hidden; .baseBtn { // margin: 0 4px; background: transparent; position: relative; margin-bottom: 5px; margin-top: 3px; &::after { content: ''; display: block; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); width: 20px; height: 1px; background-color: #616161; opacity: 0.2; } &:nth-last-child(2) { &::after { display: none; } } &:last-child { margin-bottom: 0; &::after { display: none; } } } } .resetBtn { visibility: hidden; } } .toggleBtn { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 34px; height: 60px; background: url('./image/icon_trans_bg.png') no-repeat; background-size: 100%; font-size: 14px; color: #616161; line-height: 14px; font-weight: 600; padding-left: 10px; text-align: center; cursor: pointer; z-index: 12; &:active { opacity: .8; } img { width: 9px; height: 5px; margin-top: 3px; } } .toggleBtnhulusi { min-height: 53px; height: auto; padding: 0 5px; font-weight: 600; // padding: 14px 0 15px 12px; // background-image: url('./image/icon_trans_bg_hu.png'); // background-size: 100% 100%; img { width: 9px !important; height: 5px !important; } .noteKey { display: inline-block; font-size: 12px; position: relative; .dot { display: inline-block; position: absolute; top: 0; } .noteName { padding-top: 4px; } } } .toggleBtnhulusi2 { min-height: 42px; height: auto; .oterhD { display: flex; flex-direction: column; justify-content: center; align-items: center; font-weight: 600; &>div { display: flex; } } img { margin-top: 4px; width: 9px !important; height: 5px !important; } } .tones { display: flex; flex-direction: column; height: 100%; position: relative; z-index: 12; transition: all .3s; overflow: hidden; // background-color: rgba(190, 166, 140, 1); background-size: 100% 100%; background-repeat: no-repeat; .toneTitle { position: relative; height: 45px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; :global { .van-button:active:before { opacity: 0 !important; } } } .tipTitleName { position: relative; font-weight: 500; font-size: 15px; z-index: 1; color: #fff; font-size: 16px; text-shadow: 0px 1px 2px #6D4825; &::before { content: ''; position: absolute; left: -40px; top: 50%; transform: translateY(-50%); width: 25px; height: 1px; background: #fff; z-index: -1; } &::after { content: ''; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 25px; height: 1px; background: #fff; z-index: -1; } } .tipClose { position: absolute; right: 0; top: 0; height: 100%; border: none; background: transparent; border-radius: 0; } .tipContentbox { position: relative; flex: 1; background: #FFFFFF; display: flex; flex-direction: column; overflow: hidden; &::before { content: ''; position: absolute; top: 0; left: 0; right: 0; padding-bottom: 45%; background: url('./image/icon_popup_top.png') no-repeat; background-size: 100%; opacity: .4; pointer-events: none; } } .tipWrap { flex: 1; overflow: hidden; } .tipContent { flex: 1; display: flex; flex-direction: column; border: 1.5px solid rgba(180, 165, 154, 1); color: rgba(68, 59, 59, 1); font-size: 12px; } .toneAction { border-top: 1px solid #EBEBEB; display: flex; justify-content: center; align-items: center; padding: 16px 0; img { width: 45%; max-width: 128px; margin: 0 6px; &:active { opacity: .85; } } } .toneContent { display: flex; flex-wrap: wrap; --van-button-primary-background: rgba(174, 137, 103, 1); --van-button-primary-border-color: rgba(174, 137, 103, 1); :global { .van-space-item { width: calc(100% / 4); padding: 6px 2px; } .van-button { position: relative; font-size: 13px; width: 100%; height: 0; padding: 0; padding-bottom: 40.5%; flex-shrink: 0; &::before { display: none; } .van-button__content { position: absolute; left: 0; top: 0; width: 100%; } &:active { opacity: .8; } } .van-button--primary { --van-button-plain-background: RGBA(255, 246, 231, 1); } } :global(.van-button--primary) { .dot { background: var(--van-button-primary-background) !important; } } .hulusiNoteKey { color: inherit; text-shadow: none; } } } :global(.van-popup--right.tonePopup) { width: 43%; height: 100%; border-radius: 18px 0px 0px 18px; background-color: transparent; .tones { padding: 8px; background-image: url('./image/icon_shuo_h.png'); &::before { content: ''; position: absolute; left: 8px; top: 8px; right: 8px; bottom: 8px; border-radius: 15px; border: 1px solid rgba(240, 234, 230, 1); pointer-events: none; } .tipContentbox { padding: 6px 8px 8px 8px; border-radius: 16px; } .tipContent { border-radius: 16px; padding: 4px 8px; } } .hulusiBtn { font-size: 10px; text-wrap: nowrap; } } :global(.van-popup--bottom.tonePopup) { display: flex; flex-direction: column; min-height: 238px; border-radius: 18px 18px 0 0; background-color: transparent; .tones { flex: 1; padding: 8px 8px 0 8px; background-image: url('./image/icon_shuo_v.png'); &::before { content: ''; position: absolute; left: 8px; top: 8px; right: 8px; bottom: 0; border-radius: 15px; border: 1px solid rgba(240, 234, 230, 1); pointer-events: none; } .tipContentbox { padding: 6px 8px 0 8px; border-radius: 16px 16px 0 0; } .tipContent { border-radius: 16px 16px 0 0; border-bottom: transparent; padding: 4px 8px; } } .toneContent { margin-top: auto; :global { .van-space-item { max-width: 100px; } } } } .changeSubjectPopup { width: 375px; height: 307px; background: url('./image/subject-bg1.png') no-repeat center; border-radius: 12px; background-size: contain; overflow: hidden; } .linkSourceClass { // .head { // display: none; // opacity: 0; // } .backBtn { display: none; opacity: 0; } .changeInstrumentBtn { margin: 26px 5px 26px 18px !important; } .noteContentOther { max-width: 75% !important } .fingerContent, .fixedRightBtns { padding-left: 0 !important; padding-top: 0 !important; } // .left { // // padding: 26px 5px 26px 18px; // padding-top: 26px; // padding-left: 18px; // } // .backBtn { // display: none; // } } .dragbomBox{ position: absolute; bottom: 0; left: 0; height: 36px; width: 100%; padding: 0 14px 0 15px; } .dragTopBox{ position: absolute; top: 0; left: 0; height: 40px; width: 100%; } :global{ .changeSubjectShowBoxClass_drag{ .changeSubjectContainer_pc{ height: 170px !important; } } }