.coursewarePlay { position: relative; height: 100vh; background-color: rgba(89, 98, 126, 0.2); } .headerContainer { position: fixed; top: 0; left: 0; right: 0; z-index: 1; padding: 10Px 10Px 0 40Px; display: flex; align-items: center; } .backBtn { color: #fff; width: 40px; height: 26px; display: flex; justify-content: space-between; align-items: center; z-index: 10; } .menu { flex: 1; display: flex; justify-content: center; margin-left: 10Px; .menuLine { position: absolute; left: 0; top: 0; height: 100%; z-index: -1; background: #ff8057; transition: width 0.3s; } :global { .van-tabs__content, .van-tabs__line { display: none; } .van-tabs__wrap { height: 26px; } .van-tabs__nav { padding: 0; background: rgba(255, 128, 87, 0.5); .van-tab { color: #fff; font-size: 14px; } .van-tab:not(:first-child) { // border-left: 1px solid #fff; } .van-tab.van-tab--active { background: var(--van-primary); } } } } .tabsContent { width: 100vw; height: 100vh; :global { .van-tabs__wrap { display: none !important; } .van-tabs__content { width: 100%; height: 100%; } } } .videoItem { width: 100%; height: 100%; --plyr-color-main: var(--van-primary); video { width: 100%; height: 100%; } :global { .plyr { height: 100%; } } } .imgItem { width: 100%; height: 100%; img { display: block; width: 100%; height: 100%; object-fit: contain; } } .songItem { width: 100%; height: 100%; } .fullBtn { position: fixed; top: 50%; right: 40px; width: 38px; height: 55px; transform: translateY(-50%); background: rgba(51, 51, 51, 0.15); border-radius: 8px; display: flex; flex-direction: column; align-items: center; color: #fff; justify-content: space-evenly; &:active { opacity: 0.8; } } .popup { background: transparent; } .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%); } }