.playContent { position: relative; width: 100vw; height: 100vh; background-color: #000; overflow: hidden; --plyr-color-main: var(--van-primary); --plyr-range-track-height: 3px; } .assignHomeworkClose { position: absolute; top: 40px; left: 40px; width: 60px; height: 65px; cursor: pointer; transition: all 0.5s; img { width: 100%; height: 100%; } } .assignHomework { position: absolute; top: 40px; left: 40px; width: 187px; height: 65px; cursor: pointer; transition: all 0.5s; &.isClose { left: 124px; } img { width: 100%; height: 100%; } } .sectionAnimateUp { opacity: 0; pointer-events: none; transform: translateY(-100%); transition: all 0.5s; } .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: 50px; // background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent); background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%); transition: transform 0.5s; box-sizing: border-box; font-size: 24px; 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; :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: 17px; font-weight: bold; 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: 100%; height: 100%; background-color: #000; transform-style: preserve-3d; transition-property: transform, opacity, height; backface-visibility: hidden; overflow: hidden; z-index: 1; &.itemActive { z-index: 10; } &.acitveAnimation { transition-duration: 0.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(-50%); right: 16px; z-index: 10; } .fullBtn { width: 60px; height: 60px; overflow: hidden; &.point { margin: 20px 0; } img { width: 100%; height: 100%; } &:active { opacity: 0.8; } &.btnsDisabled { opacity: 0; pointer-events: none; } } :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; } .drawerContainer { width: 360px !important; :global { .n-drawer-body-content-wrapper { padding: 8px 0px 0px !important; text-align: center; &>div { margin-bottom: 24px; } } .n-drawer-header { position: relative; justify-content: center !important; padding-top: 24px !important; padding-bottom: 20px !important; border-bottom: 0 !important; .n-drawer-header__main { position: relative; z-index: 2; font-size: 18px; font-weight: 600; color: #131415; &::after { position: absolute; bottom: -4px; left: 0; z-index: -1; content: ' '; width: 100%; display: inline-block; height: 10px; background: linear-gradient(90deg, #77bbff 0%, rgba(163, 231, 255, 0.22) 100%); } } .n-drawer-header__close { position: absolute; right: 26px; } } } } .sectionAnimate { opacity: 0; pointer-events: none; transform: translateY(100%); transition: all 0.5s; } .switchDisplaySection { position: absolute; right: 30px; bottom: 30px; z-index: 199; transition: all 0.5s; display: flex; .displayBtn { width: 90px; height: 90px; cursor: pointer; img { width: inherit; height: inherit; } &+.displayBtn { margin-left: 20px; } } } .attendClassModal { width: 442px; border-radius: 16px; overflow: hidden; :global { .n-card-header { position: relative; padding: 20px 18px; text-align: center; font-size: 22px; font-weight: 600; color: #131415; line-height: 30px; } .n-card-header__close { position: absolute; right: 18px; } .n-card__content { padding: 0; } .n-base-select-menu .n-base-select-option { font-size: 18px !important; } } .modelAttendContent { font-size: max(18px, 16px); color: #777777; line-height: 30px; text-align: center; } .modelAttendBtnGroup { padding: 40px 0; justify-content: center !important; :global { .n-button { height: 48px !important; min-width: 156px; } } } } .trainClassModal { width: 1028px; :global { .n-card-header { background: #f5f6fa; } } } .workContainer { padding: 20px 40px 40px; h2 { font-size: 26px; text-align: center; } } .toolboxImg { width: 83px; height: 83px; position: absolute; right: 16px; bottom: 164px; cursor: pointer; z-index: 1000; } .isDragIng { width: 83px; height: 83px; } .toolClassImg { width: 83px; height: 83px; position: absolute; right: 32px; bottom: 160px; cursor: pointer; z-index: 1000; } :global { .moveable-control-box { --moveable-color: transparent !important; } .n-popover { background-color: transparent; } } .booxToolWrap { // width: 286px; height: 95px; background: #ffffff; box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1); border-radius: 20px; display: flex; flex-direction: row; align-items: center; padding: 9px 20px 9px; justify-content: space-between; overflow: hidden; .booxToolItem { margin: 0 10px; display: flex; flex-direction: column; align-items: center; font-size: 12px; cursor: pointer; &:hover { opacity: 0.8; } img { width: 56px; height: 56px; margin-bottom: 4px; } } } .setTimeImage { cursor: pointer; img { width: 792px; } } .beatImage { cursor: pointer; img { width: 698px; } } .changePwdModal { border-radius: 16px; } .imChatModal { border-radius: 20px; } .modeWrap { overflow: hidden; border-radius: 16px; background-color: #fff; } .showModalTone { width: 500px; .studentRemove { padding: 32px 40px 46px; p { font-size: 18px; color: #777777; line-height: 30px; text-align: center; span { color: #EA4132; } } } } .removeVisiable { width: 432px; :global { .n-card-header { font-size: max(22px, 16Px); } } .studentRemove { padding: 20px 40px 0; p { font-size: max(18px, 14Px); color: #777777; line-height: 30px; text-align: center; span { color: #EA4132; } } } .btnGroupModal { padding: 32px 0; :global { .n-button { height: 47px; min-width: 156px; } } } }