.playContent { width: 100vw; height: 100vh; background-color: #000; overflow: hidden; --plyr-color-main: var(--van-primary); --plyr-range-track-height: 3px; } .coursewarePlay { position: relative; height: 100vh; margin: 0 auto; overflow: hidden; } .playModel { position: absolute; left: 0; top: 0; right: 0; bottom: 0; box-shadow: inset 0px 0px 164px 0px rgba(0, 0, 0, 1); pointer-events: none; } .headerContainer { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 40px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent); transition: transform 0.5s; box-sizing: border-box; pointer-events: none; div { box-sizing: border-box; } } .backBtn { color: #fff; height: 100%; display: flex; justify-content: space-between; align-items: center; z-index: 10; padding: 0 15px; pointer-events: auto; :global { .van-icon { margin-right: 8px; } } } .headRight { position: relative; z-index: 10; display: flex; align-items: center; margin-left: auto; height: 100%; padding-right: 15px; .rightBtn { display: flex; justify-content: center; align-items: center; height: 100%; padding: 0 10px; img { width: 22px; height: 22px; display: block; } } } .menu { position: absolute; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; font-size: 12px; color: #fff; } .tabsContent { width: 100vw; height: 100vh; :global { .van-tabs__wrap { display: none !important; } .van-tabs__content { width: 100%; height: 100%; } } } .wraps { width: 100%; height: 100%; // transform-style: preserve-3d; perspective: (32rem); transition-timing-function: initial; } .itemDiv { position: absolute; left: 0; top: 0; width: calc(100% + 4Px); height: 100%; background-color: #000; transform-style: preserve-3d; transition-property: transform, opacity, height; backface-visibility: hidden; overflow: hidden; z-index: 1; .memberLock { position: absolute; // inset: 0; left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.5) 53%, rgba(0, 0, 0, 0.05) 100%); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; flex-direction: column; z-index: 99; .memberLockBg { width: 303px; height: 91px; margin-bottom: 14px; } .selectIcon { width: 137px; height: 36px; } } .tempoPracticeGroup { width: 100%; } &.itemActive { z-index: 10; } &.acitveAnimation { transition-duration: .8s; } &.show { display: block; } &.hide { display: none; } video { width: 100%; height: 100%; } img { display: block; width: 100%; height: 100%; object-fit: contain; } } .rightFixedBtns { position: absolute; top: 50%; transform: translateY(-55%); right: 12px; z-index: 10; } .fullBtn { width: 38px; height: 46px; display: flex; flex-direction: column; align-items: center; color: #fff; justify-content: space-evenly; overflow: hidden; white-space: nowrap; background: rgba(51, 51, 51, 0.4); border-radius: 6px; overflow: hidden; &:not(:last-child):not(:first-child) { margin: 8px 0; } &:active { opacity: .8; } &.btnsDisabled { opacity: .3; pointer-events: none; } } .popup { background: rgba(0, 0, 0, 0.5); box-shadow: -5px 0 10px 0 rgba(0, 0, 0, 0.1); } .overlayClass { --van-overlay-background: transparent; } :global { .top-enter-active, .top-leave-active { transition: transform 0.5s; } .top-enter-from, .top-leave-to { transform: translateY(-100%); } .right-enter-active, .right-leave-active { transition: all 0.5s; } .right-enter-from, .right-leave-to { right: -60px; opacity: 0; } .bottom-enter-active, .bottom-leave-active { transition: transform 0.5s; } .bottom-enter-from, .bottom-leave-to { transform: translateY(100%); } } .loadWrap { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(45deg, #21232a, #111218); display: flex; justify-content: center; align-items: center; }