diff --git a/src/components/Screenfull/index.vue b/src/components/Screenfull/index.vue index 252ff8a..9259a2f 100644 --- a/src/components/Screenfull/index.vue +++ b/src/components/Screenfull/index.vue @@ -1,51 +1,84 @@ diff --git a/src/layout/components/TagsView/ScrollPane.vue b/src/layout/components/TagsView/ScrollPane.vue index 398acfa..9f7c8f4 100644 --- a/src/layout/components/TagsView/ScrollPane.vue +++ b/src/layout/components/TagsView/ScrollPane.vue @@ -118,7 +118,7 @@ watch( - + diff --git a/src/styles/variables.css b/src/styles/variables.css index 3e8da36..6c26a3f 100644 --- a/src/styles/variables.css +++ b/src/styles/variables.css @@ -1,5 +1,4 @@ /** 全局 CSS 变量,这种变量不仅可以在 CSS 和 SCSS 中使用,还可以导入到 JS 中使用 */ - :root { /** 全局背景色 */ --v3-body-bg-color: #f2f3f5; @@ -33,3 +32,14 @@ /** RightPanel 组件 */ --v3-rightpanel-button-bg-color: #001428; } + +/** 内容区放大时,将不需要的组件隐藏 */ +body.content-large { + /** Header 区域 = TagsView 组件 */ + --v3-header-height: var(--v3-tagsview-height); + /** NavigationBar 组件 */ + --v3-navigationbar-height: 0px; + /** Sidebar 组件 */ + --v3-sidebar-width: 0px; + --v3-sidebar-hide-width: 0px; +}