.headerTop { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; flex-shrink: 0; padding: 10px 22px; background-color: rgba(6, 34, 87, 0.8); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); position: relative; } .android { padding-top: 20px; } .back { display: flex; justify-content: center; align-items: center; padding-right: 10px; height: 100%; img { display: block; width: 28px; height: 28px; } } .disabled { //opacity: 0; pointer-events: none; } .left { display: flex; align-items: center; .leftContent { .lcName { font-size: 18px; font-weight: 600; color: #fff; height: 20px; line-height: 20px; margin-bottom: 2px; padding: 0 !important; :global { .van-notice-bar { height: 20px; line-height: 20px; padding: 0 !important; } .van-notice-bar__content { color: #fff; } } } .lcScore { font-size: 12px; color: #fff; line-height: 18px; font-weight: normal; } } } .center { display: flex; align-items: center; margin: 0 auto; .cItem { text-align: center; padding: 0 12px; white-space: nowrap; &>div:first-child { font-size: 12px; color: #333333; line-height: 14px; margin-bottom: 6px; font-weight: bold; } &>div:last-child { font-size: 12px; color: #777777; line-height: 12px; padding: 4px 8px; border-radius: 14px; } } .cItem:not(:last-child) { border-right: 1px solid #EBDABF; } .active { &>div:first-child { color: var(--van-primary-color) !important; } &>div:last-child { background-color: #ECF9FF; color: var(--van-primary-color); } } } .middle { display: flex; align-items: center; justify-content: center; width: 60%; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); .cItem { width: 64px; height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 4px 0; margin: 0 6px; cursor: pointer; .mScore { font-size: 16px; line-height: 22px; color: #AAAAAA; } .mLabel { font-size: 12px; line-height: 18px; color: #AAAAAA; } } .active { background: linear-gradient(270deg, rgba(27, 210, 255, 0.36) 0%, rgba(26, 173, 255, 0.36) 100%); border-radius: 8px; .mScore, .mLabel { color: #fff; font-weight: normal; } } } .right { display: flex; align-items: center; .btn { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 10px; line-height: 14px; font-weight: 400; padding: 0 5px; color: #fff; cursor: pointer; &+.btn { margin-left: 10px; } .iconBtn { display: block; width: 33px; height: 33px; } span { margin-top: 2px; white-space: nowrap; transform: scale(0.9); } .btnWrap { position: relative; width: 25px; height: 25px; } } } .popup { --plyr-color-main: var(--van-primary-color); :global { .van-popup__close-icon { width: 32px; height: 32px; top: -3px; right: -48px; background: url("./image/closeImg.png") no-repeat; background-size: 100% 100%; &::before { display: none; } } } } .playerBox { width: 537px; height: 314px; background: #FFF8F8; box-shadow: inset 4px -3px 6px 0px #B2E8FF; border-radius: 20px; padding: 14px; :global { .plyr { border-radius: 16px; width: 100%; height: 100%; box-shadow: 4px -3px 6px 0px #B2E8FF; .plyr__control.plyr__control--overlaid { width: 48px; height: 48px; background: url("./image/midPlay.png") no-repeat; background-size: 100% 100%; .plyr__sr-only, svg { display: none; } } .plyr__controls { background: initial; padding: 0 20px 13px; opacity: 1 !important; transform: translateY(0) !important; pointer-events: initial !important; .plyr__controls__item.plyr__control { padding: 0; width: 18px; height: 18px; &:hover { background: initial; } .icon--pressed { width: 100%; height: 100%; background: url("./image//pause.png") no-repeat; background-size: 100% 100%; use { display: none; } } .icon--not-pressed { width: 100%; height: 100%; background: url("./image/play.png") no-repeat; background-size: 100% 100%; use { display: none; } } } .plyr__controls__item.plyr__progress__container { margin-left: 9px; input[type=range] { color: #73C1FF; height: 20px; } input[type="range"]::-webkit-slider-runnable-track { height: 4px; } input[type="range"]::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -4px; box-shadow: initial; } .plyr__progress__buffer { height: 4px; color: rgba(115, 193, 255, 0.8); background-color: #fff; margin-top: -2px; } } .plyr__controls__item.plyr__time { font-weight: 500; font-size: 14px; color: #FFFFFF; &.plyr__time--current { margin-left: 9px; } } } } } .videoBox { width: 100%; height: 100%; } .audioBox { width: 100%; height: 100%; background: url("./image/audioBg.png") no-repeat; background-size: 100% 100%; position: relative; border-radius: 16px; box-shadow: 4px -3px 6px 0px #B2E8FF; overflow: hidden; .audioBga { width: 100%; height: 88%; } .audioBga1 { position: absolute; left: 0; top: 8px; width: 146px; } .audioBga2 { width: 268px; position: absolute; right: -24px; top: -8px; } :global { .plyr { position: absolute; height: initial; left: 0; bottom: 0; box-shadow: initial; } } .audioVisualizer { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 370px; height: 66px; } } } .demos { position: fixed; top: calc(var(--header-height) + 8px); right: 20px; display: flex; justify-content: flex-end; align-items: center; padding: 0 16px; height: 30px; border-radius: 18px; background-color: rgba(0, 38, 99, 1); z-index: 1; box-sizing: content-box; &>div { display: flex; align-items: center; margin-right: 16px; &:last-child { margin-right: 0; } &>span { margin-left: 4px; color: #fff; } &>i { width: 12px; height: 12px; margin-right: 2px; border-radius: 3px; display: inline-block; } } } .shiyiClose { width: 30px; height: 30px; position: absolute; right: -38px; top: -26px; cursor: pointer; } .shiyiPopup { background: #B0D8FF; border-radius: 20px; width: 80vw; max-width: 460px; padding: 10px; position: relative; &::before { content: ""; position: absolute; left: 10px; top: 10px; width: calc(100% - 20px); height: calc(100% - 20px); background: #D5E8FF; border-radius: 14px; } .shiyiTop { position: absolute; width: 154px; left: 50%; top: -5px; transform: translateX(-50%); } } .shiyiTitle { font-size: 16px; color: #333; font-weight: 400; text-align: center; } .items { display: flex; flex-wrap: wrap; margin-top: 16px; position: relative; .item { width: 50%; display: flex; align-items: center; padding: 12px 0 12px 18px; span { margin-left: 12px; font-size: 12px; font-weight: 400; } svg { visibility: visible; } &:nth-child(2n) { transform: translateX(20px); } } .itemTone { width: 50%; display: flex; align-items: center; padding: 16px 0 16px 26px; position: relative; &:nth-child(2n) { transform: translateX(20px); } span { font-size: 12px; font-weight: 400; } &>i { width: 12px; height: 12px; margin-right: 12px; border-radius: 3px; display: inline-block; } } }