diff --git a/pages/component/commonComponents/video/index.vue b/pages/component/commonComponents/video/index.vue index f551d17..aa86a54 100644 --- a/pages/component/commonComponents/video/index.vue +++ b/pages/component/commonComponents/video/index.vue @@ -1,6 +1,6 @@ - - - - - - 直接调用renderjs中的emitData的方法,传递当前播放时长 - - - 监听结束方法,记录播放时长 - + + + + 直接调用renderjs中的emitData的方法,传递当前播放时长 + + + 监听结束方法,记录播放时长 + - - - - - - - - - - - 返回 - - - + + + + + + + + + + 返回 + + + - - - + + + + .fullScreenButton-container { + color: #fff; + float: right; + height: 35px; + margin-top: 6px; + margin-right: 5px; + display: flex; + align-items: center; + position: relative; + + i { + color: #fff; + display: inline-block; + font-size: 22px; + display: block; + margin-top: 7px; + cursor: pointer; + + &+i { + margin-left: 3px; + } + + @media (min-width: 768px) { + &:hover+.player-tooltip { + display: block; + } + } + } + + .player-tooltip { + &.prev { + left: -10px; + } + + &.list { + left: 5px; + } + + &.next { + right: -12px; + } + } + } + + + .playlist-content { + position: absolute; + right: 0; + width: 0px; + padding-bottom: 48px; + box-sizing: border-box; + height: 100%; + transition: all 0.38s ease-in-out; + overflow: hidden; + + .list { + background-color: #000; + background-color: rgba(0, 0, 0, 0.3); + height: 100%; + overflow: auto; + + .video-item { + color: #fff; + padding: 0px 10px; + line-height: 35px; + font-size: 14px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + cursor: pointer; + + &.active { + background-color: #000; + color: #00ddff; + } + + @media (min-width: 768px) { + &:hover { + background-color: #000; + color: #00ddff; + } + } + } + } + } + + .player-tooltip { + position: absolute; + display: none; + font-size: 12px; + color: #fff; + line-height: 28px; + letter-spacing: 0; + text-align: center; + background: #3c3c3c; + box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1); + height: 28px; + top: -48px; + padding: 0 5px; + white-space: nowrap; + } + + .playlist-skip-tip { + padding: 5px 15px; + position: absolute; + top: 50%; + left: 50%; + z-index: 30; + line-height: 30px; + font-size: 14px; + border-radius: 4px; + background: rgba(255, 255, 255, 0.8); + color: #000; + text-align: center; + transform: translate(-50%, -50%); + } + + #rotating-div { + width: 100vw; + height: 100vh; + background-color: #3498db; + transform: rotate(90deg); + /* 旋转90度 */ + transform-origin: center center; + /* 设置旋转中心点在div中心 */ + position: fixed; + /* 固定定位,全屏显示 */ + left: 0; + top: 0; + bottom: 0; + right: 0; + } + \ No newline at end of file