feat: 构建品牌视图与三栏页面编辑工作台

This commit is contained in:
que01 committed 2026-10-10 10:38:47 +08:00
1 parent a2932b1134
commit 860d9266fe
7 files changed
+128 -20

No files matched your search

@@ -1,7 +1,6 @@
.presentation-editor {
margin-top: 40px;
padding-top: 28px;
border-top: 1px solid #e8e8e8;
margin-top: 0;
padding-top: 8px;
}
.presentation-editor__header {
@@ -42,6 +41,9 @@
}
.presentation-editor__workspace {
display: grid;
grid-template-columns: 200px minmax(300px, 1fr) minmax(280px, 360px);
grid-template-areas: "outline preview inspector";
margin: 0 !important;
border: 1px solid #e5e7eb;
border-radius: 12px;
@@ -50,17 +52,49 @@
}
.presentation-editor__preview {
grid-area: preview;
padding: 20px !important;
background: #f8fafc;
min-width: 0;
}
.presentation-editor__inspector {
grid-area: inspector;
padding: 24px !important;
min-width: 0;
border-left: 1px solid #e5e7eb;
}
.presentation-editor__outline {
grid-area: outline;
padding: 20px 12px;
border-right: 1px solid #e5e7eb;
}
.presentation-editor__regions {
display: flex;
flex-direction: column;
width: 100%;
}
.presentation-editor__regions .ant-space-item {
width: 100%;
}
.presentation-editor__regions .ant-btn {
width: 100%;
text-align: left;
border: 0;
box-shadow: none;
padding: 10px 12px;
}
.presentation-editor__regions .is-child-region {
padding-left: 24px;
}
.presentation-editor__regions .ant-btn[aria-pressed="true"] {
background: #e6f4ff;
color: #0958d9;
font-weight: 600;
}
.presentation-editor__preview .template-preview {
height: 680px;
min-height: 0;
@@ -83,7 +117,15 @@
margin-bottom: 24px;
}
@media (max-width: 991px) {
@media (max-width: 1199px) {
.presentation-editor__workspace {
grid-template-columns: minmax(0, 1fr);
grid-template-areas: "outline" "preview" "inspector";
}
.presentation-editor__outline {
border-right: 0;
border-bottom: 1px solid #e5e7eb;
}
.presentation-editor__inspector {
border-left: 0;
border-top: 1px solid #e5e7eb;