| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- .videoWrap {
- position: relative;
- width: 100%;
- height: 100%;
- }
- .content {
- height: 100%;
- padding: 8% 20px;
- }
- .contentWrap {
- height: 100%;
- canvas {
- width: 100%;
- height: 100%;
- }
- }
- .controls {
- position: absolute;
- left: 0;
- bottom: 0;
- right: 0;
- height: 80px;
- background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent);
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- transition: all 0.5s;
- &.hide {
- transform: translateY(100%);
- }
- .time {
- display: flex;
- justify-content: space-between;
- width: 100%;
- color: #fff;
- font-size: 10px;
- padding: 4px 20px;
- }
- .slider {
- width: 100%;
- padding: 0 20px;
- --van-slider-button-width: 13px !important;
- --van-slider-button-height: 13px !important;
- :global {
- .n-slider {
- --n-handle-size: 13px !important;
- --n-fill-color: var(--van-primary-color) !important;
- --n-fill-color-hover: var(--van-primary-color) !important;
- }
- .van-loading {
- width: 100%;
- height: 100%;
- }
- }
- }
- .actions {
- display: flex;
- width: 100%;
- color: #fff;
- font-size: 12px;
- padding: 0 20px;
- align-items: center;
- .actionWrap {
- display: flex;
- }
- .actionBtn {
- display: flex;
- width: 28px;
- height: 28px;
- padding: 4px 0;
- background: transparent;
- }
- .actionBtn>img {
- width: 100%;
- height: 100%;
- }
- :global {
- .van-loading__circular {
- width: 100%;
- height: 100%;
- }
- }
- .playIcon {
- display: none;
- }
- .btnPlay img:nth-child(2) {
- display: block;
- }
- .btnPause img:nth-child(3) {
- display: block;
- }
- .btnPlay,
- .btnPause {
- :global {
- .van-loading {
- display: none;
- }
- }
- }
- .loopBtn {
- :global {
- .loop {
- display: block;
- }
- .loopActive {
- display: none;
- }
- }
- }
- .loopBtn.active {
- :global {
- .loop {
- display: none;
- }
- .loopActive {
- display: block;
- }
- }
- }
- }
- }
|