UI样式第一次优化

This commit is contained in:
zlwu committed 2026-06-12 20:40:31 +08:00
1 parent 7f7979679f
commit e1d6de45a3
47 files changed
+316 -201

No files matched your search

+18 -12
View File
@@ -1,18 +1,24 @@
<!-- 布局容器 -->
<!-- 布局容器:上为顶栏,下为侧栏 + 内容区 -->
<template>
<div class="app-layout">
<aside id="app-sidebar">
<ArtSidebarMenu />
</aside>
<header id="app-header">
<ArtHeaderBar />
</header>
<main id="app-main">
<div id="app-header">
<ArtHeaderBar />
</div>
<div id="app-content">
<ArtPageContent />
</div>
</main>
<div id="app-body" class="app-body">
<aside id="app-sidebar">
<ArtSidebarMenu />
</aside>
<main id="app-content" class="app-content-panel">
<div id="app-worktab" class="app-content-worktab">
<ArtWorkTab />
</div>
<div id="app-content-scroll" class="app-content-scroll">
<ArtPageContent />
</div>
</main>
</div>
<div id="app-global">
<ArtGlobalComponent />
+42 -30
View File
@@ -1,39 +1,55 @@
.app-layout {
display: flex;
flex-direction: column;
width: 100%;
height: 100vh;
min-height: 100vh;
overflow: hidden;
background: var(--mint-bg-page);
#app-sidebar {
#app-header {
position: relative;
z-index: 50;
flex-shrink: 0;
width: 100%;
border-bottom: 1px solid var(--mint-border);
}
#app-main {
.app-body {
display: flex;
flex: 1;
flex-direction: column;
min-width: 0;
height: 100vh;
min-height: 0;
overflow: hidden;
#app-header {
position: sticky;
top: 0;
z-index: 50;
#app-sidebar {
flex-shrink: 0;
width: 100%;
height: 100%;
}
#app-content {
display: flex;
flex: 1;
flex-direction: column;
min-width: 0;
min-height: 0;
overflow: auto;
overflow: hidden;
.app-content-worktab {
flex-shrink: 0;
padding-top: 8px;
}
.app-content-scroll {
flex: 1;
min-height: 0;
overflow: auto;
}
:deep(.layout-content) {
box-sizing: border-box;
width: 100%;
margin: 0;
padding: var(--mint-content-padding);
padding: 12px var(--mint-content-padding) var(--mint-content-padding);
// 子页面默认 style
.page-content {
@@ -53,9 +69,7 @@
@media only screen and (width <= 1180px) {
.app-layout {
#app-main {
height: 100dvh;
}
height: 100dvh;
}
}
@@ -63,23 +77,21 @@
.app-layout {
position: relative;
#app-sidebar {
position: fixed;
top: 0;
left: 0;
z-index: 300;
height: 100vh;
}
#app-main {
width: 100%;
height: auto;
overflow: visible;
.app-body {
#app-sidebar {
position: fixed;
top: 0;
left: 0;
z-index: 300;
height: 100vh;
}
#app-content {
width: 100%;
:deep(.layout-content) {
width: 100%;
padding: 16px;
padding: 10px 16px 16px;
}
}
}
@@ -88,11 +100,11 @@
@media only screen and (width <= 640px) {
.app-layout {
#app-main {
.app-body {
#app-content {
:deep(.layout-content) {
width: 100%;
padding: 12px;
padding: 8px 12px 12px;
}
}
}
+2 -2
View File
@@ -3845,14 +3845,14 @@
html.sqxp-order-bridge-mode,
body.sqxp-order-bridge-mode,
.sqxp-order-bridge-mode #app,
.sqxp-order-bridge-mode #app-main,
.sqxp-order-bridge-mode #app-body,
.sqxp-order-bridge-mode #app-content,
.sqxp-order-bridge-mode .app-layout,
.sqxp-order-bridge-mode .layout-content {
background: transparent !important;
}
.sqxp-order-bridge-mode #app-main,
.sqxp-order-bridge-mode #app-body,
.sqxp-order-bridge-mode #app-content {
margin: 0 !important;
padding: 0 !important;