123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- .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);
- pointer-events: none;
- }
- .headerContainer {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 1;
- padding: 10px;
- display: flex;
- align-items: center;
- color: #fff;
- font-size: 12px;
- background: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent);
- }
- .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;
- color: #fff;
- }
- .tabsContent {
- width: 100vw;
- height: 100vh;
- :global {
- .van-tabs__wrap {
- display: none !important;
- }
- .van-tabs__content {
- width: 100%;
- height: 100%;
- }
- }
- }
- .itemDiv {
- position: relative;
- width: 100%;
- height: 100%;
- video {
- width: 100%;
- height: 100%;
- }
- img {
- display: block;
- width: 100%;
- height: 100%;
- object-fit: contain;
- }
- }
- .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: absolute;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 10;
- background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent);
- .time {
- display: flex;
- justify-content: space-between;
- color: #fff;
- font-size: 10px;
- padding: 4px 10px;
- }
- .slider {
- padding: 8px 10px;
- }
- .actions {
- display: flex;
- justify-content: space-between;
- color: #fff;
- font-size: 12px;
- padding: 8px 10px;
- align-items: center;
- :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%);
- }
- }
-
|