提交
This commit is contained in:
1 parent
33c038b8d9
commit
54b27a3f0e
253 files changed
+30060
-14298
No files matched your search
@@ -6,6 +6,10 @@
|
||||
</div>
|
||||
|
||||
<div id="app-portal-body">
|
||||
<aside id="app-sidebar">
|
||||
<ArtSidebarMenu />
|
||||
</aside>
|
||||
|
||||
<main id="app-workspace">
|
||||
<div id="app-content">
|
||||
<ArtPageContent />
|
||||
@@ -57,7 +61,6 @@
|
||||
if (menuType.value !== MenuTypeEnum.PORTAL) {
|
||||
settingStore.switchMenuLayouts(MenuTypeEnum.PORTAL)
|
||||
}
|
||||
settingStore.setMenuOpen(true)
|
||||
// 门户布局强制严格单页(忽略 localStorage 中历史 showWorkTab=true)
|
||||
settingStore.setWorkTab(false)
|
||||
worktabStore.enforceSinglePageTabs()
|
||||
|
||||
@@ -14,17 +14,21 @@
|
||||
#app-portal-body {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
flex-direction: row;
|
||||
min-height: 0;
|
||||
height: calc(100vh - 56px);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#app-sidebar {
|
||||
flex-shrink: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#app-workspace {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
@@ -46,7 +50,7 @@
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: var(--mint-content-padding);
|
||||
padding: 0 10px;
|
||||
|
||||
.page-content {
|
||||
position: relative;
|
||||
@@ -59,6 +63,24 @@
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 页面主标题已移至门户顶栏居中展示 */
|
||||
:deep(
|
||||
.page-container .panel-top:not(.panel-top-with-actions):not(.user-dept-aside__head):not(
|
||||
.storage-aside__head
|
||||
):not(.storage-content-header),
|
||||
.console-container .panel-top
|
||||
) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:deep(.panel-top.panel-top-with-actions .title-bar-heading) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:deep(.panel-top.panel-top-with-actions:not(:has(.panel-top-main))) {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,10 +94,26 @@
|
||||
|
||||
@media only screen and (width <= 800px) {
|
||||
.app-layout-portal {
|
||||
#app-portal-body {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#app-sidebar {
|
||||
position: fixed;
|
||||
top: 56px;
|
||||
left: 0;
|
||||
z-index: 300;
|
||||
height: calc(100vh - 56px);
|
||||
}
|
||||
|
||||
#app-workspace {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#app-content {
|
||||
:deep(.layout-content) {
|
||||
width: 100%;
|
||||
padding: 16px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -86,7 +124,7 @@
|
||||
#app-content {
|
||||
:deep(.layout-content) {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user