.coursewarePlay { position: relative; height: 100vh; background-color: rgba(89, 98, 126, 0.2); } .playModel{ position: absolute; left: 0; top: 0; right: 0; bottom: 0; box-shadow: inset 0px 0px 164px 0px rgba(0,0,0,1); } .headerContainer { position: fixed; top: 0; left: 0; right: 0; z-index: 1; padding: 10px; display: flex; align-items: center; } .backBtn { position: absolute; 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; font-size: 12px; color: #fff; } .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%; } .rightFixedBtns { position: fixed; top: 50%; transform: translateY(-50%); right: 20px; .point { margin-top: 10px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .point + .fullBtn { border-top-left-radius: 0; border-top-right-radius: 0; } } .leftFixedBtns{ position: fixed; top: 50%; transform: translateY(-50%); left: 20px; .prePoint{ margin-bottom: 8px; } } .fullBtn { width: 38px; height: 55px; 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; } } .bottomFixedContainer{ position: fixed; left: 0; right: 0; bottom: 0; .time{ display: flex; justify-content: space-between; color: #fff; font-size: 10px; padding: 4px 10px; } .actions{ display: flex; justify-content: space-between; color: #fff; font-size: 12px; padding: 4px 10px 18px 10px; :global{ .van-icon{ font-size: 20px; margin-right: 14px; } } } } .popup { background: rgba(0, 0, 0, 0.5); } .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%); } .left-enter-active, .left-leave-active { transition: all 0.5s; } .left-enter-from, .left-leave-to { left: -60px; } .right-enter-active, .right-leave-active { transition: all 0.5s; } .right-enter-from, .right-leave-to { right: -60px; } .bottom-enter-active, .bottom-leave-active { transition: transform 0.5s; } .bottom-enter-from, .bottom-leave-to { transform: translateY(100%); } }