.headerTop { display: flex; align-items: center; width: 100%; height: 100%; flex-shrink: 0; padding: 0 10px; background: var(--container-background); padding-bottom: 0; transform: translateY(-100%); animation: headerDown .3s .5s ease-in-out forwards; } @keyframes headerDown { 100% { transform: translateY(0%); } } .back { display: flex; align-items: center; height: 100%; padding: 0 11px 0 6px; img { display: block; width: 24px; height: 24px; } } .headRight { display: flex; align-items: flex-end; margin-left: auto; height: 100%; } .btn { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 10px; line-height: 14px; font-weight: 400; padding: 4px 6px; border-radius: 4px; color: #999; cursor: pointer; &:hover{ background-color: rgba(0, 0, 0, .1); } .iconBtn { display: block; width: 25px; height: 25px; } span { white-space: nowrap; margin-top: 2px; } .btnWrap { position: relative; width: 25px; height: 25px; } .progress { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 85%; height: 85%; } } .disabled { pointer-events: none; opacity: .6; } .badge { :global { .van-badge { border: none; color: #135D4F; background: linear-gradient(180deg, #FFF884 0%, #FFC850 100%); border: 1px solid #FFFFFF; font-weight: 400; box-shadow: 0 0 5px rgba(0, 0, 0, .1); } } } .playBtn { position: fixed; right: 32px; bottom: 32px; .btnWrap { width: 36px; height: 36px; .iconBtn { display: block; width: 100%; height: 100%; } } } .resetBtn { position: fixed; right: 88px; bottom: 32px; padding: 0; .iconBtn { display: block; width: 36px; height: 36px; } } :global { .var-popup { overflow: hidden; pointer-events: none; .var-popup__overlay, .var-popup__content { pointer-events: auto; } } }