ow
This commit is contained in:
1 parent
4adae1bd7d
commit
adcf94df4a
17 files changed
+274
-97
No files matched your search
@@ -130,27 +130,3 @@ const loadVideos = async () => {
|
||||
}
|
||||
</style>
|
||||
|
||||
<style>
|
||||
/* 注意:这里是全局样式,但所有选择器都要求 body 上有 .pv-fullscreen
|
||||
(只在影视厅收起控制区时由 PreviewVideo.vue 临时挂上,离开页面即移除),
|
||||
所以不会影响其它页面。
|
||||
|
||||
收起控制区 = 页面全屏:
|
||||
1. 藏掉 layout 顶部两条栏(标题栏 64px + 页面头 42px);
|
||||
2. 内容区和视频容器撑到整屏,去掉原有的 8px 内边距,做到真正的全屏铺满。
|
||||
容器高度是行内样式(bsInfo.height - 100/-120),只能用 !important 覆盖。 */
|
||||
body.pv-fullscreen .layout-header,
|
||||
body.pv-fullscreen .layout-page-header {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
body.pv-fullscreen .layout-content-view {
|
||||
height: 100vh !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
body.pv-fullscreen .pv-page {
|
||||
height: 100vh !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user